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)
Fri, Jun 26, 1:56 AM
Unknown Object (File)
Thu, Jun 25, 6:51 AM
Unknown Object (File)
Tue, Jun 23, 9:04 PM
Unknown Object (File)
Mon, Jun 22, 10:41 PM
Unknown Object (File)
Sun, Jun 21, 12:18 AM
Unknown Object (File)
Wed, Jun 10, 5:49 AM
Unknown Object (File)
May 11 2026, 8:18 PM
Unknown Object (File)
May 11 2026, 8:05 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