diff options
author | Christoffer Dall <christoffer.dall@arm.com> | 2018-07-16 15:06:19 +0200 |
---|---|---|
committer | Marc Zyngier <marc.zyngier@arm.com> | 2018-07-21 16:02:21 +0100 |
commit | aa075b0f30b53e397fd4d4162ebf4a3a236b9206 (patch) | |
tree | 7b8aee3c4dcde15178d6ecec6e0aba17cdd84193 /virt/kvm/arm/vgic/vgic-init.c | |
parent | a2dca217dae29c4ff6420e8c78d56b3f61ae0797 (diff) | |
download | talos-obmc-linux-aa075b0f30b53e397fd4d4162ebf4a3a236b9206.tar.gz talos-obmc-linux-aa075b0f30b53e397fd4d4162ebf4a3a236b9206.zip |
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: |