Page MenuHomeFreeBSD

arm64: Add support for emulating CTR_EL0
ClosedPublic

Authored by andrew on Nov 27 2024, 6:11 PM.
Tags
None
Referenced Files
F158830444: D47814.id149871.diff
Sat, Jun 6, 12:55 PM
Unknown Object (File)
Fri, May 29, 4:20 AM
Unknown Object (File)
Mon, May 18, 4:52 AM
Unknown Object (File)
Sat, May 16, 8:11 AM
Unknown Object (File)
May 7 2026, 12:58 PM
Unknown Object (File)
May 7 2026, 7:55 AM
Unknown Object (File)
May 6 2026, 9:47 AM
Unknown Object (File)
May 6 2026, 8:11 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