KVM: arm64: Consolidate REG_HIDDEN_GUEST/USER
authorAndrew Jones <drjones@redhat.com>
Thu, 5 Nov 2020 09:10:20 +0000 (10:10 +0100)
committerMarc Zyngier <maz@kernel.org>
Fri, 6 Nov 2020 16:00:29 +0000 (16:00 +0000)
commit01fe5ace92ddb8732e3331355e7ba9cb6f2ef787
treedca1e8cd0f970c075cfcae74d33df897af8cbcb9
parentf81cb2c3ad41ac6d8cb2650e3d72d5f67db1aa28
KVM: arm64: Consolidate REG_HIDDEN_GUEST/USER

REG_HIDDEN_GUEST and REG_HIDDEN_USER are always used together.
Consolidate them into a single REG_HIDDEN flag. We can always
add another flag later if some register needs to expose itself
differently to the guest than it does to userspace.

No functional change intended.

Signed-off-by: Andrew Jones <drjones@redhat.com>
Signed-off-by: Marc Zyngier <maz@kernel.org>
Link: https://lore.kernel.org/r/20201105091022.15373-3-drjones@redhat.com
arch/arm64/kvm/sys_regs.c
arch/arm64/kvm/sys_regs.h