HomeFreeBSD

arm64: pmap: Mask VA operand in TLBI instructions

Description

arm64: pmap: Mask VA operand in TLBI instructions

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.

Approved by: re (gjb)
Reviewed By: andrew
MFC after: 3 days
Sponsored by: Ampere Computing
Differential Revision: https://reviews.freebsd.org/D34664

(cherry picked from commit a693a30038278b1ccd3e67b98d76e259ca1b405d)
(cherry picked from commit 2c013d142b146ed42d0fe6458ee8a394161ad370)

Details

Provenance
scottphAuthored on Mar 25 2022, 4:04 PM
Reviewer
andrew
Differential Revision
D34664: arm64: pmap: Mask VA operand in TLBI instructions
Parents
rGcf9f384de949: Fix arm64 TLB invalidation with non-4k pages
Branches
Unknown
Tags
Unknown