[PATCH v2] KVM: arm64: Populate fault info for watchpoint
Marc Zyngier
maz at kernel.org
Tue May 30 00:41:33 PDT 2023
On Tue, 30 May 2023 03:46:51 +0100,
Akihiko Odaki <akihiko.odaki at daynix.com> 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 at kernel.org>
> Signed-off-by: Akihiko Odaki <akihiko.odaki at daynix.com>
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.
More information about the linux-arm-kernel
mailing list