xen/arm: traps: Don't define FAR_EL2 for ARM32
authorJulien Grall <julien.grall@arm.com>
Fri, 15 Sep 2017 23:45:59 +0000 (16:45 -0700)
committerStefano Stabellini <sstabellini@kernel.org>
Wed, 20 Sep 2017 00:17:03 +0000 (17:17 -0700)
commit0e57c05925c4cd795ad50b68fb5aeb24843fc8e7
treeb46a185eef939ad7700c8ed44953c7416bcd0647
parent22b39ffdb1bf44091dd6e96dc8ca2421b4fcaf42
xen/arm: traps: Don't define FAR_EL2 for ARM32

Aliasing FAR_EL2 to HIFAR makes the code confusing because on ARMv8
FAR_EL2[31:0] is architecturally mapped to HDFAR and FAR_EL2[63:32] to
HIFAR. See D7.2.30 in ARM DDI 0487B.a. Open-code the alias instead.

Signed-off-by: Julien Grall <julien.grall@arm.com>
Reviewed-by: Andre Przywara <andre.przywara@arm.com>
Reviewed-by: Stefano Stabellini <sstabellini@kernel.org>
Signed-off-by: Stefano Stabellini <sstabellini@kernel.org>
xen/arch/arm/traps.c
xen/include/asm-arm/cpregs.h