From mboxrd@z Thu Jan 1 00:00:00 1970 From: Julien Grall Subject: Re: [PATCH RFC 04/15] xen: arm: add enable-method to cpu nodes for arm64 guests. Date: Thu, 10 Oct 2013 15:40:15 +0100 Message-ID: <5256BC4F.2030801@linaro.org> References: <1381163944.21562.129.camel@kazak.uk.xensource.com> <1381164001-1446-4-git-send-email-ian.campbell@citrix.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <1381164001-1446-4-git-send-email-ian.campbell@citrix.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: stefano.stabellini@eu.citrix.com, tim@xen.org, xen-devel@lists.xen.org List-Id: xen-devel@lists.xenproject.org On 10/07/2013 05:39 PM, Ian Campbell wrote: > This is required by the Linux arm64 boot protocol. > > We use PSCI. > > Signed-off-by: Ian Campbell Acked-by: Julien Grall > --- > xen/arch/arm/domain_build.c | 7 +++++++ > 1 file changed, 7 insertions(+) > > diff --git a/xen/arch/arm/domain_build.c b/xen/arch/arm/domain_build.c > index 1287934..10dea5d 100644 > --- a/xen/arch/arm/domain_build.c > +++ b/xen/arch/arm/domain_build.c > @@ -468,6 +468,13 @@ static int make_cpus_node(const struct domain *d, void *fdt, > if ( res ) > return res; > > + if ( is_pv64_domain(d) ) > + { > + res = fdt_property_string(fdt, "enable-method", "psci"); > + if ( res ) > + return res; > + } > + > res = fdt_end_node(fdt); > if ( res ) > return res; > -- Julien Grall