Page MenuHomeFreeBSD

arm64: Update how we handle SpecSEI
ClosedPublic

Authored by andrew on Oct 15 2024, 2:02 PM.
Tags
None
Referenced Files
Unknown Object (File)
Thu, Nov 20, 1:50 AM
Unknown Object (File)
Mon, Nov 3, 7:20 PM
Unknown Object (File)
Mon, Nov 3, 7:18 PM
Unknown Object (File)
Mon, Nov 3, 7:18 PM
Unknown Object (File)
Mon, Nov 3, 7:18 PM
Unknown Object (File)
Wed, Oct 29, 6:26 AM
Unknown Object (File)
Mon, Oct 27, 3:49 AM
Unknown Object (File)
Mon, Oct 27, 2:34 AM
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