All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 00/17] kvm-unit-tests/arm: initial drop
@ 2014-01-21 16:21 Andrew Jones
  2014-01-21 16:21 ` [PATCH 01/17] remove unused files Andrew Jones
                   ` (18 more replies)
  0 siblings, 19 replies; 47+ messages in thread
From: Andrew Jones @ 2014-01-21 16:21 UTC (permalink / raw)
  To: kvmarm, kvm; +Cc: christoffer.dall

This is a v3 of a series that introduces arm to kvm-unit-tests.
First, it does some tidying up of the repo. Then, it adds support
for virtio-testdev. Next, it adds the basic infrastructure for
booting a test case (guest), and adds a single simple test,
which is a self-test. Finally, it adds support for vectors and
self-tests for that support.

This initial drop doesn't require kvmarm. Only qemu-system-arm,
recent enough to have mach-virt, and the virtio-testdev patch[1],
is required.

[1] http://lists.nongnu.org/archive/html/qemu-devel/2013-12/msg00690.html

These patches are also available from a git repo here
https://github.com/rhdrjones/kvm-unit-tests/commits/arm-branch/master

Andrew Jones (16):
  remove unused files
  makefile and run_tests tweaks
  clean root dir of all x86-ness
  gitignore: Ignore more
  add 'make cscope' support
  Add halt() and some error codes
  move x86's simple heap management to common code
  Introduce libio to common code for io read/write
  libfdt: Import libfdt source
  libfdt: get libfdt to build
  add support for device trees
  Introduce virtio-testdev
  arm: initial drop
  printf: support field padding
  arm: add useful headers from the linux kernel
  arm: vectors support

