From e2b84d5df0ef7a0da282786bd50a31dfccbe4457 Mon Sep 17 00:00:00 2001 From: Greg Kroah-Hartman Date: Fri, 29 Apr 2022 11:37:19 +0200 Subject: [PATCH] 4.19-stable patches added patches: lightnvm-disable-the-subsystem.patch --- .../lightnvm-disable-the-subsystem.patch | 33 +++++++++++++++++++ queue-4.19/series | 1 + 2 files changed, 34 insertions(+) create mode 100644 queue-4.19/lightnvm-disable-the-subsystem.patch diff --git a/queue-4.19/lightnvm-disable-the-subsystem.patch b/queue-4.19/lightnvm-disable-the-subsystem.patch new file mode 100644 index 00000000000..0b1c01b8ba6 --- /dev/null +++ b/queue-4.19/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 +@@ -4,7 +4,7 @@ + + menuconfig NVM + bool "Open-Channel SSD target support" +- depends on BLOCK && PCI ++ depends on BLOCK && PCI && BROKEN + select BLK_DEV_NVME + help + Say Y here to get to enable Open-channel SSDs. diff --git a/queue-4.19/series b/queue-4.19/series index 6e59893acc7..e69078bdf7e 100644 --- a/queue-4.19/series +++ b/queue-4.19/series @@ -9,3 +9,4 @@ revert-ia64-kprobes-fix-to-pass-correct-trampoline-address-to-the-handler.patch revert-ia64-kprobes-use-generic-kretprobe-trampoline-handler.patch ia64-kprobes-fix-to-pass-correct-trampoline-address-to-the-handler.patch revert-net-ethernet-stmmac-fix-altr_tse_pcs-function-when-using-a-fixed-link.patch +lightnvm-disable-the-subsystem.patch -- 2.47.3