]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
x86/cpu/topology: Remove limit of CPUs due to disabled IO/APIC
authorFernando Fernandez Mancera <ffmancera@riseup.net>
Mon, 2 Dec 2024 14:58:45 +0000 (14:58 +0000)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 14 Dec 2024 19:03:33 +0000 (20:03 +0100)
commit0214a12832e8c87aa97f7409659f0569d563abea
treef93f8f3376c5cfbdc3488ee2e0a966c5f357fa43
parent42d9fe2adf8613f9eea1f0c2619c9e2611eae0ea
x86/cpu/topology: Remove limit of CPUs due to disabled IO/APIC

commit 73da582a476ea6e3512f89f8ed57dfed945829a2 upstream.

The rework of possible CPUs management erroneously disabled SMP when the
IO/APIC is disabled either by the 'noapic' command line parameter or during
IO/APIC setup. SMP is possible without IO/APIC.

Remove the ioapic_is_disabled conditions from the relevant possible CPU
management code paths to restore the orgininal behaviour.

Fixes: 7c0edad3643f ("x86/cpu/topology: Rework possible CPU management")
Signed-off-by: Fernando Fernandez Mancera <ffmancera@riseup.net>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Cc: stable@vger.kernel.org
Link: https://lore.kernel.org/all/20241202145905.1482-1-ffmancera@riseup.net
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
arch/x86/kernel/cpu/topology.c