RFC kvm tools: allow ioport emulation to be used on ARM
Status from this message: I applied the series. Thanks guys!
Get series with b4
b4 am [email protected]Versions newest first
- v1 RFC Latest11 patches 8 repliesApplied
Patches in v1 Applied
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/11 | kvm tools: makefile: factor out libfdt inclusiontools/ | +19 | 0 replies | |
| 2/11 | kvm tools: virtio: move fdt node generation into core mmio codetools/ tools/ | +47 | 0 replies | |
| 3/11 | kvm tools: arm: add ioport window to virtual memory maptools/ tools/ | +17 | 0 replies | |
| 4/11 | kvm tools: console: unconditionally output to any consoletools/ tools/ tools/ +1 more | +4 | 6 replies | |
| 5/11 | kvm tools: allow ioports to be offset from 0tools/ tools/ tools/ | +5 | 0 replies | |
| 6/11 | kvm tools: ioport: add arch callback to remap IRQ lines for ioport devicestools/ tools/ tools/ +2 more | +17 | 0 replies | |
| 7/11 | kvm tools: ioport: allow ioport devices to generate fdt nodestools/ tools/ tools/ +1 more | +43 | 0 replies | |
| 8/11 | kvm tools: 8250: add fdt node generationtools/ | +29 | 0 replies | |
| 9/11 | kvm tools: 8250: add address qualifier to uart name in fdt nodetools/ | +7 | 0 replies | |
| 10/11 | kvm tools: ARM: generate fdt nodes for ioport devicestools/ | +8 | 0 replies | |
| 11/11 | kvm tools: ARM: add 8250 console callback to periodic polltools/ | +4 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [RFC PATCH 00/11] kvm tools: allow ioport emulation to be used on ARM
Hi guys,
This RFC series does a number of things, but the main goal is to allow re-use of the emulation code under hw/ on architectures other than x86. It also comes about after discussions concerning virtio-console for earlyprintk:
http://lists.infradead.org/pipermail/linux-arm-kernel/2013-April/165605.html
The first 5 patches in this series allow the 8250 emulation to be used for earlyprintk (i.e. output only) on aarch64 platforms. The remaining 7 patches generalise this to potentially any ioport devices, with DT node generation and interrupt routing.
All comments welcome,
Will
Marc Zyngier (2):
kvm tools: console: unconditionally output to any console kvm tools: 8250: add address qualifier to uart name in fdt node
Will Deacon (9):
kvm tools: makefile: factor out libfdt inclusion
kvm tools: virtio: move fdt node generation into core mmio code kvm tools: arm: add ioport window to virtual memory map kvm tools: allow ioports to be offset from 0
kvm tools: ioport: add arch callback to remap IRQ lines for ioport
devices
kvm tools: ioport: allow ioport devices to generate fdt nodes kvm tools: 8250: add fdt node generation
kvm tools: ARM: generate fdt nodes for ioport devices kvm tools: ARM: add 8250 console callback to periodic poll
tools/kvm/Makefile | 31 ++++++++------ tools/kvm/arm/fdt.c | 38 ++++++++--------- tools/kvm/arm/include/arm-common/kvm-arch.h | 13 +++++- tools/kvm/arm/ioport.c | 7 ++++ tools/kvm/arm/kvm-cpu.c | 9 +++- tools/kvm/arm/kvm.c | 5 ++- tools/kvm/devices.c | 6 +++ tools/kvm/hw/serial.c | 64 ++++++++++++++++------------- tools/kvm/include/kvm/devices.h | 2 + tools/kvm/include/kvm/ioport.h | 5 +++ tools/kvm/ioport.c | 34 +++++++++++++-- tools/kvm/powerpc/include/kvm/kvm-arch.h | 1 + tools/kvm/powerpc/ioport.c | 4 ++ tools/kvm/powerpc/spapr_hvcons.c | 5 +-- tools/kvm/powerpc/spapr_rtas.c | 3 +- tools/kvm/virtio/console.c | 5 +-- tools/kvm/virtio/mmio.c | 38 ++++++++++++++++- tools/kvm/x86/include/kvm/kvm-arch.h | 1 + tools/kvm/x86/ioport.c | 4 ++ 19 files changed, 196 insertions(+), 79 deletions(-)
Signature · 1 line
1.8.0