Page MenuHomeFreeBSD

arm64: Support more ID register field types
AcceptedPublic

Authored by andrew on Tue, Oct 15, 2:01 PM.

Details

Reviewers
manu
imp
Group Reviewers
arm64
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