]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit87d94dfe83ca357698d05a3f96c7362d7be73101
tree7f0b17fa3bac1f3ad07339bac3f627d5493876f7
parentb6373b4f28e68dd6749b54c9de1ed2a57e8441f6
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