xen/arm: Restricted access to IFSR32_EL2 and FPEXC32_EL2
authorVijaya Kumar K <Vijaya.Kumar@caviumnetworks.com>
Thu, 18 Sep 2014 12:13:48 +0000 (17:43 +0530)
committerIan Campbell <ian.campbell@citrix.com>
Wed, 24 Sep 2014 08:39:47 +0000 (09:39 +0100)
commit8ab802c87873a72e76070883f95f66391911421b
treea7e926454e9b286db27dcbb466bde8f6cc181f60
parentffa980c3085eccc439f846dc1c3110de343f4c6a
xen/arm: Restricted access to IFSR32_EL2 and FPEXC32_EL2

IFSR32_EL1 and FPEXC32_EL1 registers are accessible in
aarch64 mode only if aarch32 mode is support in EL1.
So allow access to these registers only for 32-bit domains.

Signed-off-by: Vijaya Kumar K <Vijaya.Kumar@caviumnetworks.com>
Acked-by: Ian Campbell <ian.campbell@citrix.com>
xen/arch/arm/arm64/vfp.c
xen/arch/arm/traps.c