RFC KVM: ARM: Get rid of hardcoded VGIC addresses
Get series with b4
b4 am [email protected]Versions newest first
- v1 RFC Latest3 patches 55 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/3 | KVM: ARM: Introduce KVM_INIT_IRQCHIP ioctlDocumentation/ arch/ include/ | +20 | 6 replies | |
| 2/3 | KVM: ARM: Introduce KVM_SET_DEVICE_ADDRESS ioctlDocumentation/ arch/ arch/ +4 more | +119 | 5 replies | |
| 3/3 | KVM: ARM: Split KVM_CREATE_IRQCHIP and KVM_INIT_IRQCHIParch/ arch/ arch/ | +44 | 1 reply |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [RFC PATCH 0/3] KVM: ARM: Get rid of hardcoded VGIC addresses
*** warning: this RFC patch series is only compile-tested ***
We need a way to specify the address at which we expect VMs to access the interrupt controller (both the emulated distributor and the hardware interface supporting virtualization). User space should decide on this address as user space decides on an emulated board and loads a device tree describing these details directly to the guest.
Instead of modifying the copying KVM_CREATE_IRQCHIP to an ARM specific ioctl with a a highly device specific set of parameters, we try something slightly more generic, that should fit well with how user space (read QEMU) first builds the individual devices and later sets up the emulated platform.
Comments welcome!
Christoffer Dall (3):
KVM: ARM: Introduce KVM_INIT_IRQCHIP ioctl
KVM: ARM: Introduce KVM_SET_DEVICE_ADDRESS ioctl
KVM: ARM: Split KVM_CREATE_IRQCHIP and KVM_INIT_IRQCHIP
Documentation/virtual/kvm/api.txt | 46 +++++++++++++++++++++++ arch/arm/include/asm/kvm.h | 13 +++++++ arch/arm/include/asm/kvm_mmu.h | 1 + arch/arm/include/asm/kvm_vgic.h | 12 ++++++ arch/arm/kvm/arm.c | 38 ++++++++++++++++++- arch/arm/kvm/vgic.c | 74 +++++++++++++++++++++++++++++++------ include/linux/kvm.h | 11 ++++++ 7 files changed, 183 insertions(+), 12 deletions(-)
Signature · 1 line
1.7.9.5