Skip to contentSkip to conversation

scsi: core: Add BLIST_SKIP_VPD_PAGES for SKhynix H28U74301AMR

PATCH Applied Joel Selvaraj 2 participants 2 messages Mar 13, 2023 – Mar 17, 2023 SCSI

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 scsi: core: Add BLIST_SKIP_VPD_PAGES for SKhynix H28U74301AMR

Xiaomi Poco F1(qcom/sdm845-xiaomi-beryllium*.dts) comes with a SKhynix H28U74301AMR UFS. The sd_read_cpr operation leads to a 120 seconds timeout making the device bootup very slow. Like the following:

[  121.457736] sd 0:0:0:1: [sdb] tag#23 timing out command, waited 120s

Setting the BLIST_SKIP_VPD_PAGES allows the device to skip the failing sd_read_cpr operation and boot normally.

---
 drivers/scsi/scsi_devinfo.c | 1 +
 1 file changed, 1 insertion(+)
drivers/scsi/scsi_devinfo.c +1 -0
index c7080454aea9..bd110a93d047 100644
@@ -233,6 +233,7 @@ static struct {
 	{"SGI", "RAID5", "*", BLIST_SPARSELUN},
 	{"SGI", "TP9100", "*", BLIST_REPORTLUN2},
 	{"SGI", "Universal Xport", "*", BLIST_NO_ULD_ATTACH},
+	{"SKhynix", "H28U74301AMR", NULL, BLIST_SKIP_VPD_PAGES},
 	{"IBM", "Universal Xport", "*", BLIST_NO_ULD_ATTACH},
 	{"SUN", "Universal Xport", "*", BLIST_NO_ULD_ATTACH},
 	{"DELL", "Universal Xport", "*", BLIST_NO_ULD_ATTACH},
Signature · 1 line
2.39.2
#1 lore raw
Quoted 10 lines · Joel Selvaraj

Xiaomi Poco F1(qcom/sdm845-xiaomi-beryllium*.dts) comes with a SKhynix H28U74301AMR UFS. The sd_read_cpr operation leads to a 120 seconds timeout making the device bootup very slow. Like the following:

[  121.457736] sd 0:0:0:1: [sdb] tag#23 timing out command, waited 120s

Setting the BLIST_SKIP_VPD_PAGES allows the device to skip the failing sd_read_cpr operation and boot normally.

[...]

Applied to 6.3/scsi-fixes, thanks!

[1/1] scsi: core: Add BLIST_SKIP_VPD_PAGES for SKhynix H28U74301AMR

      https://git.kernel.org/mkp/scsi/c/a204b490595d
Signature · 1 line
Martin K. Petersen	Oracle Linux Engineering