[PATCH] scsi: ufs: core: Disable timestamp for Kioxia THGJFJT2T85BAT0A
From: Xilin Wu
Date: Wed Sep 09 2026 - 22:39:19 EST
The Kioxia THGJFJT2T85BAT0A with firmware revision 0002 reports UFS 4.0
but rejects writes to the qTimestamp attribute with
QUERY_RESULT_INVALID_IDN. This causes errors during device initialization
and whenever the device resumes from runtime suspend:
ufshcd_dev_cmd_completion: unexpected response in Query RSP: fd
ufshcd_query_attr_qword: opcode 0x04 for idn 48 failed, index 0, selector 0, err = -22
ufshcd_set_timestamp_attr: failed to set timestamp -22
Add UFS_DEVICE_QUIRK_NO_TIMESTAMP_SUPPORT for this model to skip the
unsupported timestamp writes, as for the other affected Kioxia devices.
Signed-off-by: Xilin Wu <sophon@xxxxxxxxx>
---
drivers/ufs/core/ufshcd.c | 3 +++
1 file changed, 3 insertions(+)
diff --git a/drivers/ufs/core/ufshcd.c b/drivers/ufs/core/ufshcd.c
index 2ba244cf40ac..b0fea67d1585 100644
--- a/drivers/ufs/core/ufshcd.c
+++ b/drivers/ufs/core/ufshcd.c
@@ -321,6 +321,9 @@ static const struct ufs_dev_quirk ufs_fixups[] = {
{ .wmanufacturerid = UFS_VENDOR_TOSHIBA,
.model = "THGJFJT1E45BATP",
.quirk = UFS_DEVICE_QUIRK_NO_TIMESTAMP_SUPPORT },
+ { .wmanufacturerid = UFS_VENDOR_TOSHIBA,
+ .model = "THGJFJT2T85BAT0A",
+ .quirk = UFS_DEVICE_QUIRK_NO_TIMESTAMP_SUPPORT },
{}
};
---
base-commit: df2908090cda368b01ff43709f51890076c56157
change-id: 20260910-kioxia-ufs4-fix-d8b729a4655f
Best regards,
--
Xilin Wu <sophon@xxxxxxxxx>