]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
KVM: arm64: Remove the redundant ISB in __kvm_at_s1e2()
authorZenghui Yu (Huawei) <zenghui.yu@linux.dev>
Fri, 6 Mar 2026 07:44:22 +0000 (15:44 +0800)
committerMarc Zyngier <maz@kernel.org>
Fri, 6 Mar 2026 10:42:21 +0000 (10:42 +0000)
We already have an ISB in __kvm_at() to make the address translation result
visible to subsequent reads of PAR_EL1. Remove the redundant one right
after it.

Signed-off-by: Zenghui Yu (Huawei) <zenghui.yu@linux.dev>
Link: https://patch.msgid.link/20260306074422.47694-1-zenghui.yu@linux.dev
Signed-off-by: Marc Zyngier <maz@kernel.org>
arch/arm64/kvm/at.c

index 6588ea251ed777bc74025ff7260c13410a0a5419..c5c5644b1878e78f87b69679831d93d0f6d5f52e 100644 (file)
@@ -1504,8 +1504,6 @@ int __kvm_at_s1e2(struct kvm_vcpu *vcpu, u32 op, u64 vaddr)
                        fail = true;
                }
 
-               isb();
-
                if (!fail)
                        par = read_sysreg_par();