Re: [PATCH 22/37] KVM: arm64: Change 32-bit handling of VM system registers

2017-11-13 Thread Andrew Jones
On Thu, Oct 12, 2017 at 12:41:26PM +0200, Christoffer Dall wrote: > We currently handle 32-bit accesses to trapped VM system registers using > the 32-bit index into the coproc array on the vcpu structure, which is a > union of the coprog array and the sysreg array. coproc > > Since all the 32-bi

[PATCH 22/37] KVM: arm64: Change 32-bit handling of VM system registers

2017-10-12 Thread Christoffer Dall
We currently handle 32-bit accesses to trapped VM system registers using the 32-bit index into the coproc array on the vcpu structure, which is a union of the coprog array and the sysreg array. Since all the 32-bit coproc indicies are created to correspond to the architectural mapping between 64-b