Home
last modified time | relevance | path

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

/rk3399_rockchip-uboot/arch/arm/cpu/armv7/
H A Dpsci.Sb0206e7d26ebb695421c7c093b13475bed92c54d Tue Apr 21 05:18:27 UTC 2015 Jan Kiszka <jan.kiszka@siemens.com> ARM: Factor out reusable psci_cpu_off_common

Move parts of sunxi's psci_cpu_off into psci_cpu_off_common, namely
cache disabling and flushing, clrex and the disabling of SMP for the
dying CPU. These steps are apparently generic for ARMv7 and will be
reused for Tegra124 support.

As the way of disabled SMP is not architectural, though commonly done
via ACLTR, the related function can be overloaded.

CC: Marc Zyngier <marc.zyngier@arm.com>
Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
Reviewed-by: Tom Rini <trini@konsulko.com>
Reviewed-by: Thierry Reding <treding@nvidia.com>
Tested-by: Thierry Reding <treding@nvidia.com>
Tested-by: Ian Campbell <ijc@hellion.org.uk>
Signed-off-by: Tom Warren <twarren@nvidia.com>