Page MenuHomeFreeBSD

arm64: Add support for emulating CTR_EL0
ClosedPublic

Authored by andrew on Nov 27 2024, 6:11 PM.
Tags
None
Referenced Files
F108405942: D47814.diff
Fri, Jan 24, 1:02 PM
Unknown Object (File)
Thu, Jan 16, 4:18 AM
Unknown Object (File)
Thu, Jan 16, 4:10 AM
Unknown Object (File)
Tue, Jan 14, 12:33 PM
Unknown Object (File)
Thu, Jan 9, 8:50 PM
Unknown Object (File)
Wed, Jan 8, 4:09 AM
Unknown Object (File)
Sat, Dec 28, 8:12 AM
Unknown Object (File)
Dec 18 2024, 6:51 PM
Subscribers

Details

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 61105
Build 57989: arc lint + arc unit