[PATCH v2] scsi: Adjust SCSI inquiry command data length

Tom Rini trini at konsulko.com
Mon Mar 16 19:07:36 CET 2026


On Thu, 05 Mar 2026 18:23:24 +0800, Macpaul Lin wrote:

> Per the SCSI SPC-4 specification, the standard inquiry data length
> should not be less than 36 bytes. The current implementation uses 512
> bytes, which causes detection failures on some UFS devices (e.g.,
> Longsys) that do not expect a transfer length exceeding the standard
> inquiry size.
> 
> Align the default standard inquiry length with the Linux kernel's
> implementation (see drivers/scsi/scsi_scan.c), which uses 36 bytes as
> the default. Devices requiring vendor-specific inquiry lengths should
> be handled through quirk settings in the future.
> 
> [...]

Applied to u-boot/next, thanks!

[1/1] scsi: Adjust SCSI inquiry command data length
      commit: 041364141b7daef8318a4b8495cac8570002773f
-- 
Tom




More information about the U-Boot mailing list