[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-devel] [PATCH RFC 04/15] xen: arm: add enable-method to cpu nodes for arm64 guests.



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 <ian.campbell@xxxxxxxxxx>
Acked-by: Julien Grall <julien.grall@xxxxxxxxxx>

> ---
>  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

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxx
http://lists.xen.org/xen-devel


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.