From mboxrd@z Thu Jan 1 00:00:00 1970 From: Julien Grall Subject: Re: [V2 1/2] xen/arm: Initial support for PSCI-0.2 (cpu_on, system_off, system_reset) Date: Fri, 03 Oct 2014 15:50:55 +0100 Message-ID: <542EB7CF.6070001@linaro.org> References: <1412285383-25735-1-git-send-email-suravee.suthikulpanit@amd.com> <1412285383-25735-2-git-send-email-suravee.suthikulpanit@amd.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <1412285383-25735-2-git-send-email-suravee.suthikulpanit@amd.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: suravee.suthikulpanit@amd.com, stefano.stabellini@eu.citrix.com, ian.campbell@citrix.com Cc: xen-devel@lists.xen.org List-Id: xen-devel@lists.xenproject.org Hi Suravee, On 10/02/2014 10:29 PM, suravee.suthikulpanit@amd.com wrote: > From: Suravee Suthikulpanit > > 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 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 Regards, -- Julien Grall