kvm.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [RFC PATCH 00/16] kvm tools: add support for ARMv7 processors
@ 2012-11-12 11:57 Will Deacon
  2012-11-12 11:57 ` [RFC PATCH 01/16] kvm tools: include arch uapi/asm directories in include path Will Deacon
                   ` (17 more replies)
  0 siblings, 18 replies; 41+ messages in thread
From: Will Deacon @ 2012-11-12 11:57 UTC (permalink / raw)
  To: kvm; +Cc: penberg, marc.zyngier, c.dall, matt.evans, peter.maydell,
	Will Deacon

Hello,

This patch series adds support for ARMv7 processors (Cortex-A15) to kvm
tool. The majority of the series consists of small changes in
preparation for ARM support, which is added by the final patch. I can
try to split this up further, but given that there is no current support
for ARM, the sub-patches wouldn't be especially meaningful.

To boot a guest, you will need:

  - A Cortex-A15 platform with a kvm-capable bootloader
  - The latest kvm-arm patches:
    git://github.com/virtualopensystems/linux-kvm-arm.git kvm-arm-master
  - A guest kernel configured for our virtual target:
    git://git.kernel.org/pub/scm/linux/kernel/git/will/kvmtool.git kvm/mach-virt

I'm also working on an ARMv8 (AArch64) port which fits neatly into the
code presented here.

All feedback welcome,

Will


Will Deacon (16):
  kvm tools: include arch uapi/asm directories in include path
  kvm tools: only enable LTO if supported by GCC
  kvm tools: avoid linking dynamically against libbfd
  kvm tools: specify compiler by name when overriding make default
  kvm tools: don't bother including linux/compiler.h
  kvm tools: don't pass -Wcast-align to the compiler
  kvm tools: die if init_list__init returns failure
  kvm tools: add generic device registration mechanism
  kvm tools: make _FDT macro usable by other architectures
  kvm tools: virtio-mmio: use subsys_id instead of pci device ID
  kvm tools: virtio: add dummy set_size_vq implementations
  kvm tools: allow arch to specify default virtio transport
  kvm tools: keep track of registered memory banks in struct kvm
  kvm tools: teach guest_flat_to_host about memory banks starting above
    0
  kvm tools: provide a mechanism for translating host to guest
    addresses
  kvm tools: add support for ARMv7 processors

 tools/kvm/Makefile                           |   38 +++-
 tools/kvm/arm/aarch32/cortex-a15.c           |   98 ++++++++++
 tools/kvm/arm/aarch32/include/kvm/barrier.h  |   10 +
 tools/kvm/arm/aarch32/include/kvm/kvm-arch.h |   28 +++
 tools/kvm/arm/aarch32/kvm-cpu.c              |  111 +++++++++++
 tools/kvm/arm/aarch32/smp-pen.S              |   14 ++
 tools/kvm/arm/fdt.c                          |  269 ++++++++++++++++++++++++++
 tools/kvm/arm/gic.c                          |   86 ++++++++
 tools/kvm/arm/include/arm-common/gic.h       |   29 +++
 tools/kvm/arm/include/arm-common/kvm-arch.h  |   31 +++
 tools/kvm/arm/include/arm-common/smp.h       |    7 +
 tools/kvm/arm/include/kvm/kvm-cpu-arch.h     |   47 +++++
 tools/kvm/arm/ioport.c                       |    5 +
 tools/kvm/arm/irq.c                          |   25 +++
 tools/kvm/arm/kvm-cpu.c                      |  112 +++++++++++
 tools/kvm/arm/kvm.c                          |   69 +++++++
 tools/kvm/arm/smp.c                          |   13 ++
 tools/kvm/builtin-run.c                      |    3 +-
 tools/kvm/devices.c                          |   24 +++
 tools/kvm/hw/pci-shmem.c                     |    8 +-
 tools/kvm/hw/vesa.c                          |    8 +-
 tools/kvm/include/kvm/devices.h              |   21 ++
 tools/kvm/include/kvm/fdt.h                  |   26 +++
 tools/kvm/include/kvm/kvm.h                  |   16 +-
 tools/kvm/include/kvm/pci.h                  |    2 -
 tools/kvm/include/kvm/virtio-mmio.h          |    1 +
 tools/kvm/include/kvm/virtio-pci.h           |    2 +
 tools/kvm/include/linux/stddef.h             |    6 -
 tools/kvm/kvm.c                              |   55 +++++-
 tools/kvm/pci.c                              |   40 ++---
 tools/kvm/powerpc/include/kvm/kvm-arch.h     |   13 +-
 tools/kvm/powerpc/irq.c                      |    3 +-
 tools/kvm/powerpc/kvm.c                      |    2 +-
 tools/kvm/powerpc/spapr_pci.c                |    4 +-
 tools/kvm/virtio/9p.c                        |   10 +-
 tools/kvm/virtio/balloon.c                   |    3 +-
 tools/kvm/virtio/blk.c                       |    3 +-
 tools/kvm/virtio/console.c                   |   10 +-
 tools/kvm/virtio/mmio.c                      |    9 +-
 tools/kvm/virtio/pci.c                       |    7 +-
 tools/kvm/virtio/rng.c                       |   10 +-
 tools/kvm/virtio/scsi.c                      |    3 +-
 tools/kvm/x86/include/kvm/kvm-arch.h         |   11 +-
 tools/kvm/x86/kvm.c                          |    7 +
 44 files changed, 1214 insertions(+), 85 deletions(-)
 create mode 100644 tools/kvm/arm/aarch32/cortex-a15.c
 create mode 100644 tools/kvm/arm/aarch32/include/kvm/barrier.h
 create mode 100644 tools/kvm/arm/aarch32/include/kvm/kvm-arch.h
 create mode 100644 tools/kvm/arm/aarch32/kvm-cpu.c
 create mode 100644 tools/kvm/arm/aarch32/smp-pen.S
 create mode 100644 tools/kvm/arm/fdt.c
 create mode 100644 tools/kvm/arm/gic.c
 create mode 100644 tools/kvm/arm/include/arm-common/gic.h
 create mode 100644 tools/kvm/arm/include/arm-common/kvm-arch.h
 create mode 100644 tools/kvm/arm/include/arm-common/smp.h
 create mode 100644 tools/kvm/arm/include/kvm/kvm-cpu-arch.h
 create mode 100644 tools/kvm/arm/ioport.c
 create mode 100644 tools/kvm/arm/irq.c
 create mode 100644 tools/kvm/arm/kvm-cpu.c
 create mode 100644 tools/kvm/arm/kvm.c
 create mode 100644 tools/kvm/arm/smp.c
 create mode 100644 tools/kvm/devices.c
 create mode 100644 tools/kvm/include/kvm/devices.h
 create mode 100644 tools/kvm/include/kvm/fdt.h

