Skip to content

Enable ACPI support for ARM KVM GIC

Wei Huang kvm kvmarm 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest7 patches 6 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/7KVM: GIC: Move GIC DT probing code to GICv2 and GICv3 filesinclude/kvm/arm_vgic.h virt/kvm/arm/vgic-v2.c virt/kvm/arm/vgic-v3.c +1 more+30 -300 replies
2/7KVM: GIC: Add extra fields to store GICH and GICV resource infoinclude/kvm/arm_vgic.h virt/kvm/arm/vgic-v2-emul.c virt/kvm/arm/vgic-v2.c +1 more+24 -170 replies
3/7KVM: GIC: Create a common probe function for GICvirt/kvm/arm/vgic-v2.c virt/kvm/arm/vgic-v3.c+55 -260 replies
4/7KVM: GICv2: Extract the common code from DTvirt/kvm/arm/vgic-v2.c+44 -480 replies
5/7KVM: GICv2: Add ACPI probing functionvirt/kvm/arm/vgic-v2.c+68 -00 replies
6/7KVM: GICv3: Extract the common code from DTvirt/kvm/arm/vgic-v3.c+42 -330 replies
7/7KVM: GICv3: Add ACPI probing functionvirt/kvm/arm/vgic-v3.c+62 -20 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH V1 0/7] Enable ACPI support for ARM KVM GIC

This patch set enables ACPI support for KVM GIC. Note that the patches are in fact the V3 of previously submitted patches (search "Enable ACPI support for KVM ARM"). But because Fu Wei includes the arch_timer part in his series [1] and I have substantially re-written the GIC code in this revision, the version number is reset to v1.

By following Marc's prior comments, the main design idea is to let DT or ACPI code to fill out the "struct vgic_params" which are extended to include all GIC related info.

[1] https://lkml.org/lkml/2016/2/1/658

Thanks,
-Wei

Wei Huang (7):
KVM: GIC: Move GIC DT probing code to GICv2 and GICv3 files
KVM: GIC: Add extra fields to store GICH and GICV resource info
KVM: GIC: Create a common probe function for GIC
KVM: GICv2: Extract the common code from DT
KVM: GICv2: Add ACPI probing function
KVM: GICv3: Extract the common code from DT
KVM: GICv3: Add ACPI probing function

 include/kvm/arm_vgic.h      |  14 ++--
 virt/kvm/arm/vgic-v2-emul.c |   4 +-
 virt/kvm/arm/vgic-v2.c      | 186 +++++++++++++++++++++++++++++++++-----------
 virt/kvm/arm/vgic-v3.c      | 159 ++++++++++++++++++++++++++++---------
 virt/kvm/arm/vgic.c         |  22 +-----
 5 files changed, 277 insertions(+), 108 deletions(-)
Signature · 1 line
1.8.3.1