Page MenuHomeFreeBSD

arm64: pmap: Mask VA operand in TLBI instructions
ClosedPublic

Authored by scottph on Mar 24 2022, 5:08 PM.
Tags
None
Referenced Files
Unknown Object (File)
Sat, Aug 8, 2:19 PM
Unknown Object (File)
Fri, Aug 7, 8:39 AM
Unknown Object (File)
Fri, Aug 7, 8:39 AM
Unknown Object (File)
Fri, Aug 7, 8:39 AM
Unknown Object (File)
Fri, Aug 7, 8:38 AM
Unknown Object (File)
Mon, Aug 3, 10:50 PM
Unknown Object (File)
Mon, Aug 3, 9:01 AM
Unknown Object (File)
Mon, Aug 3, 1:08 AM
Subscribers

Details

Summary

Bits 43:0 of the TLBI operand are bits 55:12 of the VA. Leaving
bits 63:55 of the VA in bits 51:44 of the operand might wind up
setting the TTL field (47:44) and accidentally restricting which
translation levels are flushed in the TLB.

Sponsored by: Ampere Computing

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable