From mboxrd@z Thu Jan 1 00:00:00 1970 From: Will Deacon Subject: [RFC PATCH 00/11] kvm tools: allow ioport emulation to be used on ARM Date: Wed, 1 May 2013 16:50:05 +0100 Message-ID: <1367423416-24640-1-git-send-email-will.deacon@arm.com> Cc: penberg@kernel.org, marc.zyngier@arm.com, anup@brainfault.org, rusty@rustcorp.com.au, pranavkumar@linaro.org, michael@ellerman.id.au, Will Deacon To: kvm@vger.kernel.org Return-path: Received: from cam-admin0.cambridge.arm.com ([217.140.96.50]:42930 "EHLO cam-admin0.cambridge.arm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1761451Ab3EAPuf (ORCPT ); Wed, 1 May 2013 11:50:35 -0400 Sender: kvm-owner@vger.kernel.org List-ID: 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(-) -- 1.8.0