Page MenuHomeFreeBSD

arm64: Add support for emulating CTR_EL0
Needs ReviewPublic

Authored by andrew on Wed, Nov 27, 6:11 PM.
Tags
None
Referenced Files
Unknown Object (File)
Mon, Dec 2, 9:01 AM
Unknown Object (File)
Fri, Nov 29, 4:45 AM
Unknown Object (File)
Thu, Nov 28, 5:17 AM
Unknown Object (File)
Thu, Nov 28, 5:16 AM
Unknown Object (File)
Thu, Nov 28, 5:00 AM
Subscribers

Details

Reviewers
manu
Group Reviewers
ARM
Summary

Emulate CTR_EL0 when it is either different on different cores or there
is errata affecting the core that means we need to report a different
value.

This adds the kernel part of Arm Neoverse-N1 erratum 1542419. This
depends on the firmware implementing part of the workaround. This is
safe even if the firmware is missing the workaround as it is telling
userspace to perform a stronger cache sync operation than is required,
just on a page at a time rather than a single cache-line.

Sponsored by: Arm Ltd

Diff Detail

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