Open Hardware & RISC-V

OpenBSD 8.0 adds RISC-V vector extension and AIA support, drops Loongson port

Key Takeaway

OpenBSD 8.0 advances its riscv64 port with kernel support for the RISC-V vector extension and Advanced Interrupt Architecture while retiring the Loongson port due to Clang 22 incompatibility.

Summary

OpenBSD 8.0, released October 20, 2026 as the project's 61st release, significantly expands capabilities for its riscv64 port beyond basic boot functionality. The kernel now supports the RISC-V vector extension and the Advanced Interrupt Architecture, enabling the operating system to leverage features present in newer RISC-V processors. Development work also progressed on supporting the SpacemiT K3 SoC, signaling intent to broaden hardware compatibility beyond the longstanding HiFive Unmatched reference platform.

The release also marks the end of the Loongson port, which was retired because it cannot build with Clang 22, the compiler now shipped with OpenBSD. In a related toolchain transition, SPARC64 moved to the LLVM/Clang compiler infrastructure during this development cycle. Notably, riscv64 remains excluded from the binary patch distribution mechanism via syspatch(8), which continues to serve only amd64, i386, and arm64 architectures.

RISC-V port advances and architecture changes in OpenBSD 8.0

  • RISC-V vector extension: The kernel now supports the RISC-V vector extension, though the release notes do not indicate that vector instructions are deployed in performance-critical kernel paths.
  • Advanced Interrupt Architecture: Kernel support for the RISC-V Advanced Interrupt Architecture was added, improving interrupt handling capabilities on newer RISC-V hardware.
  • SpacemiT K3 work: Development progressed on supporting the SpacemiT K3 SoC, expanding the riscv64 port's target hardware beyond the HiFive Unmatched reference platform.
  • Loongson port retirement: The Loongson port was removed because it fails to build with Clang 22, which became the system compiler in this release.
  • SPARC64 toolchain migration: SPARC64 completed its transition to the LLVM/Clang toolchain during the OpenBSD 8.0 development cycle.
  • Binary patch limitations: The syspatch(8) utility continues to provide binary security updates only for amd64, i386, and arm64; riscv64 users must update from source.

Why it matters

The maturation of OpenBSD's riscv64 port with vector and AIA support strengthens the open-source operating system landscape for RISC-V hardware, providing a security-focused alternative to Linux for embedded and server deployments. The retirement of the Loongson port illustrates the maintenance burden of supporting niche architectures against modern compiler requirements, while the SpacemiT K3 expansion suggests OpenBSD developers are tracking commercially relevant RISC-V silicon rather than remaining confined to early reference boards.

Original reference: blog.adafruit.com →