Page MenuHomeFreeBSD

arm64: Update how we handle SpecSEI
ClosedPublic

Authored by andrew on Oct 15 2024, 2:02 PM.
Tags
None
Referenced Files
F169571200: D47126.diff
Tue, Sep 1, 11:07 PM
F169493436: D47126.id144911.diff
Tue, Sep 1, 5:06 PM
Unknown Object (File)
Mon, Aug 31, 2:45 PM
Unknown Object (File)
Sun, Aug 30, 11:21 PM
Unknown Object (File)
Sun, Aug 30, 2:55 PM
Unknown Object (File)
Fri, Aug 28, 11:33 PM
Unknown Object (File)
Fri, Aug 28, 2:14 PM
Unknown Object (File)
Wed, Aug 26, 10: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 Not Applicable
Unit
Tests Not Applicable