Page MenuHomeFreeBSD

Enable SError exceptions in the kernel
ClosedPublic

Authored by andrew on Aug 9 2021, 5:00 PM.
Tags
None
Referenced Files
F102923842: D31477.diff
Mon, Nov 18, 7:26 PM
Unknown Object (File)
Oct 5 2024, 11:36 AM
Unknown Object (File)
Oct 4 2024, 3:55 AM
Unknown Object (File)
Oct 2 2024, 7:33 PM
Unknown Object (File)
Oct 2 2024, 10:23 AM
Unknown Object (File)
Oct 1 2024, 6:51 AM
Unknown Object (File)
Sep 28 2024, 12:26 PM
Unknown Object (File)
Sep 27 2024, 12:53 PM

Details

Summary

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

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

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

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
939

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.