Re: [PATCH 5/5] KVM: arm64: uapi: Add kvm_debug_exit_arch.hsr_high

2022-04-12 Thread Marc Zyngier
On Mon, 11 Apr 2022 11:46:09 +0100, Alexandru Elisei wrote: > > Hi Marc, > > On Fri, Apr 08, 2022 at 08:47:00AM +0100, Marc Zyngier wrote: > > Hi Alex, > > > > On Thu, 07 Apr 2022 17:23:27 +0100, > > Alexandru Elisei wrote: > > > > > > When userspace is debugging a VM, the

Re: [PATCH 5/5] KVM: arm64: uapi: Add kvm_debug_exit_arch.hsr_high

2022-04-11 Thread Alexandru Elisei
Hi Marc, On Fri, Apr 08, 2022 at 08:47:00AM +0100, Marc Zyngier wrote: > Hi Alex, > > On Thu, 07 Apr 2022 17:23:27 +0100, > Alexandru Elisei wrote: > > > > When userspace is debugging a VM, the kvm_debug_exit_arch part of the > > kvm_run struct contains arm64 specific debug information: the

Re: [PATCH 5/5] KVM: arm64: uapi: Add kvm_debug_exit_arch.hsr_high

2022-04-08 Thread Marc Zyngier
Hi Alex, On Thu, 07 Apr 2022 17:23:27 +0100, Alexandru Elisei wrote: > > When userspace is debugging a VM, the kvm_debug_exit_arch part of the > kvm_run struct contains arm64 specific debug information: the ESR_EL2 > value, encoded in the field "hsr", and the address of the instruction > that

[PATCH 5/5] KVM: arm64: uapi: Add kvm_debug_exit_arch.hsr_high

2022-04-07 Thread Alexandru Elisei
When userspace is debugging a VM, the kvm_debug_exit_arch part of the kvm_run struct contains arm64 specific debug information: the ESR_EL2 value, encoded in the field "hsr", and the address of the instruction that caused the exception, encoded in the field "far". Linux has moved to treating