Re: [PATCH v2 5/9] arm64: KVM: PMU: Inject UNDEF on read access to PMSWINC_EL0

2017-03-28 Thread Christoffer Dall
On Mon, Mar 27, 2017 at 05:03:41PM +0100, Marc Zyngier wrote: > PMSWINC_EL0 is a WO register, so let's UNDEF when reading from it > (in the highly hypothetical case where this doesn't UNDEF at EL1). > > Signed-off-by: Marc Zyngier Reviewed-by: Christoffer Dall

[PATCH v2 5/9] arm64: KVM: PMU: Inject UNDEF on read access to PMSWINC_EL0

2017-03-27 Thread Marc Zyngier
PMSWINC_EL0 is a WO register, so let's UNDEF when reading from it (in the highly hypothetical case where this doesn't UNDEF at EL1). Signed-off-by: Marc Zyngier --- arch/arm64/kvm/sys_regs.c | 13 ++--- 1 file changed, 6 insertions(+), 7 deletions(-) diff --git