diff options
| author | Doongar Singh <doonbsd@gmail.com> | 2026-11-02 20:58:53 +0000 |
|---|---|---|
| committer | Ruslan Bukin <br@FreeBSD.org> | 2026-11-02 21:05:46 +0000 |
| commit | ada1f577cc291336cbb69782075dbbf9fe746872 (patch) | |
| tree | dd0392564592a93fa32ee5756429759d569626a0 /usr.bin/tee/tests/(public-mirror) | |
| parent | ede77280787a10462cb9e26b4b4e38fd0825ef53 (diff) | |
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
