Page MenuHomeFreeBSD

arm64: Add support for emulating CTR_EL0
ClosedPublic

Authored by andrew on Nov 27 2024, 6:11 PM.
Tags
None
Referenced Files
Unknown Object (File)
Sep 13 2025, 9:32 AM
Unknown Object (File)
Sep 13 2025, 5:22 AM
Unknown Object (File)
Sep 10 2025, 11:11 PM
Unknown Object (File)
Sep 10 2025, 2:53 AM
Unknown Object (File)
Sep 9 2025, 9:50 PM
Unknown Object (File)
Sep 7 2025, 5:46 PM
Unknown Object (File)
Sep 7 2025, 3:10 PM
Unknown Object (File)
Sep 3 2025, 5:15 AM
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 Not Applicable
Unit
Tests Not Applicable