Page MenuHomeFreeBSD

arm64: Support more ID register field types
ClosedPublic

Authored by andrew on Oct 15 2024, 2:01 PM.
Tags
None
Referenced Files
F174127921: D47122.id145256.diff
Wed, Sep 30, 7:30 PM
F174127874: D47122.id144907.diff
Wed, Sep 30, 7:30 PM
F174113761: D47122.diff
Wed, Sep 30, 5:36 PM
Unknown Object (File)
Tue, Sep 29, 7:43 AM
Unknown Object (File)
Thu, Sep 24, 10:40 PM
Unknown Object (File)
Sat, Sep 19, 10:24 PM
Unknown Object (File)
Sat, Sep 19, 10:23 PM
Unknown Object (File)
Sat, Sep 19, 8:35 PM
Subscribers

Details

Summary

Add MRS_EXACT_IF_DIFFERENT, MRS_HIGHER_OR_ZERO, and MRS_HIGHER.

These will be used to handle the cache CTR_EL0 register, and make some
ID register values safer.

They are:

  • MRS_EXACT_IF_DIFFERENT: If the field is the same on all CPUs then use this value, otherwise use the safe value.
  • MRS_HIGHER_OR_ZERO: Use the highest value, or zero if seen,
  • MRS_HIGHER: Use the highest value.

Sponsored by: Arm Ltd

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Skipped
Unit
Tests Skipped
Build Status
Buildable 60002
Build 56887: arc lint + arc unit