Page MenuHomeFreeBSD

arm64: Add support for emulating CTR_EL0
ClosedPublic

Authored by andrew on Nov 27 2024, 6:11 PM.
Tags
None
Referenced Files
F144469457: D47814.id149871.diff
Sun, Feb 8, 2:45 PM
Unknown Object (File)
Sat, Feb 7, 8:40 PM
Unknown Object (File)
Sat, Feb 7, 8:29 PM
Unknown Object (File)
Sat, Feb 7, 6:27 PM
Unknown Object (File)
Sat, Jan 31, 11:39 AM
Unknown Object (File)
Sat, Jan 31, 1:23 AM
Unknown Object (File)
Mon, Jan 12, 6:46 AM
Unknown Object (File)
Sat, Jan 10, 7:49 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 Not Applicable
Unit
Tests Not Applicable