Re: [RESEND PATCH 2/3] KVM: PPC: Book3S HV: Add preempt_disable() around virtual-mode HPTE bit-lock users
From: IBM
Date: Mon Sep 28 2026 - 09:51:02 EST
Amit Machhiwal <amachhiw@xxxxxxxxxxxxx> writes:
> kvmppc_hv_find_lock_hpte() requires virtual-mode callers to run with
> preemption disabled, because it can return with HPTE_V_HVLOCK still held
> until the caller later unlocks the HPTE. Existing virtual-mode callers
> in book3s_64_mmu_hv.c already follow that rule.
>
That make sense. LGTM. Please feel free to add:
Reviewed-by: Ritesh Harjani (IBM) <ritesh.list@xxxxxxxxx>