]> git.ipfire.org Git - thirdparty/kernel/stable-queue.git/commitdiff
4.4-stable patches
authorGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 6 Sep 2021 06:46:12 +0000 (08:46 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 6 Sep 2021 06:46:12 +0000 (08:46 +0200)
added patches:
arc-fix-allnoconfig-build-warning.patch
xtensa-fix-kconfig-unmet-dependency-warning-for-have_futex_cmpxchg.patch

queue-4.4/arc-fix-allnoconfig-build-warning.patch [new file with mode: 0644]
queue-4.4/series
queue-4.4/xtensa-fix-kconfig-unmet-dependency-warning-for-have_futex_cmpxchg.patch [new file with mode: 0644]

diff --git a/queue-4.4/arc-fix-allnoconfig-build-warning.patch b/queue-4.4/arc-fix-allnoconfig-build-warning.patch
new file mode 100644 (file)
index 0000000..fd398b8
--- /dev/null
@@ -0,0 +1,27 @@
+From 5464d03d92601ac2977ef605b0cbb33276567daf Mon Sep 17 00:00:00 2001
+From: Vineet Gupta <vgupta@synopsys.com>
+Date: Fri, 29 Sep 2017 14:46:50 -0700
+Subject: ARC: fix allnoconfig build warning
+
+From: Vineet Gupta <vgupta@synopsys.com>
+
+commit 5464d03d92601ac2977ef605b0cbb33276567daf upstream.
+
+Reported-by: Dmitrii Kolesnichenko <dmitrii@synopsys.com>
+Signed-off-by: Vineet Gupta <vgupta@synopsys.com>
+Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
+---
+ arch/arc/Kconfig |    2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+--- a/arch/arc/Kconfig
++++ b/arch/arc/Kconfig
+@@ -23,7 +23,7 @@ config ARC
+       select GENERIC_SMP_IDLE_THREAD
+       select HAVE_ARCH_KGDB
+       select HAVE_ARCH_TRACEHOOK
+-      select HAVE_FUTEX_CMPXCHG
++      select HAVE_FUTEX_CMPXCHG if FUTEX
+       select HAVE_IOREMAP_PROT
+       select HAVE_KPROBES
+       select HAVE_KRETPROBES
index feba81939fa7e8912a144bf6626087b41744a884..bce55b09d3007507968cfb7ce67f9a4eec112401 100644 (file)
@@ -1,3 +1,5 @@
 ext4-fix-race-writing-to-an-inline_data-file-while-its-xattrs-are-changing.patch
+xtensa-fix-kconfig-unmet-dependency-warning-for-have_futex_cmpxchg.patch
+arc-fix-allnoconfig-build-warning.patch
 qede-fix-memset-corruption.patch
 cryptoloop-add-a-deprecation-warning.patch
diff --git a/queue-4.4/xtensa-fix-kconfig-unmet-dependency-warning-for-have_futex_cmpxchg.patch b/queue-4.4/xtensa-fix-kconfig-unmet-dependency-warning-for-have_futex_cmpxchg.patch
new file mode 100644 (file)
index 0000000..d30ef7c
--- /dev/null
@@ -0,0 +1,40 @@
+From ed5aacc81cd41efc4d561e14af408d1003f7b855 Mon Sep 17 00:00:00 2001
+From: Randy Dunlap <rdunlap@infradead.org>
+Date: Wed, 26 May 2021 00:03:37 -0700
+Subject: xtensa: fix kconfig unmet dependency warning for HAVE_FUTEX_CMPXCHG
+
+From: Randy Dunlap <rdunlap@infradead.org>
+
+commit ed5aacc81cd41efc4d561e14af408d1003f7b855 upstream.
+
+XTENSA should only select HAVE_FUTEX_CMPXCHG when FUTEX is
+set/enabled. This prevents a kconfig warning.
+
+WARNING: unmet direct dependencies detected for HAVE_FUTEX_CMPXCHG
+  Depends on [n]: FUTEX [=n]
+  Selected by [y]:
+  - XTENSA [=y] && !MMU [=n]
+
+Fixes: d951ba21b959 ("xtensa: nommu: select HAVE_FUTEX_CMPXCHG")
+Signed-off-by: Randy Dunlap <rdunlap@infradead.org>
+Cc: Max Filippov <jcmvbkbc@gmail.com>
+Cc: Chris Zankel <chris@zankel.net>
+Cc: linux-xtensa@linux-xtensa.org
+Message-Id: <20210526070337.28130-1-rdunlap@infradead.org>
+Signed-off-by: Max Filippov <jcmvbkbc@gmail.com>
+Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
+---
+ arch/xtensa/Kconfig |    2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+--- a/arch/xtensa/Kconfig
++++ b/arch/xtensa/Kconfig
+@@ -17,7 +17,7 @@ config XTENSA
+       select HAVE_DMA_API_DEBUG
+       select HAVE_DMA_ATTRS
+       select HAVE_FUNCTION_TRACER
+-      select HAVE_FUTEX_CMPXCHG if !MMU
++      select HAVE_FUTEX_CMPXCHG if !MMU && FUTEX
+       select HAVE_IRQ_TIME_ACCOUNTING
+       select HAVE_OPROFILE
+       select HAVE_PERF_EVENTS