From ec9bd9c7997fa13efdbc21da0c70f11e3ba2ac67 Mon Sep 17 00:00:00 2001 From: aszlig Date: Thu, 22 Jun 2023 00:04:28 +0200 Subject: 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 --- modules/hardware/tuxedo-pulse1502/nvme-suspend-quirk.patch | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'modules') 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), }; /* -- cgit 1.4.1