diff options
author | aszlig <aszlig@nix.build> | 2023-06-22 00:04:28 +0200 |
---|---|---|
committer | aszlig <aszlig@nix.build> | 2023-06-22 00:13:44 +0200 |
commit | ec9bd9c7997fa13efdbc21da0c70f11e3ba2ac67 (patch) | |
tree | 91a028511007ad7c7c3d289df3f3fe3b01e3f95c /modules/hardware/tuxedo-pulse1502 | |
parent | 6b222863da0a0db6ec9b17b45c59ba136b4417cf (diff) |
hardware/pulse1502: Fix build against kernel 6.3
The nvme-suspend-quirk patch doesn't apply anymore with kernel 6.3 because kernel 6.3 added a new quirk (NVME_QUIRK_NO_SECONDARY_TEMP_THRESH) to the nvme_quirks enum. To fix this, I just edited the patch to refer to the newly added quirk and increase the bitflag by one. With this, the patch applies, but I haven't yet built the kernel nor did I actually test this on the target machine. Signed-off-by: aszlig <aszlig@nix.build>
Diffstat (limited to 'modules/hardware/tuxedo-pulse1502')
-rw-r--r-- | modules/hardware/tuxedo-pulse1502/nvme-suspend-quirk.patch | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/modules/hardware/tuxedo-pulse1502/nvme-suspend-quirk.patch b/modules/hardware/tuxedo-pulse1502/nvme-suspend-quirk.patch index b1983554..4d15eb18 100644 --- a/modules/hardware/tuxedo-pulse1502/nvme-suspend-quirk.patch +++ b/modules/hardware/tuxedo-pulse1502/nvme-suspend-quirk.patch @@ -3,15 +3,15 @@ index 1bdf714dcd9e..4014a2e17c70 100644 --- a/drivers/nvme/host/nvme.h +++ b/drivers/nvme/host/nvme.h @@ -149,6 +149,12 @@ enum nvme_quirks { - * Reports garbage in the namespace identifiers (eui64, nguid, uuid). + * No temperature thresholds for channels other than 0 (Composite). */ - NVME_QUIRK_BOGUS_NID = (1 << 18), + NVME_QUIRK_NO_SECONDARY_TEMP_THRESH = (1 << 19), + + /* + * Disables entering D3cold state for devices that might not wake up + * again afterwards. + */ -+ NVME_QUIRK_NO_D3_COLD = (1 << 19), ++ NVME_QUIRK_NO_D3_COLD = (1 << 20), }; /* |