arm-trusted-firmware/services/std_svc/psci
Soby Mathew ac1cc8eb76 PSCI: Add pwr_domain_pwr_down_wfi() hook in plat_psci_ops
This patch adds a new optional platform hook `pwr_domain_pwr_down_wfi()` in
the plat_psci_ops structure. This hook allows the platform to perform platform
specific actions including the wfi invocation to enter powerdown. This hook
is invoked by both psci_do_cpu_off() and psci_cpu_suspend_start() functions.
The porting-guide.md is also updated for the same.

This patch also modifies the `psci_power_down_wfi()` function to invoke
`plat_panic_handler` incase of panic instead of the busy while loop.

Fixes ARM-Software/tf-issues#375

Change-Id: Iba104469a1445ee8d59fb3a6fdd0a98e7f24dfa3
2016-05-25 14:00:00 +01:00
..
psci_common.c PSCI: Resolve GCC static analysis false positive 2016-02-08 10:25:55 +00:00
psci_entry.S PSCI: Add pwr_domain_pwr_down_wfi() hook in plat_psci_ops 2016-05-25 14:00:00 +01:00
psci_helpers.S PSCI: Rework generic code to conform to coding guidelines 2015-08-13 23:48:07 +01:00
psci_main.c Remove unused argument in psci_cpu_on_start() 2016-04-25 12:55:45 +01:00
psci_off.c PSCI: Add pwr_domain_pwr_down_wfi() hook in plat_psci_ops 2016-05-25 14:00:00 +01:00
psci_on.c Remove unused argument in psci_cpu_on_start() 2016-04-25 12:55:45 +01:00
psci_private.h Remove unused argument in psci_cpu_on_start() 2016-04-25 12:55:45 +01:00
psci_setup.c Make generic code work in presence of system caches 2015-09-14 22:09:40 +01:00
psci_suspend.c PSCI: Add pwr_domain_pwr_down_wfi() hook in plat_psci_ops 2016-05-25 14:00:00 +01:00
psci_system_off.c PSCI: Switch to the new PSCI frameworks 2015-08-13 23:47:57 +01:00