Enable ACPI support for KVM ARM
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v2 Latest5 patches 11 repliesIn review
- v15 patches 2 repliesSuperseded
Changes in v2 from the cover letter
* Initialize vgic->max_gic_vcpus field in GICv2 code (found by Andrew Jones)
* Rewrite arch_timer ACPI PPI parsing code
* Verified patches on APM Mustang machine, which has arch_timer & GICv2
Patches in v2 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/5 | kvm: arm64: Enable ACPI support for virt arch timervirt/ | +62 | 2 replies | |
| 2/5 | kvm: arm64: Dispatch virt GIC probing to device tree and ACPIinclude/ virt/ virt/ +1 more | +48 | 1 reply | |
| 3/5 | kvm: arm64: Detect GIC version for proper ACPI vGIC probinginclude/ virt/ virt/ +1 more | +137 | 4 replies | |
| 4/5 | kvm: arm64: Implement ACPI probing code for GICv2virt/ | +49 | 0 replies | |
| 5/5 | kvm: arm64: Implement ACPI probing code for GICv3virt/ | +39 | 1 reply |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v2 yet.
Cover letter [PATCH V2 0/5] Enable ACPI support for KVM ARM
Initial ACPI support for ARM64 has been accepted into Linux kernel recently. Now it is a good time to re-visit ACPI support for KVM. This patchset enables ACPI for both arch_timer and vGIC by probing related ACPI tables and does necessary initialization.
Note that Alexander Spyridaki submitted similar patches before. Some of his ideas were borrowed in this patchset, but with substancial changes. In addition we extend support for both GICv2 and GICv3.
This patchset would work better on top of recent GIC/IRQCHIP patches by Hanjun Guo, who added support for gic_version in ACPI struct of GIC distributor (search "ACPICA: Introduce GIC version for arm based system").
This patchset can be applied cleanly on top of kvmarm.git queue branch.
-Wei
V1->V2:
* Initialize vgic->max_gic_vcpus field in GICv2 code (found by Andrew Jones)
* Rewrite arch_timer ACPI PPI parsing code
* Verified patches on APM Mustang machine, which has arch_timer & GICv2
V1:
* Initial patchset
Wei Huang (5):
kvm: arm64: Enable ACPI support for virt arch timer
kvm: arm64: Dispatch virt GIC probing to device tree and ACPI
kvm: arm64: Detect GIC version for proper ACPI vGIC probing
kvm: arm64: Implement ACPI probing code for GICv2
kvm: arm64: Implement ACPI probing code for GICv3
include/kvm/arm_vgic.h | 36 +++++++++--- virt/kvm/arm/arch_timer.c | 75 ++++++++++++++++++++----- virt/kvm/arm/vgic-v2.c | 66 ++++++++++++++++++++-- virt/kvm/arm/vgic-v3.c | 56 +++++++++++++++++-- virt/kvm/arm/vgic.c | 140 ++++++++++++++++++++++++++++++++++++++++++---- 5 files changed, 332 insertions(+), 41 deletions(-)
Signature · 1 line
1.8.3.1