aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_atomfirmware.c
diff options
context:
space:
mode:
authorMarc Zyngier <[email protected]>2025-05-25 17:57:59 +0000
committerMarc Zyngier <[email protected]>2025-05-30 08:09:16 +0000
commit667304740537e546dac676be9eb81cee41d2ebdd (patch)
treed0fe992e9c71364d91e3ae07513ca02996c32530 /drivers/gpu/drm/amd/amdgpu/amdgpu_atomfirmware.c
parentarm64: sysreg: Drag linux/kconfig.h to work around vdso build issue (diff)
downloadkernel-667304740537e546dac676be9eb81cee41d2ebdd.tar.gz
kernel-667304740537e546dac676be9eb81cee41d2ebdd.zip
KVM: arm64: Mask out non-VA bits from TLBI VA* on VNCR invalidation
When handling a TLBI VA* instruction that potentially targets a VNCR page mapping, we fail to mask out the top bits that contain the ASID and TTL fields, hence potentially failing the VA check in the TLB code. An additional wrinkle is that we fail to sign extend the VA, again leading to failed VA checks. Fix both in one go by sign-extending the VA from bit 48, making it comparable to the way we interpret VNCR_EL2.BADDR. Fixes: 4ffa72ad8f37e ("KVM: arm64: nv: Add S1 TLB invalidation primitive for VNCR_EL2") Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Marc Zyngier <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_atomfirmware.c')
0 files changed, 0 insertions, 0 deletions