[tip: sched/rt] x86: Allow to enable PREEMPT_RT.

From: tip-bot2 for Sebastian Andrzej Siewior
Date: Mon Sep 09 2024 - 13:27:55 EST


The following commit has been merged into the sched/rt branch of tip:

Commit-ID: 70c5e36c0f431cab9059477c6b7d3ba02b289cd9
Gitweb: https://git.kernel.org/tip/70c5e36c0f431cab9059477c6b7d3ba02b289cd9
Author: Sebastian Andrzej Siewior <bigeasy@xxxxxxxxxxxxx>
AuthorDate: Fri, 06 Sep 2024 12:59:04 +02:00
Committer: Thomas Gleixner <tglx@xxxxxxxxxxxxx>
CommitterDate: Mon, 09 Sep 2024 19:24:11 +02:00

x86: Allow to enable PREEMPT_RT.

It is really time.

x86 has all the required architecture related changes, that have been
identified over time, in order to enable PREEMPT_RT. With the recent
printk changes, the last known road block has been addressed.

Allow to enable PREEMPT_RT on x86.

Signed-off-by: Sebastian Andrzej Siewior <bigeasy@xxxxxxxxxxxxx>
Signed-off-by: Thomas Gleixner <tglx@xxxxxxxxxxxxx>
Link: https://lore.kernel.org/all/20240906111841.562402-2-bigeasy@xxxxxxxxxxxxx

---
arch/x86/Kconfig | 1 +
1 file changed, 1 insertion(+)

diff --git a/arch/x86/Kconfig b/arch/x86/Kconfig
index 007bab9..8768d38 100644
--- a/arch/x86/Kconfig
+++ b/arch/x86/Kconfig
@@ -122,6 +122,7 @@ config X86
select ARCH_USES_CFI_TRAPS if X86_64 && CFI_CLANG
select ARCH_SUPPORTS_LTO_CLANG
select ARCH_SUPPORTS_LTO_CLANG_THIN
+ select ARCH_SUPPORTS_RT
select ARCH_USE_BUILTIN_BSWAP
select ARCH_USE_CMPXCHG_LOCKREF if X86_CMPXCHG64
select ARCH_USE_MEMTEST