From: Julien Grall <julien.grall@linaro.org>
To: Ian Campbell <Ian.Campbell@citrix.com>
Cc: stefano.stabellini@eu.citrix.com, patches@linaro.org,
xen-devel@lists.xen.org
Subject: Re: [PATCH] xen/arm: Don't set the ACTLR SMP bit for 64 bit guests
Date: Wed, 04 Sep 2013 14:37:52 +0100 [thread overview]
Message-ID: <522737B0.5000706@linaro.org> (raw)
In-Reply-To: <1378223775.17510.23.camel@kazak.uk.xensource.com>
On 09/03/2013 04:56 PM, Ian Campbell wrote:
> On Thu, 2013-08-29 at 18:28 +0100, Julien Grall wrote:
>> The ACTLR register is implementation defined. The SMP bit is CA15 and CA7
>> specific. Also replace ACTLR_CA15_SMP by ACTLR_V7_SMP.
>>
>> Signed-off-by: Julien Grall <julien.grall@linaro.org>
>
> I'm afraid this breaks the arm64 build:
> domain.c: In function 'vcpu_initialise':
> domain.c:482:30: error: 'ACTLR_V7_SMP' undeclared (first use in this function)
> domain.c:482:30: note: each undeclared identifier is reported only once for eac
> h function it appears in
>
> I'm not sure it is worth putting *that* much effort into a CA15/CA7
> kernel as a 32-bit guest on a 64-bit processor, at least not right now.
> The interesting use case of this support is really a 32-bit kernel which
> is aware that it is running in AArch32 EL1 on a 64-bit processor (i.e.
> knows about the 64-bit processors implementation specific stuff)
>
> How about moving this into a proc info hook, or just ifdeffing it for
> 32-bit?
The first solution sounds better. I will rewrite the patch to add a proc
info hook.
--
Julien Grall
prev parent reply other threads:[~2013-09-04 13:37 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-08-29 17:28 [PATCH] xen/arm: Don't set the ACTLR SMP bit for 64 bit guests Julien Grall
2013-09-03 15:56 ` Ian Campbell
2013-09-04 13:37 ` Julien Grall [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=522737B0.5000706@linaro.org \
--to=julien.grall@linaro.org \
--cc=Ian.Campbell@citrix.com \
--cc=patches@linaro.org \
--cc=stefano.stabellini@eu.citrix.com \
--cc=xen-devel@lists.xen.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.