Page MenuHomeFreeBSD

Enable SError exceptions in the kernel
ClosedPublic

Authored by andrew on Aug 9 2021, 5:00 PM.
Tags
None
Referenced Files
Unknown Object (File)
Dec 20 2023, 5:26 AM
Unknown Object (File)
Dec 14 2023, 10:00 PM
Unknown Object (File)
Nov 15 2023, 6:54 PM
Unknown Object (File)
Nov 10 2023, 7:45 PM
Unknown Object (File)
Nov 5 2023, 4:16 PM
Unknown Object (File)
Nov 4 2023, 6:12 PM
Unknown Object (File)
Nov 4 2023, 3:12 AM
Unknown Object (File)
Oct 23 2023, 9:38 PM

Details

Summary

These are needed to signal to the kernel when a Reliability,
Availability, and Serviceability (RAS) exception has triggered.

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 40962
Build 37851: arc lint + arc unit

Event Timeline

andrew requested review of this revision.Aug 9 2021, 5:00 PM
sys/arm64/arm64/exception.S
89–91

Can an SError interrupt be taken from EL1? If so, I think you need to unmask DAIF_A here or in do_el1h_sync().

sys/arm64/arm64/machdep.c
943

Maybe add serror_enable() or similar to cpufunc.h and use that?

Unmask in the kernel
Add serror_enable

This revision is now accepted and ready to land.Aug 11 2021, 2:57 PM
This revision was automatically updated to reflect the committed changes.