[PATCH v22 12/23] KVM: arm64: Use a local kvm pointer in kvm_handle_guest_abort()
Gavin Shan
gshan at redhat.com
Mon Oct 5 20:02:00 PDT 2026
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 at oss.qualcomm.com>
> Reviewed-by: Fuad Tabba <fuad.tabba at linux.dev>
> Signed-off-by: Suzuki K Poulose <suzuki.poulose at arm.com>
> ---
> arch/arm64/kvm/mmu.c | 13 +++++++------
> 1 file changed, 7 insertions(+), 6 deletions(-)
>
Reviewed-by: Gavin Shan <gshan at redhat.com>
More information about the linux-arm-kernel
mailing list