2020-10-12 12:52:06 +00:00
|
|
|
From f4cfac959fba1f75f59bb559f5035aa5bde2fbb5 Mon Sep 17 00:00:00 2001
|
|
|
|
Message-Id: <f4cfac959fba1f75f59bb559f5035aa5bde2fbb5.1601675151.git.zanussi@kernel.org>
|
|
|
|
In-Reply-To: <5b5a156f9808b1acf1205606e03da117214549ea.1601675151.git.zanussi@kernel.org>
|
|
|
|
References: <5b5a156f9808b1acf1205606e03da117214549ea.1601675151.git.zanussi@kernel.org>
|
2018-08-27 14:32:32 +00:00
|
|
|
From: Thomas Gleixner <tglx@linutronix.de>
|
2019-04-08 23:49:20 +00:00
|
|
|
Date: Wed, 8 Jul 2015 17:14:48 +0200
|
2020-09-04 20:10:21 +00:00
|
|
|
Subject: [PATCH 038/333] jump-label: disable if stop_machine() is used
|
2020-10-12 12:52:06 +00:00
|
|
|
Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patches-4.19.148-rt64.tar.xz
|
2018-08-27 14:32:32 +00:00
|
|
|
|
|
|
|
Some architectures are using stop_machine() while switching the opcode which
|
|
|
|
leads to latency spikes.
|
|
|
|
The architectures which use stop_machine() atm:
|
|
|
|
- ARM stop machine
|
|
|
|
- s390 stop machine
|
|
|
|
|
|
|
|
The architecures which use other sorcery:
|
|
|
|
- MIPS
|
|
|
|
- X86
|
|
|
|
- powerpc
|
|
|
|
- sparc
|
|
|
|
- arm64
|
|
|
|
|
|
|
|
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
|
|
|
|
[bigeasy: only ARM for now]
|
|
|
|
Signed-off-by: Sebastian Andrzej Siewior <bigeasy@linutronix.de>
|
|
|
|
---
|
2019-04-08 23:49:20 +00:00
|
|
|
arch/arm/Kconfig | 2 +-
|
2018-08-27 14:32:32 +00:00
|
|
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
|
|
|
|
2019-04-08 23:49:20 +00:00
|
|
|
diff --git a/arch/arm/Kconfig b/arch/arm/Kconfig
|
2020-03-06 11:44:27 +00:00
|
|
|
index e2f7c50dbace..91ba9fe945ff 100644
|
2018-08-27 14:32:32 +00:00
|
|
|
--- a/arch/arm/Kconfig
|
|
|
|
+++ b/arch/arm/Kconfig
|
2018-10-30 12:40:05 +00:00
|
|
|
@@ -51,7 +51,7 @@ config ARM
|
2018-08-27 14:32:32 +00:00
|
|
|
select HARDIRQS_SW_RESEND
|
|
|
|
select HAVE_ARCH_AUDITSYSCALL if (AEABI && !OABI_COMPAT)
|
|
|
|
select HAVE_ARCH_BITREVERSE if (CPU_32v7M || CPU_32v7) && !CPU_32v6
|
|
|
|
- select HAVE_ARCH_JUMP_LABEL if !XIP_KERNEL && !CPU_ENDIAN_BE32 && MMU
|
|
|
|
+ select HAVE_ARCH_JUMP_LABEL if !XIP_KERNEL && !CPU_ENDIAN_BE32 && MMU && !PREEMPT_RT_BASE
|
|
|
|
select HAVE_ARCH_KGDB if !CPU_ENDIAN_BE32 && MMU
|
|
|
|
select HAVE_ARCH_MMAP_RND_BITS if MMU
|
|
|
|
select HAVE_ARCH_SECCOMP_FILTER if (AEABI && !OABI_COMPAT)
|
2020-01-03 23:36:11 +00:00
|
|
|
--
|
2020-06-22 13:14:16 +00:00
|
|
|
2.17.1
|
2020-01-03 23:36:11 +00:00
|
|
|
|