Re: [Qemu-devel] [PATCH] target-arm: Make various system registers visible to EL3

2016-01-20 Thread Edgar E. Iglesias
On Tue, Jan 19, 2016 at 06:23:22PM +, Peter Maydell wrote: > The AArch64 system registers DACR32_EL2, IFSR32_EL2, SPSR_IRQ, > SPSR_ABT, SPSR_UND and SPSR_FIQ are visible and fully functional from > EL3 even if the CPU has no EL2 (unlike some others which are RES0 > from EL3 in that configuratio

[Qemu-devel] [PATCH] target-arm: Make various system registers visible to EL3

2016-01-19 Thread Peter Maydell
The AArch64 system registers DACR32_EL2, IFSR32_EL2, SPSR_IRQ, SPSR_ABT, SPSR_UND and SPSR_FIQ are visible and fully functional from EL3 even if the CPU has no EL2 (unlike some others which are RES0 from EL3 in that configuration). Move them from el2_cp_reginfo[] to v8_cp_reginfo[] so they are alw