diff options
author | Christoffer Dall <christoffer.dall@arm.com> | 2018-07-16 16:06:19 +0300 |
---|---|---|
committer | Marc Zyngier <marc.zyngier@arm.com> | 2018-07-21 18:02:21 +0300 |
commit | aa075b0f30b53e397fd4d4162ebf4a3a236b9206 (patch) | |
tree | 7b8aee3c4dcde15178d6ecec6e0aba17cdd84193 /virt/kvm/arm/vgic/vgic-init.c | |
parent | a2dca217dae29c4ff6420e8c78d56b3f61ae0797 (diff) | |
download | linux-aa075b0f30b53e397fd4d4162ebf4a3a236b9206.tar.xz |
KVM: arm/arm64: vgic: Keep track of implementation revision
As we are about to tweak implementation aspects of the VGIC emulation,
while still preserving some level of backwards compatibility support,
add a field to keep track of the implementation revision field which is
reported to the VM and to userspace.
Reviewed-by: Andrew Jones <drjones@redhat.com>
Signed-off-by: Christoffer Dall <christoffer.dall@arm.com>
Signed-off-by: Marc Zyngier <marc.zyngier@arm.com>
Diffstat (limited to 'virt/kvm/arm/vgic/vgic-init.c')
-rw-r--r-- | virt/kvm/arm/vgic/vgic-init.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/virt/kvm/arm/vgic/vgic-init.c b/virt/kvm/arm/vgic/vgic-init.c index b71417913741..8b6fc45c42fe 100644 --- a/virt/kvm/arm/vgic/vgic-init.c +++ b/virt/kvm/arm/vgic/vgic-init.c @@ -298,6 +298,7 @@ int vgic_init(struct kvm *kvm) vgic_debug_init(kvm); + dist->implementation_rev = 0; dist->initialized = true; out: |