]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
riscv: remove sbi_clear_ipi()
authorMitchell Horne <mhorne@FreeBSD.org>
Mon, 26 Oct 2020 19:06:30 +0000 (19:06 +0000)
committerMitchell Horne <mhorne@FreeBSD.org>
Mon, 26 Oct 2020 19:06:30 +0000 (19:06 +0000)
commit6b35ff5fcbe975b1c35d67a86821b28ac9812bbe
tree23d34f5e99b50ce1cbf43c007a9df03de7fac348
parentfe76bef462048f9beb3bffd448ae1adb01969594
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