]> 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>
Wed, 30 Mar 2022 20:51:37 +0000 (13:51 -0700)
commit33a625b1d6cd54695e82bcb4379a88d09b3b4ada
tree82bc73a14c76a7d518956b8d8f0e4c87b333269c
parentcf9f384de949b34f2ce73ca2f2f5e319431d46ff
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)
sys/arm64/arm64/pmap.c