]> git.baikalelectronics.ru Git - kernel.git/commit
ARM: KVM: fix ordering of 64bit coprocessor accesses
authorMarc Zyngier <marc.zyngier@arm.com>
Tue, 21 Jan 2014 18:56:26 +0000 (18:56 +0000)
committerMarc Zyngier <marc.zyngier@arm.com>
Mon, 3 Mar 2014 01:15:23 +0000 (01:15 +0000)
commit8393bd2c983bd27abff40fc6cbfee09b01350239
tree994fc62fb6a003444b652e25dd1a423507613ad1
parent3d92846ae94c3cc9afa2a74011df4fa3066c3672
ARM: KVM: fix ordering of 64bit coprocessor accesses

Commit 5790897129fc (ARM: KVM: Fix 64-bit coprocessor handling)
added an ordering dependency for the 64bit registers.

The order described is: CRn, CRm, Op1, Op2, 64bit-first.

Unfortunately, the implementation is: CRn, 64bit-first, CRm...

Move the 64bit test to be last in order to match the documentation.

Signed-off-by: Marc Zyngier <marc.zyngier@arm.com>
Reviewed-by: Christoffer Dall <christoffer.dall@linaro.org>
Acked-by: Catalin Marinas <catalin.marinas@arm.com>
arch/arm/kvm/coproc.h