[PATCH 0/8] KVM: arm64: Kill the copro array
James Morse
james.morse at arm.com
Tue Nov 3 13:29:25 EST 2020
Hi Marc,
On 02/11/2020 19:16, Marc Zyngier wrote:
> Since the very beginning of KVM/arm64, we represented the system
> register file using a dual view: on one side the AArch64 state, on the
> other a bizarre mapping of the AArch64 state onto the Aarch64
> registers.
Now that would be bizarre!
mapping of the AArch32 state onto the Aarch64 registers?
> It was nice at the time as it allowed us to share some code with the
> 32bit port, and to come up with some creative bugs. But is was always
> a hack, and we are now in a position to simplify the whole thing.
>
> This series goes through the whole of the AArch32 cp14/15 register
> file, and point each of them directly at their 64bit equivalent. For
> the few cases where two 32bit registers share a 64bit counterpart, we
> define which half of the register they map.
Thanks,
James
More information about the linux-arm-kernel
mailing list