diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2020-05-16 20:45:52 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2020-05-16 20:45:52 +0100 |
commit | f85f96e3480ed35cff0c5d1d854e09e3c8870809 (patch) | |
tree | 1651d5337e6a38f6b931d82aa8e9f7bb0417dfef /sys-kernel/linux-image-redcore/files/5.6-nvme-pci-more-info.patch | |
parent | 67472988e49cc1cf2f4b4305751af18b79bd14d4 (diff) |
sys-kernel/linux-{image,sources}-redcore : version bump (v5.6.13)
Diffstat (limited to 'sys-kernel/linux-image-redcore/files/5.6-nvme-pci-more-info.patch')
-rw-r--r-- | sys-kernel/linux-image-redcore/files/5.6-nvme-pci-more-info.patch | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/sys-kernel/linux-image-redcore/files/5.6-nvme-pci-more-info.patch b/sys-kernel/linux-image-redcore/files/5.6-nvme-pci-more-info.patch new file mode 100644 index 00000000..d4c88dc0 --- /dev/null +++ b/sys-kernel/linux-image-redcore/files/5.6-nvme-pci-more-info.patch @@ -0,0 +1,38 @@ +diff -Naur linux-5.3.1/drivers/nvme/host/pci.c linux-5.3.1-p/drivers/nvme/host/pci.c +--- linux-5.3.1/drivers/nvme/host/pci.c 2019-09-21 07:19:47.000000000 +0200 ++++ linux-5.3.1-p/drivers/nvme/host/pci.c 2019-09-27 14:46:38.567818352 +0200 +@@ -2524,8 +2524,11 @@ + } + + result = nvme_init_identify(&dev->ctrl); +- if (result) ++ if (result) { ++ dev_warn(dev->ctrl.device, ++ "nvme_init_identify() failed\n"); + goto out; ++ } + + if (dev->ctrl.oacs & NVME_CTRL_OACS_SEC_SUPP) { + if (!dev->ctrl.opal_dev) +@@ -2547,13 +2550,19 @@ + + if (dev->ctrl.hmpre) { + result = nvme_setup_host_mem(dev); +- if (result < 0) ++ if (result < 0) { ++ dev_warn(dev->ctrl.device, ++ "hmpre - nvme_setup_host_mem() failed\n"); + goto out; ++ } + } + + result = nvme_setup_io_queues(dev); +- if (result) ++ if (result) { ++ dev_warn(dev->ctrl.device, ++ "nvme_setup_io_queues() failed\n"); + goto out; ++ } + + /* + * Keep the controller around but remove all namespaces if we don't have |