Page MenuHomeFreeBSD

riscv: remove sbi_clear_ipi()
ClosedPublic

Authored by mhorne on Oct 25 2020, 10:24 PM.
Tags
None
Referenced Files
Unknown Object (File)
Mon, Apr 6, 9:22 AM
Unknown Object (File)
Sat, Mar 28, 5:35 PM
Unknown Object (File)
Tue, Mar 24, 5:57 PM
Unknown Object (File)
Fri, Mar 20, 11:54 AM
Unknown Object (File)
Thu, Mar 19, 11:19 PM
Unknown Object (File)
Tue, Mar 17, 3:36 AM
Unknown Object (File)
Mon, Mar 16, 8:38 AM
Unknown Object (File)
Mon, Mar 16, 2:46 AM
Subscribers

Details

Summary

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. <dan1222@gmail.com>

Test Plan

Boot to multiuser in QEMU.

Diff Detail

Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 34391
Build 31498: arc lint + arc unit

Event Timeline

mhorne created this revision.
This revision is now accepted and ready to land.Oct 25 2020, 10:31 PM
sys/riscv/riscv/sbi.c
180

It strikes me that we should probably panic if these fail even for -NODEBUG kernels?

sys/riscv/riscv/sbi.c
180

Yes we should. I'll see about a patch for that.

This revision was automatically updated to reflect the committed changes.