diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2020-12-19 14:12:32 +0000 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2020-12-19 14:12:32 +0000 |
commit | c8bb72007047f86170b58b1b4e1c98869166f1cb (patch) | |
tree | f85b11162e267ffee5e4ea8e3c69a5c4c1248514 /sys-kernel/linux-sources-redcore-lts-legacy/files/5.4-nvme-suspend-resume-workaround.patch | |
parent | 05f78d9ab50a90099057de93015e0b89161081b5 (diff) |
sys-kernel : move kernel 5.4 to lts-legacy
Diffstat (limited to 'sys-kernel/linux-sources-redcore-lts-legacy/files/5.4-nvme-suspend-resume-workaround.patch')
-rw-r--r-- | sys-kernel/linux-sources-redcore-lts-legacy/files/5.4-nvme-suspend-resume-workaround.patch | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/sys-kernel/linux-sources-redcore-lts-legacy/files/5.4-nvme-suspend-resume-workaround.patch b/sys-kernel/linux-sources-redcore-lts-legacy/files/5.4-nvme-suspend-resume-workaround.patch new file mode 100644 index 00000000..684a939f --- /dev/null +++ b/sys-kernel/linux-sources-redcore-lts-legacy/files/5.4-nvme-suspend-resume-workaround.patch @@ -0,0 +1,12 @@ +diff -Naur linux-5.2.14-nvme-resume/drivers/nvme/host/pci.c linux-5.2.14-nvme/drivers/nvme/host/pci.c +--- linux-5.2.14-nvme-resume/drivers/nvme/host/pci.c 2019-09-11 21:23:38.746030937 +0200 ++++ linux-5.2.14-nvme/drivers/nvme/host/pci.c 2019-09-11 23:29:45.638351764 +0200 +@@ -1072,6 +1072,8 @@ + u16 start, end; + int found; + ++ if (!nvme_cqe_pending(nvmeq)) ++ return 0; + /* + * For a poll queue we need to protect against the polling thread + * using the CQ lock. For normal interrupt driven threads we have |