-- 
1.7.4.1


^ permalink raw reply	[flat|nested] 41+ messages in thread

end of thread, other threads:[~2012-11-20 21:01 UTC | newest]

Thread overview: 41+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-11-12 11:57 [RFC PATCH 00/16] kvm tools: add support for ARMv7 processors Will Deacon
2012-11-12 11:57 ` [RFC PATCH 01/16] kvm tools: include arch uapi/asm directories in include path Will Deacon
2012-11-12 11:57 ` [RFC PATCH 02/16] kvm tools: only enable LTO if supported by GCC Will Deacon
2012-11-12 11:57 ` [RFC PATCH 03/16] kvm tools: avoid linking dynamically against libbfd Will Deacon
2012-11-12 11:57 ` [RFC PATCH 04/16] kvm tools: specify compiler by name when overriding make default Will Deacon
2012-11-12 11:57 ` [RFC PATCH 05/16] kvm tools: don't bother including linux/compiler.h Will Deacon
2012-11-13  7:26   ` Pekka Enberg
2012-11-16 10:06     ` Will Deacon
2012-11-16 22:01       ` Pekka Enberg
2012-11-19 10:33         ` Will Deacon
2012-11-19 11:42           ` Pekka Enberg
2012-11-12 11:57 ` [RFC PATCH 06/16] kvm tools: don't pass -Wcast-align to the compiler Will Deacon
2012-11-12 11:57 ` [RFC PATCH 07/16] kvm tools: die if init_list__init returns failure Will Deacon
2012-11-12 11:57 ` [RFC PATCH 08/16] kvm tools: add generic device registration mechanism Will Deacon
2012-11-13  4:29   ` Sasha Levin
2012-11-13 10:24     ` Will Deacon
2012-11-12 11:57 ` [RFC PATCH 09/16] kvm tools: make _FDT macro usable by other architectures Will Deacon
2012-11-12 11:57 ` [RFC PATCH 10/16] kvm tools: virtio-mmio: use subsys_id instead of pci device ID Will Deacon
2012-11-12 11:57 ` [RFC PATCH 11/16] kvm tools: virtio: add dummy set_size_vq implementations Will Deacon
2012-11-12 11:57 ` [RFC PATCH 12/16] kvm tools: allow arch to specify default virtio transport Will Deacon
2012-11-12 11:57 ` [RFC PATCH 13/16] kvm tools: keep track of registered memory banks in struct kvm Will Deacon
2012-11-13  4:37   ` Sasha Levin
2012-11-13 12:16     ` Will Deacon
2012-11-13 16:09       ` Sasha Levin
2012-11-13 16:21         ` Will Deacon
2012-11-20 17:15     ` Will Deacon
2012-11-20 21:01       ` Sasha Levin
2012-11-12 11:57 ` [RFC PATCH 14/16] kvm tools: teach guest_flat_to_host about memory banks starting above 0 Will Deacon
2012-11-13  4:47   ` Sasha Levin
2012-11-12 11:57 ` [RFC PATCH 15/16] kvm tools: provide a mechanism for translating host to guest addresses Will Deacon
2012-11-12 11:57 ` [RFC PATCH 16/16] kvm tools: add support for ARMv7 processors Will Deacon
2012-11-13  7:39   ` Pekka Enberg
2012-11-13 10:21     ` Matt Evans
2012-11-13 10:28       ` Pekka Enberg
2012-11-13 18:34         ` Will Deacon
2012-11-12 12:18 ` [RFC PATCH 00/16] " Christoffer Dall
2012-11-12 12:27   ` Will Deacon
2012-11-12 12:52     ` Christoffer Dall
2012-11-12 22:40       ` Christoffer Dall
2012-11-13 10:27         ` Will Deacon
2012-11-13  7:37 ` Pekka Enberg

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).