Searched hist:a1d349beb02f1d9d4cad7c1b5827ab737faff433 (Results 1 – 3 of 3) sorted by relevance
| /rk3399_ARM-atf/plat/allwinner/common/ |
| H A D | sunxi_cpu_ops.c | a1d349beb02f1d9d4cad7c1b5827ab737faff433 Sun Jan 24 12:37:29 UTC 2021 Samuel Holland <samuel@sholland.org> allwinner: Separate code to power off self and other CPUs
Currently, sunxi_cpu_off() has two separate code paths: one for the local CPU, and one for other CPUs. Let's split them in to two functions. This actually simplifies things, because all callers either operate on the local CPU only (sunxi_pwr_down_wfi()) or other CPUs only (sunxi_cpu_power_off_others()). This avoids needing a second MPIDR read to choose the appropriate code path.
Change-Id: I55de85025235cc95466bfa106831fc4c2368f527 Signed-off-by: Samuel Holland <samuel@sholland.org>
|
| H A D | sunxi_pm.c | a1d349beb02f1d9d4cad7c1b5827ab737faff433 Sun Jan 24 12:37:29 UTC 2021 Samuel Holland <samuel@sholland.org> allwinner: Separate code to power off self and other CPUs
Currently, sunxi_cpu_off() has two separate code paths: one for the local CPU, and one for other CPUs. Let's split them in to two functions. This actually simplifies things, because all callers either operate on the local CPU only (sunxi_pwr_down_wfi()) or other CPUs only (sunxi_cpu_power_off_others()). This avoids needing a second MPIDR read to choose the appropriate code path.
Change-Id: I55de85025235cc95466bfa106831fc4c2368f527 Signed-off-by: Samuel Holland <samuel@sholland.org>
|
| /rk3399_ARM-atf/plat/allwinner/common/include/ |
| H A D | sunxi_private.h | a1d349beb02f1d9d4cad7c1b5827ab737faff433 Sun Jan 24 12:37:29 UTC 2021 Samuel Holland <samuel@sholland.org> allwinner: Separate code to power off self and other CPUs
Currently, sunxi_cpu_off() has two separate code paths: one for the local CPU, and one for other CPUs. Let's split them in to two functions. This actually simplifies things, because all callers either operate on the local CPU only (sunxi_pwr_down_wfi()) or other CPUs only (sunxi_cpu_power_off_others()). This avoids needing a second MPIDR read to choose the appropriate code path.
Change-Id: I55de85025235cc95466bfa106831fc4c2368f527 Signed-off-by: Samuel Holland <samuel@sholland.org>
|