arm64: KVM: check ordering of all system register tables
authorMarc Zyngier <marc.zyngier@arm.com>
Wed, 7 May 2014 12:43:39 +0000 (13:43 +0100)
committerChristoffer Dall <christoffer.dall@linaro.org>
Thu, 2 Oct 2014 15:19:03 +0000 (17:19 +0200)
commit2c4bc5c6442250ebe7a1b08ed297fc48aef99547
tree2a82124f97ee5c217efde55ed2efa7e46f5bdcda
parent693292e6a93a775a91421b16f87f632e5d7f077b
arm64: KVM: check ordering of all system register tables

We now have multiple tables for the various system registers
we trap. Make sure we check the order of all of them, as it is
critical that we get the order right (been there, done that...).

Reviewed-by: Anup Patel <anup.patel@linaro.org>
Reviewed-by: Christoffer Dall <christoffer.dall@linaro.org>
Signed-off-by: Marc Zyngier <marc.zyngier@arm.com>
(cherry picked from commit e6a9551760623d1703487e8a16bb9c3ea8a7e7a8)
Signed-off-by: Christoffer Dall <christoffer.dall@linaro.org>
arch/arm64/kvm/sys_regs.c