]> git.baikalelectronics.ru Git - kernel.git/commit
KVM: arm64: vgic-its: Add pointer to corresponding kvm_device
authorMarc Zyngier <marc.zyngier@arm.com>
Sun, 17 Jul 2016 20:35:07 +0000 (21:35 +0100)
committerMarc Zyngier <marc.zyngier@arm.com>
Mon, 18 Jul 2016 17:15:18 +0000 (18:15 +0100)
commit762fc221bcf7db086e1599e0d62288729ce983b5
tree87b81477ee655dafff97e8622cf5e9c06a75e7e2
parent77ce96fa3bc00df2e0e861c1f217fe6c07f19f6d
KVM: arm64: vgic-its: Add pointer to corresponding kvm_device

Going from the ITS structure to the corresponding KVM structure
would be quite handy at times. The kvm_device pointer that is
passed at create time is quite convenient for this, so let's
keep a copy of it in the vgic_its structure.

This will be put to a good use in subsequent patches.

Signed-off-by: Marc Zyngier <marc.zyngier@arm.com>
include/kvm/arm_vgic.h
virt/kvm/arm/vgic/vgic-its.c