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)
Sun, Sep 27, 7:56 PM
Unknown Object (File)
Fri, Sep 25, 1:56 PM
Unknown Object (File)
Thu, Sep 24, 4:41 AM
Unknown Object (File)
Thu, Sep 24, 4:22 AM
Unknown Object (File)
Mon, Sep 7, 10:05 PM
Unknown Object (File)
Sat, Sep 5, 2:16 PM
Unknown Object (File)
Sat, Sep 5, 11:49 AM
Unknown Object (File)
Sat, Sep 5, 6:22 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