This series adds support for aarch64 to the kvm-unit-tests framework, bringing it to the same level as the arm support. In the process a few tweaks to the arm support were made, as one of the main goals was to share as much code as possible between the two.
Patches 01 : A fix for the script runner. We need this one for arm regardless of the aarch64 support. 02-03: Fixes to the arm support. The bugs fixed weren't visible until running on aarch64. 04-07: Prep the arm framework for the bare minimal initial drop 08 : The bare minimal initial drop 09 : Add vector support to the minimal drop 10-12: Prep the arm framework for enabling the mmu on aarch64 13-14: Prep the aarch64 framework for enabling the mmu 15 : Enables the mmu on aarch64 These patches are also available here https://github.com/rhdrjones/kvm-unit-tests/tree/arm64/initial-drop Thanks, drew Andrew Jones (15): arm: fix run script testdev probing virtio: don't use size_t arm: setup: fix type mismatch Makefile: cscope may need to look in lib/$ARCH arm: use absolute headers arm: setup: drop unused arguments arm: selftest: rename svc mode to kernel mode arm64: initial drop arm64: vectors support arm: get PHYS_MASK from pgtable-hwdef.h arm: import more linux page table api arm: prepare mmu code for arm64 arm64: import some Linux page table API arm64: prepare for 64k pages arm64: enable mmu Makefile | 4 +- arm/cstart.S | 18 ++- arm/cstart64.S | 252 ++++++++++++++++++++++++++++++++++++++++++ arm/flat.lds | 11 +- arm/run | 12 +- arm/selftest.c | 141 +++++++++++++++++++++-- arm/unittests.cfg | 12 +- config/config-arm-common.mak | 69 ++++++++++++ config/config-arm.mak | 74 ++----------- config/config-arm64.mak | 21 ++++ configure | 12 +- lib/arm/asm-offsets.c | 11 +- lib/arm/asm/asm-offsets.h | 2 +- lib/arm/asm/io.h | 8 +- lib/arm/asm/mmu-api.h | 14 +++ lib/arm/asm/mmu.h | 27 ++--- lib/arm/asm/page.h | 7 +- lib/arm/asm/pgtable-hwdef.h | 44 +++++++- lib/arm/asm/pgtable.h | 91 +++++++++++++++ lib/arm/asm/processor.h | 2 +- lib/arm/asm/ptrace.h | 2 +- lib/arm/asm/setup.h | 11 +- lib/arm/eabi_compat.c | 2 +- lib/arm/io.c | 10 +- lib/arm/mmu.c | 82 ++++++++++---- lib/arm/processor.c | 6 +- lib/arm/setup.c | 19 ++-- lib/arm/spinlock.c | 8 +- lib/arm64/.gitignore | 1 + lib/arm64/asm-offsets.c | 30 +++++ lib/arm64/asm/asm-offsets.h | 1 + lib/arm64/asm/barrier.h | 17 +++ lib/arm64/asm/esr.h | 43 +++++++ lib/arm64/asm/io.h | 84 ++++++++++++++ lib/arm64/asm/mmu-api.h | 1 + lib/arm64/asm/mmu.h | 24 ++++ lib/arm64/asm/page.h | 65 +++++++++++ lib/arm64/asm/pgtable-hwdef.h | 136 +++++++++++++++++++++++ lib/arm64/asm/pgtable.h | 69 ++++++++++++ lib/arm64/asm/processor.h | 66 +++++++++++ lib/arm64/asm/ptrace.h | 95 ++++++++++++++++ lib/arm64/asm/setup.h | 1 + lib/arm64/asm/spinlock.h | 15 +++ lib/arm64/processor.c | 192 ++++++++++++++++++++++++++++++++ lib/chr-testdev.c | 4 +- lib/kbuild.h | 8 ++ lib/virtio.c | 2 +- lib/virtio.h | 3 +- 48 files changed, 1638 insertions(+), 191 deletions(-) create mode 100644 arm/cstart64.S create mode 100644 config/config-arm-common.mak create mode 100644 config/config-arm64.mak create mode 100644 lib/arm/asm/mmu-api.h create mode 100644 lib/arm/asm/pgtable.h create mode 100644 lib/arm64/.gitignore create mode 100644 lib/arm64/asm-offsets.c create mode 100644 lib/arm64/asm/asm-offsets.h create mode 100644 lib/arm64/asm/barrier.h create mode 100644 lib/arm64/asm/esr.h create mode 100644 lib/arm64/asm/io.h create mode 100644 lib/arm64/asm/mmu-api.h create mode 100644 lib/arm64/asm/mmu.h create mode 100644 lib/arm64/asm/page.h create mode 100644 lib/arm64/asm/pgtable-hwdef.h create mode 100644 lib/arm64/asm/pgtable.h create mode 100644 lib/arm64/asm/processor.h create mode 100644 lib/arm64/asm/ptrace.h create mode 100644 lib/arm64/asm/setup.h create mode 100644 lib/arm64/asm/spinlock.h create mode 100644 lib/arm64/processor.c create mode 100644 lib/kbuild.h -- 1.9.3 -- To unsubscribe from this list: send the line "unsubscribe kvm" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html