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)
Wed, Jan 22, 8:44 AM
Unknown Object (File)
Wed, Jan 22, 8:44 AM
Unknown Object (File)
Tue, Jan 21, 7:32 PM
Unknown Object (File)
Tue, Jan 21, 11:26 AM
Unknown Object (File)
Sat, Jan 18, 7:38 AM
Unknown Object (File)
Sat, Jan 18, 5:22 AM
Unknown Object (File)
Sat, Jan 4, 5:20 PM
Unknown Object (File)
Fri, Jan 3, 1:49 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 Skipped
Unit
Tests Skipped
Build Status
Buildable 60006
Build 56891: arc lint + arc unit