Files
linux/drivers/nvme/host
Hristo Venev 7d98a36b10 nvme-pci: add quirk for missing secondary temperature thresholds
[ Upstream commit bd375feeaf ]

On Kingston KC3000 and Kingston FURY Renegade (both have the same PCI
IDs) accessing temp3_{min,max} fails with an invalid field error (note
that there is no problem setting the thresholds for temp1).

This contradicts the NVM Express Base Specification 2.0b, page 292:

  The over temperature threshold and under temperature threshold
  features shall be implemented for all implemented temperature sensors
  (i.e., all Temperature Sensor fields that report a non-zero value).

Define NVME_QUIRK_NO_SECONDARY_TEMP_THRESH that disables the thresholds
for all but the composite temperature and set it for this device.

Signed-off-by: Hristo Venev <hristo@venev.name>
Reviewed-by: Guenter Roeck <linux@roeck-us.net>
Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2023-06-09 10:34:09 +02:00
..
2023-05-11 23:03:22 +09:00
2023-02-01 08:34:43 +01:00
2022-08-02 17:22:48 -06:00
2022-08-02 17:14:49 -06:00
2023-05-11 23:03:22 +09:00