Christoffer Dall (1):
  arm: Add IO accessors to avoid register-writeback

 .gitignore                   |    6 +
 Makefile                     |   50 +-
 README                       |   55 +-
 arm/cstart.S                 |  196 ++++++
 arm/flat.lds                 |   23 +
 arm/run                      |   19 +
 arm/selftest.c               |  149 +++++
 arm/unittests.cfg            |   29 +
 config-i386.mak              |   13 -
 config-ia64.mak              |    7 -
 config-powerpc-440.mak       |   15 -
 config-powerpc.mak           |   39 --
 config-x86-common.mak        |  122 ----
 config-x86_64.mak            |   14 -
 config/config-arm.mak        |   80 +++
 config/config-i386.mak       |   12 +
 config/config-x86-common.mak |  121 ++++
 config/config-x86_64.mak     |   13 +
 configure                    |   27 +-
 docs/testdev.txt             |   11 +
 flat.lds                     |   21 -
 formats                      |   31 -
 iotable.c                    |   53 --
 iotable.h                    |   40 --
 kvmtrace.c                   |  706 --------------------
 kvmtrace_format              |  532 ---------------
 lib/argv.c                   |    6 +
 lib/arm/asm-offsets.h        |   27 +
 lib/arm/cp15.h               |   36 +
 lib/arm/eabi_compat.c        |   20 +
 lib/arm/io.c                 |   44 ++
 lib/arm/io.h                 |   78 +++
 lib/arm/processor.c          |  103 +++
 lib/arm/processor.h          |   35 +
 lib/arm/ptrace.h             |  100 +++
 lib/arm/setup.c              |   46 ++
 lib/arm/sysinfo.h            |   12 +
 lib/devicetree.c             |  257 +++++++
 lib/devicetree.h             |   95 +++
 lib/errno.h                  |   22 +
 lib/fwcfg.c                  |   58 --
 lib/heap.c                   |   45 ++
 lib/heap.h                   |    8 +
 lib/libcflat.h               |   13 +-
 lib/libfdt/Makefile.libfdt   |   10 +
 lib/libfdt/README            |    4 +
 lib/libfdt/fdt.c             |  250 +++++++
 lib/libfdt/fdt.h             |  111 ++++
 lib/libfdt/fdt_empty_tree.c  |   84 +++
 lib/libfdt/fdt_ro.c          |  573 ++++++++++++++++
 lib/libfdt/fdt_rw.c          |  492 ++++++++++++++
 lib/libfdt/fdt_strerror.c    |   96 +++
 lib/libfdt/fdt_sw.c          |  256 +++++++
 lib/libfdt/fdt_wip.c         |  118 ++++
 lib/libfdt/libfdt.h          | 1514 ++++++++++++++++++++++++++++++++++++++++++
 lib/libfdt/libfdt_env.h      |  112 ++++
 lib/libfdt/libfdt_internal.h |   95 +++
 lib/libfdt/version.lds       |   60 ++
 lib/libio.h                  |  177 +++++
 lib/panic.c                  |   13 -
 lib/powerpc/44x/map.c        |   51 --
 lib/powerpc/44x/timebase.S   |   28 -
 lib/powerpc/44x/timebase.h   |   25 -
 lib/powerpc/44x/tlbwe.S      |   29 -
 lib/powerpc/io.c             |   35 -
 lib/printf.c                 |   82 ++-
 lib/string.c                 |   51 ++
 lib/virtio-testdev.c         |  139 ++++
 lib/virtio-testdev.h         |    9 +
 lib/virtio.c                 |  126 ++++
 lib/virtio.h                 |   74 +++
 lib/x86/vm.c                 |   33 +-
 main-ppc.c                   |  383 -----------
 powerpc/44x/tlbsx.S          |   33 -
 powerpc/44x/tlbwe.S          |   27 -
 powerpc/44x/tlbwe_16KB.S     |   35 -
 powerpc/44x/tlbwe_hole.S     |   27 -
 powerpc/cstart.S             |   38 --
 powerpc/exit.c               |   23 -
 powerpc/helloworld.c         |   27 -
 powerpc/io.S                 |   32 -
 powerpc/spin.S               |    4 -
 powerpc/sprg.S               |    7 -
 run_tests.sh                 |   19 +-
 scripts/arm/asm-offsets.c    |   40 ++
 testdev.txt                  |   14 -
 x86-run                      |   41 --
 x86/README                   |   60 +-
 x86/flat.lds                 |   21 +
 x86/print.h                  |   19 -
 x86/run                      |   41 ++
 x86/run-kvm-unit-tests       |    6 -
 92 files changed, 6267 insertions(+), 2666 deletions(-)
 create mode 100644 arm/cstart.S
 create mode 100644 arm/flat.lds
 create mode 100755 arm/run
 create mode 100644 arm/selftest.c
 create mode 100644 arm/unittests.cfg
 delete mode 100644 config-i386.mak
 delete mode 100644 config-ia64.mak
 delete mode 100644 config-powerpc-440.mak
 delete mode 100644 config-powerpc.mak
 delete mode 100644 config-x86-common.mak
 delete mode 100644 config-x86_64.mak
 create mode 100644 config/config-arm.mak
 create mode 100644 config/config-i386.mak
 create mode 100644 config/config-x86-common.mak
 create mode 100644 config/config-x86_64.mak
 create mode 100644 docs/testdev.txt
 delete mode 100644 flat.lds
 delete mode 100644 formats
 delete mode 100644 iotable.c
 delete mode 100644 iotable.h
 delete mode 100644 kvmtrace.c
 delete mode 100755 kvmtrace_format
 create mode 100644 lib/arm/asm-offsets.h
 create mode 100644 lib/arm/cp15.h
 create mode 100644 lib/arm/eabi_compat.c
 create mode 100644 lib/arm/io.c
 create mode 100644 lib/arm/io.h
 create mode 100644 lib/arm/processor.c
 create mode 100644 lib/arm/processor.h
 create mode 100644 lib/arm/ptrace.h
 create mode 100644 lib/arm/setup.c
 create mode 100644 lib/arm/sysinfo.h
 create mode 100644 lib/devicetree.c
 create mode 100644 lib/devicetree.h
 create mode 100644 lib/errno.h
 delete mode 100644 lib/fwcfg.c
 create mode 100644 lib/heap.c
 create mode 100644 lib/heap.h
 create mode 100644 lib/libfdt/Makefile.libfdt
 create mode 100644 lib/libfdt/README
 create mode 100644 lib/libfdt/fdt.c
 create mode 100644 lib/libfdt/fdt.h
 create mode 100644 lib/libfdt/fdt_empty_tree.c
 create mode 100644 lib/libfdt/fdt_ro.c
 create mode 100644 lib/libfdt/fdt_rw.c
 create mode 100644 lib/libfdt/fdt_strerror.c
 create mode 100644 lib/libfdt/fdt_sw.c
 create mode 100644 lib/libfdt/fdt_wip.c
 create mode 100644 lib/libfdt/libfdt.h
 create mode 100644 lib/libfdt/libfdt_env.h
 create mode 100644 lib/libfdt/libfdt_internal.h
 create mode 100644 lib/libfdt/version.lds
 create mode 100644 lib/libio.h
 delete mode 100644 lib/panic.c
 delete mode 100644 lib/powerpc/44x/map.c
 delete mode 100644 lib/powerpc/44x/timebase.S
 delete mode 100644 lib/powerpc/44x/timebase.h
 delete mode 100644 lib/powerpc/44x/tlbwe.S
 delete mode 100644 lib/powerpc/io.c
 create mode 100644 lib/virtio-testdev.c
 create mode 100644 lib/virtio-testdev.h
 create mode 100644 lib/virtio.c
 create mode 100644 lib/virtio.h
 delete mode 100644 main-ppc.c
 delete mode 100644 powerpc/44x/tlbsx.S
 delete mode 100644 powerpc/44x/tlbwe.S
 delete mode 100644 powerpc/44x/tlbwe_16KB.S
 delete mode 100644 powerpc/44x/tlbwe_hole.S
 delete mode 100644 powerpc/cstart.S
 delete mode 100644 powerpc/exit.c
 delete mode 100644 powerpc/helloworld.c
 delete mode 100644 powerpc/io.S
 delete mode 100644 powerpc/spin.S
 delete mode 100644 powerpc/sprg.S
 create mode 100644 scripts/arm/asm-offsets.c
 delete mode 100644 testdev.txt
 delete mode 100755 x86-run
 create mode 100644 x86/flat.lds
 delete mode 100644 x86/print.h
 create mode 100755 x86/run
 delete mode 100644 x86/run-kvm-unit-tests

