[PATCH v2 5/5] FOR-CI: Enable PREEMPT_RT

Maarten Lankhorst dev at lankhorst.se
Wed Jul 16 10:56:40 UTC 2025


Link: https://lore.kernel.org/r/20250715101636.906092-10-dev@lankhorst.se
Signed-off-by: Maarten Lankhorst <dev at lankhorst.se>
---
 init/Kconfig           | 2 +-
 kernel/Kconfig.preempt | 4 ++--
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/init/Kconfig b/init/Kconfig
index 666783eb50abd..cc7c50eb2a5a0 100644
--- a/init/Kconfig
+++ b/init/Kconfig
@@ -185,7 +185,7 @@ config INIT_ENV_ARG_LIMIT
 
 config COMPILE_TEST
 	bool "Compile also drivers which will not load"
-	depends on HAS_IOMEM
+	depends on BROKEN && HAS_IOMEM
 	help
 	  Some drivers can be compiled on a different platform than they are
 	  intended to be run on. Despite they cannot be loaded there (or even
diff --git a/kernel/Kconfig.preempt b/kernel/Kconfig.preempt
index 54ea59ff8fbeb..eb0aad1aeaf74 100644
--- a/kernel/Kconfig.preempt
+++ b/kernel/Kconfig.preempt
@@ -87,8 +87,8 @@ config PREEMPT_LAZY
 endchoice
 
 config PREEMPT_RT
-	bool "Fully Preemptible Kernel (Real-Time)"
-	depends on EXPERT && ARCH_SUPPORTS_RT && !COMPILE_TEST
+	def_bool y
+	depends on ARCH_SUPPORTS_RT
 	select PREEMPTION
 	help
 	  This option turns the kernel into a real-time kernel by replacing
-- 
2.45.2



More information about the Intel-xe mailing list