]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
um: Enable SMP support on x86
authorTiwei Bie <tiwei.btw@antgroup.com>
Mon, 27 Oct 2025 00:18:15 +0000 (08:18 +0800)
committerJohannes Berg <johannes.berg@intel.com>
Mon, 27 Oct 2025 15:41:53 +0000 (16:41 +0100)
commitaa3e6faf620b1091ae85b07c0106918d48fcce05
treed65ec512de4a9c61f310f3710fc6e20acfdb89d4
parent8d748955279cfe1996e51ac51a4f746468614a10
um: Enable SMP support on x86

Implement spinlock support for SMP on UML/x86, leveraging x86's
spinlock implementation. In addition, to support SMP on CPUs that
do not support CX8, some additional work is required. However,
considering that such CPUs are already very outdated, and x86 is
also removing support for them [1], let's enable SMP support only
on CPUs that support CX8.

[1] https://lore.kernel.org/lkml/20250515085708.2510123-1-mingo@kernel.org/

Signed-off-by: Tiwei Bie <tiwei.btw@antgroup.com>
Link: https://patch.msgid.link/20251027001815.1666872-9-tiwei.bie@linux.dev
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
arch/x86/um/Kconfig
arch/x86/um/asm/spinlock.h [new file with mode: 0644]