KVM: arm64: Add AArch32 mapping annotation
authorMarc Zyngier <maz@kernel.org>
Thu, 29 Oct 2020 17:09:12 +0000 (17:09 +0000)
committerMarc Zyngier <maz@kernel.org>
Tue, 10 Nov 2020 11:22:51 +0000 (11:22 +0000)
commit6ed6750f2b6d4a51f27615f3323d1850449299e3
tree7f0b17fa3bac1f3ad07339bac3f627d5493876f7
parent4ff3fc316d78daa2ed6de2f13616fb33a2926d8e
KVM: arm64: Add AArch32 mapping annotation

In order to deal with the few AArch32 system registers that map to
only a particular half of their AArch64 counterpart (such as DFAR
and IFAR being colocated in FAR_EL1), let's add an optional annotation
to the sysreg descriptor structure, indicating whether a register
maps to the upper or lower 32bits of a register.

Nothing is using these annotation yet.

Signed-off-by: Marc Zyngier <maz@kernel.org>
arch/arm64/kvm/sys_regs.h