From: Subject: [V2 0/2] Introduce PSCI-0.2 supports Date: Thu, 2 Oct 2014 16:29:41 -0500 Message-ID: <1412285383-25735-1-git-send-email-suravee.suthikulpanit@amd.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: stefano.stabellini@eu.citrix.com, julien.grall@linaro.org, ian.campbell@citrix.com Cc: Suravee Suthikulpanit , xen-devel@lists.xen.org List-Id: xen-devel@lists.xenproject.org From: Suravee Suthikulpanit This patch series introduce PSCI-0.2 supports for: * PSCI_VERSION * CPU_ON * SYSTEM_OFF * SYSTEM_RESET Then, it modifies the shutdown/restart logic to use PSCI-0.2 interface by default when available. Note: This probably do not need to target the 4.5 release. Changes in V2: * 1/2: - Use "uint32_t" instead of "int" for psci_ver. (Julien, Ian) - In psci_init(), modify logic to first try PSCI-0.2, and fallback to 0.1 when not supports (Julien, Ian). - Fix call_psci_system_off() and psci_system_reset() - Rewording of error messages (Julien, Ian) Suravee Suthikulpanit (2): xen/arm: Initial support for PSCI-0.2 (cpu_on, system_off, system_reset) xen/arm: Use PSCI-0.2 for machine_halt/restart by default xen/arch/arm/arm64/smpboot.c | 2 +- xen/arch/arm/platform.c | 2 +- xen/arch/arm/psci.c | 80 +++++++++++++++++++++++++++++++++++++++----- xen/arch/arm/shutdown.c | 25 ++++++++++---- xen/include/asm-arm/psci.h | 4 ++- 5 files changed, 95 insertions(+), 18 deletions(-) -- 1.9.3