]> git.ipfire.org Git - thirdparty/kernel/stable-queue.git/commitdiff
4.19-stable patches
authorGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 23 Jan 2020 09:49:10 +0000 (10:49 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 23 Jan 2020 09:49:10 +0000 (10:49 +0100)
added patches:
revert-efi-fix-debugobjects-warning-on-efi_rts_work.patch

queue-4.19/revert-efi-fix-debugobjects-warning-on-efi_rts_work.patch [new file with mode: 0644]
queue-4.19/series [new file with mode: 0644]

diff --git a/queue-4.19/revert-efi-fix-debugobjects-warning-on-efi_rts_work.patch b/queue-4.19/revert-efi-fix-debugobjects-warning-on-efi_rts_work.patch
new file mode 100644 (file)
index 0000000..865ce01
--- /dev/null
@@ -0,0 +1,39 @@
+From 78b189e80880e08113f05e2e243604c9cdcace90 Mon Sep 17 00:00:00 2001
+From: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
+Date: Thu, 23 Jan 2020 10:47:03 +0100
+Subject: Revert "efi: Fix debugobjects warning on 'efi_rts_work'"
+
+From: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
+
+This reverts commit 3e6b472f474accf757e107919f8ee42e7315ac0d which is
+commit ef1491e791308317bb9851a0ad380c4a68b58d54 upstream.
+
+Chris reports that this commit has problems and should not have been
+backported to 4.19.y
+
+Reported-by: Chris Wilson <chris@chris-wilson.co.uk>
+Cc: Waiman Long <longman@redhat.com>
+Cc: Ard Biesheuvel <ard.biesheuvel@linaro.org>
+Cc: Sai Praneeth Prakhya <sai.praneeth.prakhya@intel.com>
+Cc: Linus Torvalds <torvalds@linux-foundation.org>
+Cc: Peter Zijlstra <peterz@infradead.org>
+Cc: Thomas Gleixner <tglx@linutronix.de>
+Cc: linux-efi@vger.kernel.org
+Cc: Ingo Molnar <mingo@kernel.org>
+Cc: Sasha Levin <sashal@kernel.org>
+Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
+---
+ drivers/firmware/efi/runtime-wrappers.c |    2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+--- a/drivers/firmware/efi/runtime-wrappers.c
++++ b/drivers/firmware/efi/runtime-wrappers.c
+@@ -95,7 +95,7 @@ struct efi_runtime_work {
+       efi_rts_work.status = EFI_ABORTED;                              \
+                                                                       \
+       init_completion(&efi_rts_work.efi_rts_comp);                    \
+-      INIT_WORK(&efi_rts_work.work, efi_call_rts);                    \
++      INIT_WORK_ONSTACK(&efi_rts_work.work, efi_call_rts);            \
+       efi_rts_work.arg1 = _arg1;                                      \
+       efi_rts_work.arg2 = _arg2;                                      \
+       efi_rts_work.arg3 = _arg3;                                      \
diff --git a/queue-4.19/series b/queue-4.19/series
new file mode 100644 (file)
index 0000000..5d26ca8
--- /dev/null
@@ -0,0 +1 @@
+revert-efi-fix-debugobjects-warning-on-efi_rts_work.patch