From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jonathan Austin Subject: [PATCH 0/2] kvm tools: arm: support Cortex-A7 CPUs Date: Fri, 27 Sep 2013 18:38:50 +0100 Message-ID: <1380303532-4460-1-git-send-email-jonathan.austin@arm.com> Content-Type: text/plain; charset=WINDOWS-1252 Content-Transfer-Encoding: quoted-printable Cc: penberg@kernel.org, marc.zyngier@arm.com, christoffer.dall@linaro.org, STFD002@freescale.com, ulrich.hecht@gmail.com, will.deacon@arm.com, Jonathan Austin To: kvm@vger.kernel.org, kvmarm@lists.cs.columbia.edu Return-path: Received: from service87.mimecast.com ([91.220.42.44]:48956 "EHLO service87.mimecast.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753399Ab3I0RjP (ORCPT ); Fri, 27 Sep 2013 13:39:15 -0400 Sender: kvm-owner@vger.kernel.org List-ID: 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 ti= mer 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 confusi= ng) 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 --=20 1.7.9.5