From: Greg Kroah-Hartman Date: Fri, 29 Apr 2022 09:37:26 +0000 (+0200) Subject: 5.4-stable patches X-Git-Tag: v4.19.241~3 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=28d9a34eb4b23d4cb8cc724845e161ede8790a0b;p=thirdparty%2Fkernel%2Fstable-queue.git 5.4-stable patches added patches: lightnvm-disable-the-subsystem.patch --- diff --git a/queue-5.4/lightnvm-disable-the-subsystem.patch b/queue-5.4/lightnvm-disable-the-subsystem.patch new file mode 100644 index 00000000000..943ccbf83fa --- /dev/null +++ b/queue-5.4/lightnvm-disable-the-subsystem.patch @@ -0,0 +1,33 @@ +From f1986adb5b8aed3ab9374f4183cc828c3b114ce9 Mon Sep 17 00:00:00 2001 +From: Greg Kroah-Hartman +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 +Cc: Matias Bjørling +Cc: Javier González +Cc: Jens Axboe +Signed-off-by: Greg Kroah-Hartman +--- + drivers/lightnvm/Kconfig | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +--- a/drivers/lightnvm/Kconfig ++++ b/drivers/lightnvm/Kconfig +@@ -5,7 +5,7 @@ + + menuconfig NVM + bool "Open-Channel SSD target support" +- depends on BLOCK ++ depends on BLOCK && BROKEN + help + Say Y here to get to enable Open-channel SSDs. + diff --git a/queue-5.4/series b/queue-5.4/series index 3c5217aa29e..33f74ec6161 100644 --- a/queue-5.4/series +++ b/queue-5.4/series @@ -1,3 +1,4 @@ floppy-disable-fdrawcmd-by-default.patch hamradio-defer-6pack-kfree-after-unregister_netdev.patch hamradio-remove-needs_free_netdev-to-avoid-uaf.patch +lightnvm-disable-the-subsystem.patch