RFC arm/arm64: KVM: dynamic VGIC sizing
Get series with b4
b4 am 20131021140251.GD39411@lvmVersions newest first
- v1 RFC Latest5 patches 0 repliesNew
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/5 | arm/arm64: KVM: vgic: switch to dynamic allocation | +0 | 0 replies | |
| 2/5 | arm/arm64: KVM: vgic: kill VGIC_NR_SHARED_IRQS | +0 | 0 replies | |
| 3/5 | arm/arm64: KVM: vgic: kill VGIC_MAX_CPUS | +0 | 0 replies | |
| 4/5 | arm/arm64: KVM: vgic: handle out-of-range MMIO accesses | +0 | 0 replies | |
| 5/5 | arm/arm64: KVM: vgic: kill VGIC_NR_IRQS | +0 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [RFC PATCH 0/5] arm/arm64: KVM: dynamic VGIC sizing
Quoted 8 lines · Marc Zyngier
So far, the VGIC data structures have been statically sized, meaning that we always have to support more interrupts than we actually want, and more CPU interfaces than we should.
This is a waste of resource, and is the kind of things that should be tuneable. This series partially addresses that issue by changing the data structures to be dynamically allocated.
Quoted 6 lines
The various sizes are still static, but the VGIC code itself doesn't have any reference to these anymore. Once plugged into the new device API, we should be able to size it entierely dynamically.
I'm hopping for this series to be merged with Christoffer's VGIC device control API.
Review it and you can stop hopping (must be hard on your legs). I'll be happy to help with the merge ;)
Quoted 21 lines
This has been (lightly) tested on both ARM (TC2) and arm64 (model).
M.Marc Zyngier (5):
arm/arm64: KVM: vgic: switch to dynamic allocation arm/arm64: KVM: vgic: killVGIC_NR_SHARED_IRQSarm/arm64: KVM: vgic: killVGIC_MAX_CPUSarm/arm64: KVM: vgic: handle out-of-range MMIO accesses arm/arm64: KVM: vgic: killVGIC_NR_IRQSarch/arm/kvm/arm.c | 5 +- include/kvm/arm_vgic.h | 49 ++++----- virt/kvm/arm/vgic.c | 263 ++++++++++++++++++++++++++++++++++++++++--------- 3 files changed, 249 insertions(+), 68 deletions(-)Signature · 1 line
1.8.2.3
Signature · 1 line
Christoffer