]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
arm64: pmap: Mask VA operand in TLBI instructions
authorD Scott Phillips <scottph@FreeBSD.org>
Fri, 25 Mar 2022 16:04:11 +0000 (09:04 -0700)
committerD Scott Phillips <scottph@FreeBSD.org>
Fri, 25 Mar 2022 16:49:33 +0000 (09:49 -0700)
commita693a30038278b1ccd3e67b98d76e259ca1b405d
treeb8bf0d4e0a8fa8d7e2a219e25d8543bb50409369
parentf0f0f2abf333fd221298b07f6831a0143a98c324
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.

Reviewed By: andrew
MFC after: 3 days
Sponsored by: Ampere Computing
Differential Revision: https://reviews.freebsd.org/D34664
sys/arm64/arm64/pmap.c