From mboxrd@z Thu Jan 1 00:00:00 1970 From: Julien Grall Subject: [PATCH v2 0/6] xen/arm: Remove processor specific bits in Xen code Date: Wed, 5 Mar 2014 12:46:20 +0800 Message-ID: <1393994786-17098-1-git-send-email-julien.grall@linaro.org> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from mail6.bemta4.messagelabs.com ([85.158.143.247]) by lists.xen.org with esmtp (Exim 4.72) (envelope-from ) id 1WL3jC-0002ub-6Q for xen-devel@lists.xenproject.org; Wed, 05 Mar 2014 04:46:46 +0000 Received: by mail-pb0-f51.google.com with SMTP id uo5so551222pbc.10 for ; Tue, 04 Mar 2014 20:46:42 -0800 (PST) List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: xen-devel@lists.xenproject.org Cc: stefano.stabellini@citrix.com, Julien Grall , tim@xen.org, ian.campbell@citrix.com List-Id: xen-devel@lists.xenproject.org Hello, This patch series aims to remove Cortex A15 specific bits in common code. To achieve it, the serie introduces specific processor callbacks which will be called at least during VCPU initialisation. In the future, the structure can be easily extented to support new specific callback. This patch series also: - rename some function/define to avoid misuse when new processor will be supported - remove xen/include/asm-arm/processor-ca{15,7}.h which are not used by Xen Sincerely yours, Julien Grall (6): xen/arm32: proc-v7.S: Rename v7_init and ACTLR_V7_SMP xen/arm32: head.S: Remove CA15 and CA7 specific includes xen/arm32: Introduce lookup_processor_type xen/arm64: Implement lookup_processor_type as a dummy function xen/arm: Remove processor specific setup in vcpu_initialise xen/arm: Remove asm-arm/processor-ca{15,7}.h headers xen/arch/arm/Makefile | 1 + xen/arch/arm/arm32/Makefile | 2 +- xen/arch/arm/arm32/head.S | 59 +++++++++++++++++++++++++---------- xen/arch/arm/arm32/proc-caxx.c | 35 +++++++++++++++++++++ xen/arch/arm/arm32/proc-v7.S | 15 ++++++--- xen/arch/arm/arm64/head.S | 7 +++++ xen/arch/arm/domain.c | 8 ++--- xen/arch/arm/processor.c | 49 +++++++++++++++++++++++++++++ xen/arch/arm/setup.c | 3 ++ xen/include/asm-arm/arm32/processor.h | 2 +- xen/include/asm-arm/processor-ca15.h | 42 ------------------------- xen/include/asm-arm/processor-ca7.h | 20 ------------ xen/include/asm-arm/procinfo.h | 17 ++++++++-- 13 files changed, 167 insertions(+), 93 deletions(-) create mode 100644 xen/arch/arm/arm32/proc-caxx.c create mode 100644 xen/arch/arm/processor.c delete mode 100644 xen/include/asm-arm/processor-ca15.h delete mode 100644 xen/include/asm-arm/processor-ca7.h -- 1.8.5.3