[PATCH] arm64: KVM: Fix decoding of Rt/Rt2 when trapping AArch32 CP accesses

Christoffer Dall cdall at linaro.org
Tue May 2 00:30:26 PDT 2017


On Thu, Apr 27, 2017 at 07:06:48PM +0100, Marc Zyngier wrote:
> Our 32bit CP14/15 handling inherited some of the ARMv7 code for handling
> the trapped system registers, completely missing the fact that the
> fields for Rt and Rt2 are now 5 bit wide, and not 4...
> 
> Let's fix it, and provide an accessor for the most common Rt case.
> 
> Cc: stable at vger.kernel.org
> Signed-off-by: Marc Zyngier <marc.zyngier at arm.com>

Reviewed-by: Christoffer Dall <cdall at linaro.org>

Aplied to kvmarm/queue.

Thanks,
-Christoffer



More information about the linux-arm-kernel mailing list