* [PATCH RT 0/2] Linux v5.10.194-rt95-rc1
@ 2023-09-15 2:31 Luis Claudio R. Goncalves
2023-09-15 2:31 ` [PATCH RT 1/2] arm64: signal: Use ARCH_RT_DELAYS_SIGNAL_SEND Luis Claudio R. Goncalves
2023-09-15 2:31 ` [PATCH RT 2/2] Linux 5.10.194-rt95-rc1 Luis Claudio R. Goncalves
0 siblings, 2 replies; 3+ messages in thread
From: Luis Claudio R. Goncalves @ 2023-09-15 2:31 UTC (permalink / raw)
To: linux-rt-users, stable-rt, Steven Rostedt, Thomas Gleixner,
Carsten Emde, Sebastian Andrzej Siewior, Daniel Wagner,
Tom Zanussi, Clark Williams, Mark Gross, Jeff Brady, Wang Yong,
Xuexin Jiang, Yang Yang, Xiaokai Ran, Luis Goncalves
Dear RT Folks,
This is the RT stable review cycle of patch 5.10.194-rt95-rc1.
Please scream at me if I messed something up. Please test the patches
too.
The -rc release will be uploaded to kernel.org and will be deleted
when the final release is out. This is just a review release (or
release candidate).
The pre-releases will not be pushed to the git repository, only the
final release is.
If all goes well, this patch will be converted to the next main
release on 2023-09-21.
To build 5.10.194-rt95-rc1 directly, the following patches should be applied:
https://www.kernel.org/pub/linux/kernel/v5.x/linux-5.10.tar.xz
https://www.kernel.org/pub/linux/kernel/v5.x/patch-5.10.194.xz
https://www.kernel.org/pub/linux/kernel/projects/rt/5.10/older/patch-5.10.194-rt95-rc1.patch.xz
Signing key fingerprint:
9354 0649 9972 8D31 D464 D140 F394 A423 F8E6 7C26
All keys used for the above files and repositories can be found on the
following git repository:
git://git.kernel.org/pub/scm/docs/kernel/pgpkeys.git
Enjoy!
Luis
Changes from v5.10.194-rt94:
Luis Claudio R. Goncalves (1):
Linux 5.10.194-rt95-rc1
Wang Yong (1):
arm64: signal: Use ARCH_RT_DELAYS_SIGNAL_SEND
arch/arm64/include/asm/signal.h | 12 ++++++++++++
arch/arm64/kernel/signal.c | 9 +++++++++
localversion-rt | 2 +-
3 files changed, 22 insertions(+), 1 deletion(-)
create mode 100644 arch/arm64/include/asm/signal.h
--
2.41.0
^ permalink raw reply [flat|nested] 3+ messages in thread
* [PATCH RT 1/2] arm64: signal: Use ARCH_RT_DELAYS_SIGNAL_SEND
2023-09-15 2:31 [PATCH RT 0/2] Linux v5.10.194-rt95-rc1 Luis Claudio R. Goncalves
@ 2023-09-15 2:31 ` Luis Claudio R. Goncalves
2023-09-15 2:31 ` [PATCH RT 2/2] Linux 5.10.194-rt95-rc1 Luis Claudio R. Goncalves
1 sibling, 0 replies; 3+ messages in thread
From: Luis Claudio R. Goncalves @ 2023-09-15 2:31 UTC (permalink / raw)
To: linux-rt-users, stable-rt, Steven Rostedt, Thomas Gleixner,
Carsten Emde, Sebastian Andrzej Siewior, Daniel Wagner,
Tom Zanussi, Clark Williams, Mark Gross, Jeff Brady, Wang Yong,
Xuexin Jiang, Yang Yang, Xiaokai Ran, Luis Goncalves
From: Wang Yong <wang.yong12@zte.com.cn>
v5.10.194-rt95-rc1 stable review patch.
If anyone has any objections, please let me know.
-----------
The ltp test prompts the following bug information under the 5.10 kernel:
BUG: sleeping function called from invalid context at kernel/locking/rtmutex.c:969
in_atomic(): 1, irqs_disabled(): 0, non_block: 0, pid: 796, name: cat
Preemption disabled at:
[<ffffffe40f433980>] do_debug_exception+0x60/0x180
CPU: 3 PID: 796 Comm: cat Not tainted 5.10.59-rt52-KERNEL_VERSION #38
Hardware name: linux,dummy-virt (DT)
Call trace:
dump_backtrace+0x0/0x198
show_stack+0x20/0x30
dump_stack+0xf0/0x13c
___might_sleep+0x140/0x178
rt_spin_lock+0x30/0x90
force_sig_info_to_task+0x30/0xe0
force_sig_fault_to_task+0x54/0x78
force_sig_fault+0x1c/0x28
arm64_force_sig_fault+0x48/0x78
send_user_sigtrap+0x4c/0x80
brk_handler+0x3c/0x68
do_debug_exception+0xac/0x180
el0_dbg+0x34/0x58
el0_sync_handler+0x50/0xb8
el0_sync+0x180/0x1c0
It has been fixed by
0c34700de5e7 ("arm64: signal: Use ARCH_RT_DELAYS_SIGNAL_SEND.") in
higher versions of the kernel. This patch needs to be compatible with 5.10.
5.10 kernel does not have signal.h file, so adding signal.h file to
define ARCH_RT_DELAYS_SIGNAL_SEND.
Link: https://lore.kernel.org/r/202309121514283793475@zte.com.cn
Signed-off-by: Wang Yong <wang.yong12@zte.com.cn>
Cc: Xuexin Jiang <jiang.xuexin@zte.com.cn>
Cc: Yang Yang <yang.yang29@zte.com.cn>
Cc: Xiaokai Ran <ran.xiaokai@zte.com.cn>
Signed-off-by: Luis Claudio R. Goncalves <lgoncalv@redhat.com>
---
arch/arm64/include/asm/signal.h | 12 ++++++++++++
arch/arm64/kernel/signal.c | 9 +++++++++
2 files changed, 21 insertions(+)
create mode 100644 arch/arm64/include/asm/signal.h
diff --git a/arch/arm64/include/asm/signal.h b/arch/arm64/include/asm/signal.h
new file mode 100644
index 000000000000..0fb418cf4c17
--- /dev/null
+++ b/arch/arm64/include/asm/signal.h
@@ -0,0 +1,12 @@
+/* SPDX-License-Identifier: GPL-2.0 */
+#ifndef __ARM64_ASM_SIGNAL_H
+#define __ARM64_ASM_SIGNAL_H
+
+#include <uapi/asm/signal.h>
+#include <uapi/asm/siginfo.h>
+
+#if defined(CONFIG_PREEMPT_RT)
+#define ARCH_RT_DELAYS_SIGNAL_SEND
+#endif
+
+#endif
diff --git a/arch/arm64/kernel/signal.c b/arch/arm64/kernel/signal.c
index 94eed0dc3afc..5b08f55ec85d 100644
--- a/arch/arm64/kernel/signal.c
+++ b/arch/arm64/kernel/signal.c
@@ -929,6 +929,15 @@ asmlinkage void do_notify_resume(struct pt_regs *regs,
} else {
local_daif_restore(DAIF_PROCCTX);
+#ifdef ARCH_RT_DELAYS_SIGNAL_SEND
+ if (unlikely(current->forced_info.si_signo)) {
+ struct task_struct *t = current;
+
+ force_sig_info(&t->forced_info);
+ t->forced_info.si_signo = 0;
+ }
+#endif
+
if (thread_flags & _TIF_UPROBE)
uprobe_notify_resume(regs);
--
2.41.0
^ permalink raw reply related [flat|nested] 3+ messages in thread
* [PATCH RT 2/2] Linux 5.10.194-rt95-rc1
2023-09-15 2:31 [PATCH RT 0/2] Linux v5.10.194-rt95-rc1 Luis Claudio R. Goncalves
2023-09-15 2:31 ` [PATCH RT 1/2] arm64: signal: Use ARCH_RT_DELAYS_SIGNAL_SEND Luis Claudio R. Goncalves
@ 2023-09-15 2:31 ` Luis Claudio R. Goncalves
1 sibling, 0 replies; 3+ messages in thread
From: Luis Claudio R. Goncalves @ 2023-09-15 2:31 UTC (permalink / raw)
To: linux-rt-users, stable-rt, Steven Rostedt, Thomas Gleixner,
Carsten Emde, Sebastian Andrzej Siewior, Daniel Wagner,
Tom Zanussi, Clark Williams, Mark Gross, Jeff Brady, Wang Yong,
Xuexin Jiang, Yang Yang, Xiaokai Ran, Luis Goncalves
v5.10.194-rt95-rc1 stable review patch.
If anyone has any objections, please let me know.
-----------
Signed-off-by: Luis Claudio R. Goncalves <lgoncalv@redhat.com>
---
localversion-rt | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/localversion-rt b/localversion-rt
index 8d02a9bac500..fe529ae51f64 100644
--- a/localversion-rt
+++ b/localversion-rt
@@ -1 +1 @@
--rt94
+-rt95-rc1
--
2.41.0
^ permalink raw reply related [flat|nested] 3+ messages in thread
end of thread, other threads:[~2023-09-15 2:33 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-09-15 2:31 [PATCH RT 0/2] Linux v5.10.194-rt95-rc1 Luis Claudio R. Goncalves
2023-09-15 2:31 ` [PATCH RT 1/2] arm64: signal: Use ARCH_RT_DELAYS_SIGNAL_SEND Luis Claudio R. Goncalves
2023-09-15 2:31 ` [PATCH RT 2/2] Linux 5.10.194-rt95-rc1 Luis Claudio R. Goncalves
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).