diff options
author | Eric Auger <eric.auger@linaro.org> | 2015-12-21 18:09:38 +0100 |
---|---|---|
committer | Christoffer Dall <christoffer.dall@linaro.org> | 2016-05-20 15:40:06 +0200 |
commit | ad275b8bb1e659b14120174d87e3c1fdc22e9978 (patch) | |
tree | 78bbd8ed5653836ccd931323819ec1f57b793573 /virt/kvm/arm/vgic/vgic-v3.c | |
parent | 5e6431da8f3a04759ac8d77b7c98eec0de580343 (diff) | |
download | linux-ad275b8bb1e659b14120174d87e3c1fdc22e9978.tar.gz linux-ad275b8bb1e659b14120174d87e3c1fdc22e9978.tar.bz2 linux-ad275b8bb1e659b14120174d87e3c1fdc22e9978.zip |
KVM: arm/arm64: vgic-new: vgic_init: implement vgic_init
This patch allocates and initializes the data structures used
to model the vgic distributor and virtual cpu interfaces. At that
stage the number of IRQs and number of virtual CPUs is frozen.
Signed-off-by: Eric Auger <eric.auger@linaro.org>
Signed-off-by: Andre Przywara <andre.przywara@arm.com>
Reviewed-by: Christoffer Dall <christoffer.dall@linaro.org>
Diffstat (limited to 'virt/kvm/arm/vgic/vgic-v3.c')
-rw-r--r-- | virt/kvm/arm/vgic/vgic-v3.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/virt/kvm/arm/vgic/vgic-v3.c b/virt/kvm/arm/vgic/vgic-v3.c index de0e8e0b2625..d1c0285c56e9 100644 --- a/virt/kvm/arm/vgic/vgic-v3.c +++ b/virt/kvm/arm/vgic/vgic-v3.c @@ -186,6 +186,11 @@ void vgic_v3_get_vmcr(struct kvm_vcpu *vcpu, struct vgic_vmcr *vmcrp) vmcrp->pmr = (vmcr & ICH_VMCR_PMR_MASK) >> ICH_VMCR_PMR_SHIFT; } +/* not yet implemented */ +void vgic_v3_enable(struct kvm_vcpu *vcpu) +{ +} + /** * vgic_v3_probe - probe for a GICv3 compatible interrupt controller in DT * @node: pointer to the DT node |