Page MenuHomeFreeBSD

arm64: Update how we handle SpecSEI
ClosedPublic

Authored by andrew on Oct 15 2024, 2:02 PM.
Tags
None
Referenced Files
F140575172: D47126.id144911.diff
Thu, Dec 25, 11:32 AM
Unknown Object (File)
Sat, Dec 20, 8:41 AM
Unknown Object (File)
Fri, Dec 5, 11:17 PM
Unknown Object (File)
Thu, Nov 27, 10:30 AM
Unknown Object (File)
Nov 20 2025, 1:50 AM
Unknown Object (File)
Nov 3 2025, 7:20 PM
Unknown Object (File)
Nov 3 2025, 7:18 PM
Unknown Object (File)
Nov 3 2025, 7:18 PM
Subscribers

Details

Summary

The ID_AA64MMFR1_EL0.SpecSEI field needs to use MRS_HIGHER to get the
largest value from all CPUs. This is because it indicates when an
exception might happen when it's non-zero and can't happen when zero.
As indicating something that might happen even when it can't is safer
use MRS_HIGHER to handle this field.

Sponsored by: Arm Ltd

Diff Detail

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