]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
riscv: remove sbi_clear_ipi()
authormhorne <mhorne@FreeBSD.org>
Mon, 26 Oct 2020 19:06:30 +0000 (19:06 +0000)
committermhorne <mhorne@FreeBSD.org>
Mon, 26 Oct 2020 19:06:30 +0000 (19:06 +0000)
commitecf99ae8052405428f95066ce74ba1e15b689144
tree23d34f5e99b50ce1cbf43c007a9df03de7fac348
parentaa1f314eee359cee0cb75a4f0f3d04f9791dae54
riscv: remove sbi_clear_ipi()

S-mode software has write access to the SIP.SSIP bit, so instead of
making a second round-trip through the SBI we can clear it ourselves.
The SBI spec has deprecated this function for this exactly this reason.

Submitted by: Danjel Q. <danq1222@gmail.com
Reviewed by: kp
Differential Revision: https://reviews.freebsd.org/D26952
sys/riscv/include/sbi.h
sys/riscv/riscv/mp_machdep.c
sys/riscv/riscv/sbi.c