OpenCloudOS-Kernel/drivers/firmware/psci
Qais Yousef 20fb50295b firmware: psci: Replace cpu_up/down() with add/remove_cpu()
The core device API performs extra housekeeping bits that are missing
from directly calling cpu_up/down().

See commit a6717c01dd ("powerpc/rtas: use device model APIs and
serialization during LPM") for an example description of what might go
wrong.

This also prepares to make cpu_up/down a private interface of the CPU subsystem.

Signed-off-by: Qais Yousef <qais.yousef@arm.com>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Cc: Lorenzo Pieralisi <lorenzo.pieralisi@arm.com>
Link: https://lkml.kernel.org/r/20200323135110.30522-15-qais.yousef@arm.com
2020-03-25 12:59:37 +01:00
..
Kconfig treewide: Add SPDX license identifier - Makefile/Kconfig 2019-05-21 10:50:46 +02:00
Makefile drivers: firmware: psci: Move psci to separate directory 2019-04-12 10:59:37 +02:00
psci.c firmware: psci: Export functions to manage the OSI mode 2020-01-02 16:49:59 +01:00
psci_checker.c firmware: psci: Replace cpu_up/down() with add/remove_cpu() 2020-03-25 12:59:37 +01:00