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

Re: [Xen-devel] [V2 1/2] xen/arm: Initial support for PSCI-0.2 (cpu_on, system_off, system_reset)



Hi Suravee,

On 10/02/2014 10:29 PM, suravee.suthikulpanit@xxxxxxx wrote:
> From: Suravee Suthikulpanit <Suravee.Suthikulpanit@xxxxxxx>
> 
> This patch adds SMC calls to suport PSCI-0.2:

s/suport/support/

>   * PSCI_VERSION
>   * CPU_ON
>   * SYSTEM_OFF
>   * SYSTEM_RESET
>
> First, the psci_init() is refactored to handle both PSCI-0.1 and PSCI-0.2.
> 
> To add support for PSCI_VERSION, this patch replaces the "bool_t 
> psci_available"
> variable with "int psci_ver", which contains the PSCI_VERSION as described in 
> the
> PSCI-0.2 spec. For v0.1, this psci_ver is 1.
> 
> Signed-off-by: Suravee Suthikulpanit <Suravee.Suthikulpanit@xxxxxxx>

We would have to implement CPU_OFF at some point. As it's not done for
PSCI v0.1, I guess it's not too important.

Reviewed-by: Julien Grall <julien.grall@xxxxxxxxxx>

Regards,

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