Skip to content

Commit

Permalink
Fix an issue with a Lexar NVMe SSD that fails to resume on wake.
Browse files Browse the repository at this point in the history
  • Loading branch information
fewtarius committed Nov 21, 2024
1 parent 1e901f3 commit 1cc2fcc
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 1 deletion.
12 changes: 12 additions & 0 deletions PKGBUILD/linux/0070-lexar-nvme-broken-msi.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
diff -rupN linux-6.12.orig/drivers/nvme/host/pci.c linux-6.12/drivers/nvme/host/pci.c
--- linux-6.12.orig/drivers/nvme/host/pci.c 2024-11-17 22:15:08.000000000 +0000
+++ linux-6.12/drivers/nvme/host/pci.c 2024-11-21 16:09:07.019822707 +0000
@@ -3442,6 +3442,8 @@ static const struct pci_device_id nvme_i
NVME_QUIRK_DISABLE_WRITE_ZEROES, },
{ PCI_VDEVICE(INTEL, 0xf1a6), /* Intel 760p/Pro 7600p */
.driver_data = NVME_QUIRK_IGNORE_DEV_SUBNQN, },
+ { PCI_DEVICE(0x1d97, 1602), /* Lexar NM790 */
+ .driver_data = NVME_QUIRK_BROKEN_MSI },
{ PCI_VDEVICE(INTEL, 0x5845), /* Qemu emulated controller */
.driver_data = NVME_QUIRK_IDENTIFY_CNS |
NVME_QUIRK_DISABLE_WRITE_ZEROES |
4 changes: 3 additions & 1 deletion PKGBUILD/linux/PKGBUILD
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@

pkgbase=linux
pkgver=6.12
pkgrel=3
pkgrel=4
pkgdesc="Linux Stable"
arch=(x86_64)
url="https://kernel.org/"
Expand Down Expand Up @@ -60,6 +60,7 @@ source=(
0041-air-amdgpu-quirks.patch
0051-drm-amd-display-let-update_planes_and_stream_state-d.patch
0060-asus-patch-series.patch
0070-lexar-nvme-broken-msi.patch
0099-add-external-device-drivers.patch
)
validpgpkeys=(
Expand Down Expand Up @@ -88,6 +89,7 @@ sha256sums=('SKIP'
'ab8a6dccf67cee7d924ee2e3d4690285d404bcb9bab70eced09b05fa2853b288' # 0041-air-amdgpu-quirks.patch
'7c7df8d4427c807e2cea0f1e147efcdfb1e7c1c5271823cc6bb49f10b1846d19' # 0051-drm-amd-display-let-update_planes_and_stream_state-d.patch
'ee4bda8ed96baa79475d98720e85c67b6a8dcf82a98c41d9860883c407f9a6fb' # 0060-asus-patch-series.patch
'b048068eeee69bf0f600d2ea390c8f681f9708776ff45a4b871e1e51136af33a' # 0070-lexar-nvme-broken-msi.patch
'3b1dabc168e4884c6586720538014d6ef8955a0b783d6436dd4937af6622ee42' # 0099-add-external-device-drivers.patch
)

Expand Down

0 comments on commit 1cc2fcc

Please sign in to comment.