]> git.ipfire.org Git - thirdparty/linux.git/commit
nvme-pci: disable secondary temp for Wodposit WPBSNM8
authorIlikara Zheng <ilikara@aosc.io>
Mon, 8 Dec 2025 13:23:40 +0000 (21:23 +0800)
committerKeith Busch <kbusch@kernel.org>
Mon, 15 Dec 2025 15:14:40 +0000 (07:14 -0800)
commit340f4fc5508c2905a1f30de229e2a4b299d55735
treec220533a53d20afb541038b2629b3f4d78dc5b98
parent9869d3a6fed381f3b98404e26e1afc75d680cbf9
nvme-pci: disable secondary temp for Wodposit WPBSNM8

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 <rigoligo03@gmail.com>
Signed-off-by: Ilikara Zheng <ilikara@aosc.io>
Signed-off-by: Keith Busch <kbusch@kernel.org>
drivers/nvme/host/pci.c