mirror of
https://github.com/torvalds/linux.git
synced 2025-12-07 20:06:24 +00:00
MIPS: SMP_CPS: Switch to hotplug core state synchronization
Switch to the CPU hotplug core state tracking and synchronization mechanim. This unfortunately requires to add dead reporting to the non CPS platforms as CPS is the only user, but it allows an overall consolidation of this functionality. No functional change intended. Signed-off-by: Thomas Gleixner <tglx@linutronix.de> Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org> Tested-by: Michael Kelley <mikelley@microsoft.com> Tested-by: Oleksandr Natalenko <oleksandr@natalenko.name> Tested-by: Helge Deller <deller@gmx.de> # parisc Tested-by: Guilherme G. Piccoli <gpiccoli@igalia.com> # Steam Deck Link: https://lore.kernel.org/r/20230512205256.803238859@linutronix.de
This commit is contained in:
committed by
Peter Zijlstra
parent
7202e97964
commit
c8d2bcc467
@@ -690,6 +690,14 @@ void flush_tlb_one(unsigned long vaddr)
|
||||
EXPORT_SYMBOL(flush_tlb_page);
|
||||
EXPORT_SYMBOL(flush_tlb_one);
|
||||
|
||||
#ifdef CONFIG_HOTPLUG_CORE_SYNC_DEAD
|
||||
void arch_cpuhp_cleanup_dead_cpu(unsigned int cpu)
|
||||
{
|
||||
if (mp_ops->cleanup_dead_cpu)
|
||||
mp_ops->cleanup_dead_cpu(cpu);
|
||||
}
|
||||
#endif
|
||||
|
||||
#ifdef CONFIG_GENERIC_CLOCKEVENTS_BROADCAST
|
||||
|
||||
static void tick_broadcast_callee(void *info)
|
||||
|
||||
Reference in New Issue
Block a user