aboutsummaryrefslogtreecommitdiff
path: root/usr.bin/tee/tests/(public-mirror)
diff options
context:
space:
mode:
authorDoongar Singh <doonbsd@gmail.com>2026-11-02 20:58:53 +0000
committerRuslan Bukin <br@FreeBSD.org>2026-11-02 21:05:46 +0000
commitada1f577cc291336cbb69782075dbbf9fe746872 (patch)
treedd0392564592a93fa32ee5756429759d569626a0 /usr.bin/tee/tests/(public-mirror)
parentede77280787a10462cb9e26b4b4e38fd0825ef53 (diff)
bhyve/riscv: correctly handle empty masks and broadcast in SBI IPI/RFNCHEADmain
Bhyve treats an empty cpu set as an error which triggers MPASS panic in the guest. As per the SBI spec, empty masks should return SBI_SUCCESS, and a base of -1UL specifies a broadcast to all harts. Fix both in vmm_sbi.c, clear a1 on return, and skip the SBI ecall in sbi_ipi_pic_ipi_send() if the mask is empty. Also add a NULL check in riscv_send_ipi(). Signed-off-by: Doongar Singh <doonbsd@gmail.com> Reviewed by: br Differential Revision: https://reviews.freebsd.org/D61126
Diffstat (limited to 'usr.bin/tee/tests/(public-mirror)')
0 files changed, 0 insertions, 0 deletions