Page MenuHomeFreeBSD

arm64: Update how we handle SpecSEI
ClosedPublic

Authored by andrew on Oct 15 2024, 2:02 PM.
Tags
None
Referenced Files
F170544686: D47126.diff
Sat, Sep 5, 8:20 AM
F170455972: D47126.id145260.diff
Fri, Sep 4, 10:09 PM
F170431405: D47126.id145260.diff
Fri, Sep 4, 7:26 PM
Unknown Object (File)
Thu, Sep 3, 11:54 PM
Unknown Object (File)
Thu, Sep 3, 6:06 PM
Unknown Object (File)
Thu, Sep 3, 5:27 PM
Unknown Object (File)
Wed, Sep 2, 8:09 PM
Unknown Object (File)
Tue, Sep 1, 11:07 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 Skipped
Unit
Tests Skipped
Build Status
Buildable 60006
Build 56891: arc lint + arc unit