Re: [PATCH v2 02/10] arm64: KVM: allows discrimination of AArch32 sysreg access

2014-01-29 Thread Christoffer Dall
On Wed, Jan 22, 2014 at 02:56:34PM +, Marc Zyngier wrote: > The current handling of AArch32 trapping is slightly less than > perfect, as it is not possible (from a handler point of view) > to distinguish it from an AArch64 access, nor to tell a 32bit > from a 64bit access either. > > Fix this

[PATCH v2 02/10] arm64: KVM: allows discrimination of AArch32 sysreg access

2014-01-22 Thread Marc Zyngier
The current handling of AArch32 trapping is slightly less than perfect, as it is not possible (from a handler point of view) to distinguish it from an AArch64 access, nor to tell a 32bit from a 64bit access either. Fix this by introducing two additional flags: - is_aarch32: true if the access was