From mboxrd@z Thu Jan 1 00:00:00 1970 From: Julien Grall Subject: Re: [RFC for-4.5 4/5] xen/arm: Remove processor specific setup in vcpu_initialise Date: Thu, 20 Feb 2014 16:45:34 +0000 Message-ID: <5306312E.5000009@linaro.org> References: <1392149085-14366-1-git-send-email-julien.grall@linaro.org> <1392149085-14366-5-git-send-email-julien.grall@linaro.org> <1392812318.29739.31.camel@kazak.uk.xensource.com> 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 1WGWkm-00054J-1M for xen-devel@lists.xenproject.org; Thu, 20 Feb 2014 16:45:40 +0000 Received: by mail-ee0-f54.google.com with SMTP id c41so204426eek.27 for ; Thu, 20 Feb 2014 08:45:38 -0800 (PST) In-Reply-To: <1392812318.29739.31.camel@kazak.uk.xensource.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: Ian Campbell Cc: xen-devel@lists.xenproject.org, tim@xen.org, stefano.stabellini@citrix.com List-Id: xen-devel@lists.xenproject.org Hi Ian, On 02/19/2014 12:18 PM, Ian Campbell wrote: > On Tue, 2014-02-11 at 20:04 +0000, Julien Grall wrote: >> diff --git a/xen/arch/arm/arm32/proc-v7-c.c b/xen/arch/arm/arm32/proc-v7-c.c >> new file mode 100644 >> index 0000000..a3b94a2 >> --- /dev/null >> +++ b/xen/arch/arm/arm32/proc-v7-c.c >> @@ -0,0 +1,32 @@ >> +/* >> + * xen/arch/arm/arm32/proc-v7-c.c >> + * >> + * arm v7 specific initializations (C part) > > I think strictly speaking this is actually cortex a{7,15} specific. > Calling this file "proc-v7-ca15.c" or something (core-cortex.c?) would > be nicer than the ugly -c suffix... Right, but it's possible to have some specific quirk written in C for other ARMv7 CPU. I think we need to have a file where we can store v7 code (as proc-v7.S). Creating a file per specific processor for only one function seems odd. I'm open to any other generic name for this file. Cheers, -- Julien Grall