Hart isolation configuration failure (error -3) with OpenSBI 1.8 on QEMU 10.1.3 rva22s64/rva23s64 profiles

Anup Patel anup at brainfault.org
Thu Jan 8 05:33:02 PST 2026


Hi Thomas,

On Wed, Jan 7, 2026 at 3:02 PM Thomas Perrot <thomas.perrot at bootlin.com> wrote:
>
> Hello Xiang,
>
> On Wed, 2026-01-07 at 10:48 +0800, Xiang W wrote:
> > 在 2026-01-05一的 18:42 +0100,Thomas Perrot写道:
> > > Hello,
> > >
> > > Happy New Year!
> > >
> > > I'm facing a hart isolation configuration error when running
> > > OpenSBI
> > > 1.8 on QEMU 10.1.3 with the RISC-V application profiles rva22s64
> > > and
> > > rva23s64:
> > >
> > >     init_coldboot: hart isolation configure failed (error -3)
> > >
> > > No issue occurs when using the rv64 profile. The system continues
> > > to
> > > boot after the error, but I'd like to understand the root cause.
> > >
> > > I haven't tested OpenSBI 1.8 on real hardware yet - that's my next
> > > step.
> > >
> > > Is there a known QEMU issue? Is there a recommended workaround
> > > besides
> > > using rv64?
> > >
> > > Below is the complete trace:
> > >
> > > qemu-system-riscv64 -device virtio-net-
> > > device,netdev=net0,mac=52:54:00:12:35:02 -netdev
> > > user,id=net0,hostfwd=tcp:127.0.0.1:2222-
> > > :22,hostfwd=tcp:127.0.0.1:2323-
> > > :23,tftp=/src/build/tmp/deploy/images/qemuriscv64 -object rng-
> > > random,filename=/dev/urandom,id=rng0 -device virtio-rng-
> > > pci,rng=rng0 -
> > > drive id=disk0,file=/src/build/tmp/deploy/images/qemuriscv64/core-
> > > image-minimal-qemuriscv64.rootfs-
> > > 20260105173847.ext4,if=none,format=raw
> > > -device virtio-blk-device,drive=disk0 -device qemu-xhci -device
> > > usb-
> > > tablet -device usb-kbd  -machine virt -cpu rva23s64 -smp 4 -m 256 -
> > QEMU disables PMP by default; the following option needs to be added.
> >
> > -cpu rva23s64,pmp=true
> >
>
> Thank you. With the additional option, the issue no longer occurs.

I have done an incremental OpenSBI v1.8.1 release
to address this issue. With this incremental release,
you don't have to explicitly pass "pmp=true" to
rva22s64 and rva23s64 CPU types in QEMU.

Regards,
Anup



More information about the opensbi mailing list