]> git.baikalelectronics.ru Git - kernel.git/commit
firmware: psci: Replace cpu_up/down() with add/remove_cpu()
authorQais Yousef <qais.yousef@arm.com>
Mon, 23 Mar 2020 13:51:07 +0000 (13:51 +0000)
committerThomas Gleixner <tglx@linutronix.de>
Wed, 25 Mar 2020 11:59:37 +0000 (12:59 +0100)
commitf1807dba9eaf8320840c62b0b4410ef7bcf30c58
tree7af6d45699b14176d2100d494ed6075ed6d9b121
parent9ddec10c138f32627d7e2e3bc35031015e138d20
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 ccea224f787e ("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
drivers/firmware/psci/psci_checker.c