Re: [PATCH v22 12/23] KVM: arm64: Use a local kvm pointer in kvm_handle_guest_abort()
From: Gavin Shan
Date: Mon Oct 05 2026 - 23:02:21 EST
On 10/5/26 7:07 PM, Suzuki K Poulose wrote:
kvm_handle_guest_abort() repeatedly obtains the VM from vcpu->kvm.
Introduce a local kvm pointer and use it throughout the function. While
touching the code, fix the missing whitespace in the
kvm_is_nested_s2_mmu() call.
Suggested-by: Jonathan Cameron <jonathan.cameron@xxxxxxxxxxxxxxxx>
Reviewed-by: Fuad Tabba <fuad.tabba@xxxxxxxxx>
Signed-off-by: Suzuki K Poulose <suzuki.poulose@xxxxxxx>
---
arch/arm64/kvm/mmu.c | 13 +++++++------
1 file changed, 7 insertions(+), 6 deletions(-)
Reviewed-by: Gavin Shan <gshan@xxxxxxxxxx>