acrn-kernel/arch/arm64/kvm/hyp/vhe
Akihiko Odaki b1d5667afa KVM: arm64: Populate fault info for watchpoint
commit 811154e234 upstream.

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: 8fb2046180 ("KVM: arm64: Move early handlers to per-EC handlers")
Suggested-by: Marc Zyngier <maz@kernel.org>
Signed-off-by: Akihiko Odaki <akihiko.odaki@daynix.com>
Signed-off-by: Marc Zyngier <maz@kernel.org>
Link: https://lore.kernel.org/r/20230530024651.10014-1-akihiko.odaki@daynix.com
Cc: stable@vger.kernel.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2023-06-09 10:34:27 +02:00
..
Makefile
debug-sr.c KVM: arm64: MDCR_EL2 is a 64-bit register 2021-08-20 11:12:17 +01:00
switch.c KVM: arm64: Populate fault info for watchpoint 2023-06-09 10:34:27 +02:00
sysreg-sr.c KVM: arm64: Convert vcpu sysregs_loaded_on_cpu to a state flag 2022-06-29 10:23:32 +01:00
timer-sr.c
tlb.c KVM: arm64: Unify stage-2 programming behind __load_stage2() 2021-08-20 09:11:28 +01:00