From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 306693A9632; Wed, 21 Jan 2026 18:32:12 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1769020332; cv=none; b=XDw5WwMysc+hsWX+ATBr0HweetsBBSc7pZRx1lcbEPua0xBqVQUoWBXao4MtKqQ/jSz/k/HtxzY/ilIaBu71eKWAZw9FTJoqDquchvidzKVz4elgd6xfIASkiXw6JDXda538d905+v1xfYq8PzvoQ7w9Vj51lF2RARcjQua/0xs= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1769020332; c=relaxed/simple; bh=/mzLGMpG5D7ckKjyWIVQkqcT8gmkLAiBXvgdl+xmup4=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=JGeHyPOfAbwvasrdKzDNWWiNxQ+mtlOfCZU/6jMeApS1IZdNP44Slh0uaiSZSRPLhOifn/QDJAaeB6AapeLDZqb7RGsXGaHmLiCOui8lWeK+Vm0ZT3awc4ZWAI7sJH6Ho6P8RLPOuzt+oAzSWmztYboBnQuOlWlYZjgdGyZfTns= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=YHDQEUQT; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b="YHDQEUQT" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 940F7C19425; Wed, 21 Jan 2026 18:32:11 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1769020332; bh=/mzLGMpG5D7ckKjyWIVQkqcT8gmkLAiBXvgdl+xmup4=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=YHDQEUQTIqq5xj0qTRK4oB/MlRBSr+EIQxi+6lxCaU9OZgfz2ra1PcToJWOhbdzDY coYZSEtdRxwBSoWPV3fBKf0qdarQY7zGE4bHVzCwhaAoONRiwTCXE0MUsVovm4vEE/ yfNxrlmIXOQho5x2LjqLHEWJvBAYv2WVF35s3s+g= From: Greg Kroah-Hartman To: stable@vger.kernel.org Cc: Greg Kroah-Hartman , patches@lists.linux.dev, Wu Haotian , Ilikara Zheng , Keith Busch Subject: [PATCH 6.18 126/198] nvme-pci: disable secondary temp for Wodposit WPBSNM8 Date: Wed, 21 Jan 2026 19:15:54 +0100 Message-ID: <20260121181423.084320434@linuxfoundation.org> X-Mailer: git-send-email 2.52.0 In-Reply-To: <20260121181418.537774329@linuxfoundation.org> References: <20260121181418.537774329@linuxfoundation.org> User-Agent: quilt/0.69 X-stable: review X-Patchwork-Hint: ignore Precedence: bulk X-Mailing-List: stable@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 6.18-stable review patch. If anyone has any objections, please let me know. ------------------ From: Ilikara Zheng commit 340f4fc5508c2905a1f30de229e2a4b299d55735 upstream. Secondary temperature thresholds (temp2_{min,max}) were not reported properly on this NVMe SSD. This resulted in an error while attempting to read these values with sensors(1): ERROR: Can't get value of subfeature temp2_min: I/O error ERROR: Can't get value of subfeature temp2_max: I/O error Add the device to the nvme_id_table with the NVME_QUIRK_NO_SECONDARY_TEMP_THRESH flag to suppress access to all non- composite temperature thresholds. Cc: stable@vger.kernel.org Tested-by: Wu Haotian Signed-off-by: Ilikara Zheng Signed-off-by: Keith Busch Signed-off-by: Greg Kroah-Hartman --- drivers/nvme/host/pci.c | 2 ++ 1 file changed, 2 insertions(+) --- a/drivers/nvme/host/pci.c +++ b/drivers/nvme/host/pci.c @@ -3917,6 +3917,8 @@ static const struct pci_device_id nvme_i .driver_data = NVME_QUIRK_NO_DEEPEST_PS, }, { PCI_DEVICE(0x1e49, 0x0041), /* ZHITAI TiPro7000 NVMe SSD */ .driver_data = NVME_QUIRK_NO_DEEPEST_PS, }, + { PCI_DEVICE(0x1fa0, 0x2283), /* Wodposit WPBSNM8-256GTP */ + .driver_data = NVME_QUIRK_NO_SECONDARY_TEMP_THRESH, }, { PCI_DEVICE(0x025e, 0xf1ac), /* SOLIDIGM P44 pro SSDPFKKW020X7 */ .driver_data = NVME_QUIRK_NO_DEEPEST_PS, }, { PCI_DEVICE(0xc0a9, 0x540a), /* Crucial P2 */