Home
last modified time | relevance | path

Searched hist:b05d2792aec4eab096d6be1355f7134614ee92c3 (Results 1 – 1 of 1) sorted by relevance

/rk3399_ARM-atf/plat/xilinx/versal/pm_service/
H A Dpm_client.cb05d2792aec4eab096d6be1355f7134614ee92c3 Tue Jul 30 11:10:07 UTC 2019 Ravi Patel <ravi.patel@xilinx.com> xilinx: versal: Do not pass ACPU0 always in set_wakeup_source()

Existing code passes ACPU0 to LibPM as node_id in set_wakeup_source()
call because last suspending core will be ACPU0 in most of the case.

Now it may be possible that user may disable the ACPU0 using hot-plug
and after that it suspends Linux. So in that case ACPU0 will not be
last suspending core.

To overcome above scenario, pass the current running processor ID
while calling set_wakeup_source().

Signed-off-by: Ravi Patel <ravi.patel@xilinx.com>
Signed-off-by: Rajan Vaja <rajan.vaja@xilinx.com>
Change-Id: If15354c2150b5bb1305b5f93ca4e8c7a81d59f0a