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

[Xen-devel] [V2 0/2] Introduce PSCI-0.2 supports



From: Suravee Suthikulpanit <Suravee.Suthikulpanit@xxxxxxx>

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


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