-- 
1.8.1.4


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

end of thread, other threads:[~2014-02-04  8:33 UTC | newest]

Thread overview: 47+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-01-21 16:21 [PATCH 00/17] kvm-unit-tests/arm: initial drop Andrew Jones
2014-01-21 16:21 ` [PATCH 01/17] remove unused files Andrew Jones
2014-01-21 16:21 ` [PATCH 02/17] makefile and run_tests tweaks Andrew Jones
2014-01-21 16:21 ` [PATCH 03/17] clean root dir of all x86-ness Andrew Jones
2014-01-21 16:21 ` [PATCH 04/17] gitignore: Ignore more Andrew Jones
2014-01-21 16:21 ` [PATCH 05/17] add 'make cscope' support Andrew Jones
2014-02-02  2:22   ` Christoffer Dall
2014-02-03 13:25     ` Andrew Jones
2014-01-21 16:21 ` [PATCH 06/17] Add halt() and some error codes Andrew Jones
2014-02-02  2:23   ` Christoffer Dall
2014-01-21 16:21 ` [PATCH 07/17] move x86's simple heap management to common code Andrew Jones
2014-02-02  2:23   ` Christoffer Dall
2014-01-21 16:21 ` [PATCH 08/17] Introduce libio to common code for io read/write Andrew Jones
2014-02-02  2:24   ` Christoffer Dall
2014-02-03 13:51     ` Andrew Jones
2014-02-03 16:30       ` Christoffer Dall
2014-01-21 16:21 ` [PATCH 10/17] libfdt: get libfdt to build Andrew Jones
2014-02-02  2:25   ` Christoffer Dall
2014-02-03 13:57     ` Andrew Jones
2014-01-21 16:21 ` [PATCH 11/17] add support for device trees Andrew Jones
2014-02-02  2:27   ` Christoffer Dall
2014-02-03 15:31     ` Andrew Jones
2014-02-03 16:36       ` Christoffer Dall
2014-01-21 16:21 ` [PATCH 12/17] Introduce virtio-testdev Andrew Jones
2014-02-02  2:27   ` Christoffer Dall
2014-02-03 15:44     ` Andrew Jones
2014-02-03 16:41       ` Christoffer Dall
2014-01-21 16:21 ` [PATCH 13/17] arm: initial drop Andrew Jones
2014-02-02  2:28   ` Christoffer Dall
2014-02-03 15:55     ` Andrew Jones
2014-01-21 16:22 ` [PATCH 14/17] arm: Add IO accessors to avoid register-writeback Andrew Jones
2014-01-21 16:22 ` [PATCH 15/17] printf: support field padding Andrew Jones
2014-02-02  2:28   ` Christoffer Dall
2014-01-21 16:22 ` [PATCH 16/17] arm: add useful headers from the linux kernel Andrew Jones
2014-02-02  2:29   ` Christoffer Dall
2014-02-03 16:46     ` Andrew Jones
2014-02-03 17:38       ` Christoffer Dall
2014-01-21 16:22 ` [PATCH 17/17] arm: vectors support Andrew Jones
2014-02-02  2:29   ` Christoffer Dall
2014-02-03 16:50     ` Andrew Jones
2014-02-03 21:19       ` Christoffer Dall
2014-02-04  7:12         ` Andrew Jones
     [not found] ` <CABWnSnPMc_CrH8N28TScBVvQmCk+XD-bVWvdmJAxxVczHsVx_g@mail.gmail.com>
2014-01-29 15:35   ` [PATCH 00/17] kvm-unit-tests/arm: initial drop Andrew Jones
2014-02-02  2:22 ` Christoffer Dall
2014-02-03 13:24   ` Andrew Jones
     [not found]     ` <CALxX4v-h+gOCZDukCnGK_GUQepu07KYw4BGjzjGNgA0SdDcLNw@mail.gmail.com>
2014-02-04  8:33       ` Andrew Jones
     [not found] ` <1390321323-1855-10-git-send-email-drjones@redhat.com>
2014-02-02  2:25   ` [PATCH 09/17] libfdt: Import libfdt source Christoffer Dall

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.