Skip to content

Honor VPD check in usb/storage for SanDisk device

Marcos Paulo de Souza linux-scsi linux-usb lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 15 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2scsi: devinfo: BLIST_TRY_VPD_PAGES for SanDisk Cruzer Bladedrivers/scsi/scsi_devinfo.c+2 -07 replies
2/2usb: storage: scsiglue: Do not skip VPD if try_vpd_pages is setdrivers/usb/storage/scsiglue.c+5 -28 replies

Reviews trailers per patch

1 of 2 patches has a Reviewed-by or Acked-by.

PatchAlan Stern
1/2
2/2A-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH 0/2] Honor VPD check in usb/storage for SanDisk device

Before this patch, USB storage devices disabled VPD check by always setting skip_vpd_check.

The first patch add a new entry to scsi_static_device_list related to SanDisk Cruzer Blade, which have VPD, adding BLIST_TRY_VPD_PAGES flag, which implies try_vpd_pages.

The second patch check try_vpd_pages, and only set skip_vpd_pages if try_vpd_pages is not set.

This patches along the wwid one [1], makes SanDisk Cruzer Blade device to present correctly wwid, vpd_pg80 and vpd_pg83 in sysfs, and let the window open to support another USB storage devices to support and present VPD.

[1]: https://lkml.org/lkml/2019/6/11/1408

Marcos Paulo de Souza (2):
scsi: devinfo: BLIST_TRY_VPD_PAGES for SanDisk Cruzer Blade
usb: storage: scsiglue: Do not skip VPD if try_vpd_pages is set

 drivers/scsi/scsi_devinfo.c    | 2 ++
 drivers/usb/storage/scsiglue.c | 7 +++++--
 2 files changed, 7 insertions(+), 2 deletions(-)
Signature · 1 line
2.21.0