These two patches allow KVM-tool to exploit the Cortex-A7 support for KVM
recently posted to the kvmarm mailing list.
The first patch is a standalone cleanup to extract previously duplicated timer
setup code, and allows us to add A7 support in a small subsequent patch.
Note: the removal of the timer code makes git refuse to see the following:
tools/kvm/arm/aarch32/{cortex_a15.c --> arm-cpu.c}
tools/kvm/arm/aarch64/{cortex_a57.c --> arm-cpu.c}
(even when passed -M40 git's decisions about what's new/renamed are confusing)
The second patch should not be merged before the Cortex-A7 support patches
posted recently to the kvmarm list hit the kernel, as kvm-tool for ARM will not
build if KVM_ARM_TARGET_CORTEX_A7 (added with that series) is not defined.
Jonathan Austin (2):
kvm tools: arm: extract common timer support code for ARM cpus
kvm tools: arm: add support for ARM Cortex-A7
tools/kvm/Makefile | 6 +--
tools/kvm/arm/aarch32/arm-cpu.c | 42 ++++++++++++++++
tools/kvm/arm/aarch32/cortex-a15.c | 61 -----------------------
tools/kvm/arm/aarch64/arm-cpu.c | 50 +++++++++++++++++++
tools/kvm/arm/aarch64/cortex-a57.c | 80 ------------------------------
tools/kvm/arm/include/arm-common/timer.h | 6 +++
tools/kvm/arm/timer.c | 38 ++++++++++++++
7 files changed, 139 insertions(+), 144 deletions(-)
create mode 100644 tools/kvm/arm/aarch32/arm-cpu.c
delete mode 100644 tools/kvm/arm/aarch32/cortex-a15.c
create mode 100644 tools/kvm/arm/aarch64/arm-cpu.c
delete mode 100644 tools/kvm/arm/aarch64/cortex-a57.c
create mode 100644 tools/kvm/arm/include/arm-common/timer.h
create mode 100644 tools/kvm/arm/timer.c
--
1.7.9.5
--
To unsubscribe from this list: send the line "unsubscribe kvm" in
the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html