Re: [PATCH v2] KVM: arm64: Populate fault info for watchpoint

From: Marc Zyngier
Date: Tue May 30 2023 - 03:44:06 EST


On Tue, 30 May 2023 03:46:51 +0100,
Akihiko Odaki <akihiko.odaki@xxxxxxxxxx> wrote:
>
> When handling ESR_ELx_EC_WATCHPT_LOW, far_el2 member of struct
> kvm_vcpu_fault_info will be copied to far member of struct
> kvm_debug_exit_arch and exposed to the userspace. The userspace will
> see stale values from older faults if the fault info does not get
> populated.
>
> Fixes: 8fb2046180a0 ("KVM: arm64: Move early handlers to per-EC handlers")
> Suggested-by: Marc Zyngier <maz@xxxxxxxxxx>
> Signed-off-by: Akihiko Odaki <akihiko.odaki@xxxxxxxxxx>

Thanks for respining this quickly. I've added a Cc: stable as we need
to get this backported.

Cheers,

M.

--
Without deviation from the norm, progress is not possible.