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)
committerChristoffer Dall <christoffer.dall@linaro.org>
Thu, 2 Oct 2014 15:18:36 +0000 (17:18 +0200)
commitba3c65fc739a98f9eae4e8997d8a6e66d130b0cf
treedb3cae3dc08348b962d07f91378f594ff5cb1608
parentd773d11dd453f43793082c5206799c818a4a4b55
ARM: KVM: fix ordering of 64bit coprocessor accesses

Commit 240e99cbd00a (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>
(cherry picked from commit 547f781378a22b65c2ab468f235c23001b5924da)
Signed-off-by: Christoffer Dall <christoffer.dall@linaro.org>
arch/arm/kvm/coproc.h