Page MenuHomeFreeBSD

arm64: Update how we handle SpecSEI
ClosedPublic

Authored by andrew on Oct 15 2024, 2:02 PM.
Tags
None
Referenced Files
F174319612: D47126.id144911.diff
Fri, Oct 2, 8:47 AM
Unknown Object (File)
Thu, Oct 1, 8:41 PM
Unknown Object (File)
Mon, Sep 14, 3:25 AM
Unknown Object (File)
Thu, Sep 10, 4:19 PM
Unknown Object (File)
Tue, Sep 8, 6:52 PM
Unknown Object (File)
Sun, Sep 6, 12:25 AM
Unknown Object (File)
Sat, Sep 5, 12:55 PM
Unknown Object (File)
Sat, Sep 5, 8:20 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