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

[Xen-devel] [PATCH 0/4] ARM: add PSCI host support



Xen did not make use of the host provided ARM PSCI (Power State
Coordination Interface) functionality so far, but relied on platform
specific SMP bringup functions.
This series adds support for PSCI on the host by reading the required
information from the DTB and invoking the appropriate handler when
bringing up each single CPU.
Since PSCI is defined for both ARM32 and ARM64, I put the code in a
file shared by both.
The ARM32 code was tested on Midway, but the ARM64 code was compile
tested only.

This approach seems to be the least intrusive, but one could also use
more of the current ARM64 code by copying the PSCI/spin-table
distinction code to a shared file and use that from both
architectures. However that seems more complicated.

Please take a look and complain ;-)

Signed-off-by: Andre Przywara <andre.przywara@xxxxxxxxxx>

Andre Przywara (4):
  arm: parse PSCI node from the host device-tree
  arm: add a function to invoke the PSCI handler and use it
  arm: dont give up on EAGAIN if PSCI is defined
  arm64: defer CPU initialization on ARM64 if PSCI is present

 xen/arch/arm/arm32/smpboot.c |  1 -
 xen/arch/arm/arm64/smpboot.c |  7 +++-
 xen/arch/arm/smpboot.c       | 89 +++++++++++++++++++++++++++++++++++++++++---
 3 files changed, 88 insertions(+), 9 deletions(-)

-- 
1.7.12.1


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