Skip to content

Commit 340f4fc

Browse files
Ilikara Zhengkeithbusch
authored andcommitted
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: [email protected] Tested-by: Wu Haotian <[email protected]> Signed-off-by: Ilikara Zheng <[email protected]> Signed-off-by: Keith Busch <[email protected]>
1 parent 9869d3a commit 340f4fc

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

drivers/nvme/host/pci.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3999,6 +3999,8 @@ static const struct pci_device_id nvme_id_table[] = {
39993999
.driver_data = NVME_QUIRK_NO_DEEPEST_PS, },
40004000
{ PCI_DEVICE(0x1e49, 0x0041), /* ZHITAI TiPro7000 NVMe SSD */
40014001
.driver_data = NVME_QUIRK_NO_DEEPEST_PS, },
4002+
{ PCI_DEVICE(0x1fa0, 0x2283), /* Wodposit WPBSNM8-256GTP */
4003+
.driver_data = NVME_QUIRK_NO_SECONDARY_TEMP_THRESH, },
40024004
{ PCI_DEVICE(0x025e, 0xf1ac), /* SOLIDIGM P44 pro SSDPFKKW020X7 */
40034005
.driver_data = NVME_QUIRK_NO_DEEPEST_PS, },
40044006
{ PCI_DEVICE(0xc0a9, 0x540a), /* Crucial P2 */

0 commit comments

Comments
 (0)