Thread (86 messages) 86 messages, 6 authors, 2023-11-30

Re: [PATCH RFC 08/22] drivers: base: Implement weak arch_unregister_cpu()

From: Gavin Shan <hidden>
Date: 2023-11-13 00:46:09
Also in: kvmarm, linux-acpi, linux-arch, linux-arm-kernel, linux-pm, linux-riscv, lkml, loongarch

On 11/7/23 20:29, Russell King (Oracle) wrote:
From: James Morse <james.morse@arm.com>

Add arch_unregister_cpu() to allow the ACPI machinery to call
unregister_cpu(). This is enough for arm64, riscv and loongarch, but
needs to be overridden by x86 and ia64 who need to do more work.

CC: Jean-Philippe Brucker <redacted>
Signed-off-by: James Morse <james.morse@arm.com>
---
Changes since v1:
  * Added CONFIG_HOTPLUG_CPU ifdeffery around unregister_cpu
Changes since RFC v2:
  * Move earlier in the series
---
  drivers/base/cpu.c | 9 ++++++++-
  1 file changed, 8 insertions(+), 1 deletion(-)
Reviewed-by: Gavin Shan <redacted>
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help