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

2023-12-01 Thread Thomas Gleixner
On Tue, Nov 21 2023 at 13:44, Russell King wrote: > --- > An open question remains from the RFC v2 posting: should we provide a > __weak stub for !HOTPLUG_CPU as well, since in later patches ACPI may > reference this if the compiler doesn't optimise as we expect? You mean: extern void foo(void);

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

2023-11-30 Thread Gavin Shan
On 11/22/23 00:44, Russell King (Oracle) wrote: From: James Morse 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 Signe

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

2023-11-30 Thread Jonathan Cameron
On Tue, 21 Nov 2023 13:44:31 + Russell King wrote: > From: James Morse > > 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-Ph

[PATCH 08/21] drivers: base: Implement weak arch_unregister_cpu()

2023-11-21 Thread Oracle
From: James Morse 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 Signed-off-by: James Morse Reviewed-by: Shaoqin Huang