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)
Jan 13 2024, 11:06 AM
Unknown Object (File)
Dec 20 2023, 5:26 AM
Unknown Object (File)
Nov 23 2023, 1:51 AM
Unknown Object (File)
Nov 19 2023, 5:52 AM
Unknown Object (File)
Nov 19 2023, 2:48 AM
Unknown Object (File)
Nov 19 2023, 2:42 AM
Unknown Object (File)
Nov 19 2023, 2:21 AM
Unknown Object (File)
Sep 16 2023, 8:37 PM
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

Repository
rS FreeBSD src repository - subversion
Lint
Lint Not Applicable
Unit
Tests Not Applicable

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 ↗(On Diff #78754)

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

sys/riscv/riscv/sbi.c
180 ↗(On Diff #78754)

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

This revision was automatically updated to reflect the committed changes.