]> git.ipfire.org Git - thirdparty/kernel/stable-queue.git/commitdiff
4.14-stable patches
authorGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 29 Apr 2022 09:37:12 +0000 (11:37 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 29 Apr 2022 09:37:12 +0000 (11:37 +0200)
added patches:
lightnvm-disable-the-subsystem.patch

queue-4.14/lightnvm-disable-the-subsystem.patch [new file with mode: 0644]
queue-4.14/series

diff --git a/queue-4.14/lightnvm-disable-the-subsystem.patch b/queue-4.14/lightnvm-disable-the-subsystem.patch
new file mode 100644 (file)
index 0000000..682667a
--- /dev/null
@@ -0,0 +1,33 @@
+From f1986adb5b8aed3ab9374f4183cc828c3b114ce9 Mon Sep 17 00:00:00 2001
+From: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
+Date: Fri, 29 Apr 2022 11:31:23 +0200
+Subject: [PATCH] lightnvm: disable the subsystem
+MIME-Version: 1.0
+Content-Type: text/plain; charset=UTF-8
+Content-Transfer-Encoding: 8bit
+
+In commit 9ea9b9c48387 ("remove the lightnvm subsystem") the lightnvm
+subsystem was removed as there is no hardware in the wild for it, and
+the code is known to have problems.  This should also be disabled for
+older LTS kernels as well to prevent anyone from accidentally using it.
+
+Cc: Christoph Hellwig <hch@lst.de>
+Cc: Matias Bjørling <mb@lightnvm.io>
+Cc: Javier González <javier@javigon.com>
+Cc: Jens Axboe <axboe@kernel.dk>
+Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
+---
+ drivers/lightnvm/Kconfig |    2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+--- a/drivers/lightnvm/Kconfig
++++ b/drivers/lightnvm/Kconfig
+@@ -4,7 +4,7 @@
+ menuconfig NVM
+       bool "Open-Channel SSD target support"
+-      depends on BLOCK && HAS_DMA
++      depends on BLOCK && HAS_DMA && BROKEN
+       help
+         Say Y here to get to enable Open-channel SSDs.
index c1abac782eacd19ba7bad0cb0d17f08770f7ba68..0b712f085f7687a99e67e967ed90520607a5e7a1 100644 (file)
@@ -3,3 +3,4 @@ hamradio-defer-6pack-kfree-after-unregister_netdev.patch
 hamradio-remove-needs_free_netdev-to-avoid-uaf.patch
 net-sched-cls_u32-fix-netns-refcount-changes-in-u32_change.patch
 revert-net-ethernet-stmmac-fix-altr_tse_pcs-function-when-using-a-fixed-link.patch
+lightnvm-disable-the-subsystem.patch