]> git.ipfire.org Git - thirdparty/kernel/stable-queue.git/commitdiff
4.19-stable patches
authorGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 11 Sep 2024 13:04:37 +0000 (15:04 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 11 Sep 2024 13:04:37 +0000 (15:04 +0200)
added patches:
revert-parisc-use-irq_enter_rcu-to-fix-warning-at-kernel-context_tracking.c-367.patch

queue-4.19/revert-parisc-use-irq_enter_rcu-to-fix-warning-at-kernel-context_tracking.c-367.patch [new file with mode: 0644]
queue-4.19/series

diff --git a/queue-4.19/revert-parisc-use-irq_enter_rcu-to-fix-warning-at-kernel-context_tracking.c-367.patch b/queue-4.19/revert-parisc-use-irq_enter_rcu-to-fix-warning-at-kernel-context_tracking.c-367.patch
new file mode 100644 (file)
index 0000000..244d6b7
--- /dev/null
@@ -0,0 +1,41 @@
+From b967d747c94464cdd47ef8c60d1b6ac40165da0b Mon Sep 17 00:00:00 2001
+From: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
+Date: Wed, 11 Sep 2024 15:01:37 +0200
+Subject: Revert "parisc: Use irq_enter_rcu() to fix warning at kernel/context_tracking.c:367"
+
+From: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
+
+This reverts commit fea29d479eb470102cd025d9279503a2bfd28c60 which is
+commit 73cb4a2d8d7e0259f94046116727084f21e4599f upstream.
+
+It breaks the build on parisc systems, so revert it.
+
+Reported-by: Guenter Roeck <linux@roeck-us.net>
+Link: https://lore.kernel.org/r/092aa55c-0538-41e5-8ed0-d0a96b06f32e@roeck-us.net
+Reported-by: Helge Deller <deller@gmx.de>
+Link: https://lore.kernel.org/r/72b133a6-c221-4906-9184-30b4e6ee4260@gmx.de
+Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
+---
+ arch/parisc/kernel/irq.c |    4 ++--
+ 1 file changed, 2 insertions(+), 2 deletions(-)
+
+--- a/arch/parisc/kernel/irq.c
++++ b/arch/parisc/kernel/irq.c
+@@ -524,7 +524,7 @@ void do_cpu_irq_mask(struct pt_regs *reg
+       old_regs = set_irq_regs(regs);
+       local_irq_disable();
+-      irq_enter_rcu();
++      irq_enter();
+       eirr_val = mfctl(23) & cpu_eiem & per_cpu(local_ack_eiem, cpu);
+       if (!eirr_val)
+@@ -559,7 +559,7 @@ void do_cpu_irq_mask(struct pt_regs *reg
+ #endif /* CONFIG_IRQSTACKS */
+  out:
+-      irq_exit_rcu();
++      irq_exit();
+       set_irq_regs(old_regs);
+       return;
index 09396705154a778d84ffc25893375f9f65b4199a..08e52ef0f05d4ed60f9f586efb8ab6e689966d18 100644 (file)
@@ -93,3 +93,4 @@ rtmutex-drop-rt_mutex-wait_lock-before-scheduling.patch
 net-sunrpc-remap-eperm-in-case-of-connection-failure-in-xs_tcp_setup_socket.patch
 cx82310_eth-fix-error-return-code-in-cx82310_bind.patch
 netns-restore-ops-before-calling-ops_exit_list.patch
+revert-parisc-use-irq_enter_rcu-to-fix-warning-at-kernel-context_tracking.c-367.patch