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 BE3EC2D8DA8; Wed, 4 Feb 2026 15:07:33 +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=1770217653; cv=none; b=EvxnsunnKcTTMTZgWjrJpCe7LN0WksWNRwNzTD1SGE6WMXhcsOpfxOYmTXzPLyt+yPtcKVHqz6i2FlL07g3xUz38LQt8Tjke00z4gxd85ftBPaVbq8q24YiMpUmxRoo4JyOZXFo6WwUm3av9ZMwAVSrOFlgiEYNPkMSY+di18+4= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1770217653; c=relaxed/simple; bh=NUSy2l20IVwmDnyAgHn6A2zWGEZmza5rQ2pty/vwaxk=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=ukSIWdw58LQSG2CGuPDQjI1/4E3non3tdMc19mdTOIPkCUw8XSK3WIZzNoUwItTISH0c9UAOIMwR4xyysHT0dte99arJuNJ7p8iR8iXsnBTPn9tUtj2HA6w+n1qdDDoJmaTd7TqpCAgCZRUIEn0tLTYbUc/mu1VroWitRU+b/ps= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=h+IfPQGQ; 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="h+IfPQGQ" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 30410C4CEF7; Wed, 4 Feb 2026 15:07:32 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1770217653; bh=NUSy2l20IVwmDnyAgHn6A2zWGEZmza5rQ2pty/vwaxk=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=h+IfPQGQbi8yehcLmlYEvg52wt57oQBZGuHhK+zx3ABt5JwUE+qAHvF2hFbgsCY1w 58LOebgRDf4VmOrvQGpp/Mj7b61x23bQYhJs8D+4w7r2apDbXvE7hyz81kbMAWqTSl kqyebyh4J2G7KhqSry2bY7nAaMztgCJ0u2TuC7Yg= 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.1 052/280] nvme-pci: disable secondary temp for Wodposit WPBSNM8 Date: Wed, 4 Feb 2026 15:37:06 +0100 Message-ID: <20260204143911.513021358@linuxfoundation.org> X-Mailer: git-send-email 2.53.0 In-Reply-To: <20260204143909.614719725@linuxfoundation.org> References: <20260204143909.614719725@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.1-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 @@ -3594,6 +3594,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 */