[PATCH 0/4] USB fixes: Mass Storage bugs & 64bit support

Neal Gompa neal at gompa.dev
Sun Oct 29 15:36:11 CET 2023


On Sun, Oct 29, 2023 at 3:23 AM Hector Martin <marcan at marcan.st> wrote:
>
> This series fixes some bugs in the USBMS driver and adds 64-bit LBA
> support. This is required to make USB HDDs >=4TB work.
>
> Note that the increased timeout won't actually work right now, due to
> broken handling in the underlying USB infrastructure. That will be fixed
> in a follow-up series, which depends on [1] being applied first. The
> USBMS part is logically stand-alone and can be applied in parallel
> before that.
>
> [1] https://lore.kernel.org/u-boot/20231029-usb-fixes-1-v2-0-623533f6316e@marcan.st/
>
> Signed-off-by: Hector Martin <marcan at marcan.st>
> ---
> Hector Martin (4):
>       scsi: Fix a bunch of SCSI definitions.
>       usb: storage: Increase read/write timeout
>       usb: storage: Use the correct CBW lengths
>       usb: storage: Implement 64-bit LBA support
>
>  common/usb_storage.c | 164 ++++++++++++++++++++++++++++++++++++++++++---------
>  drivers/ata/ahci.c   |   9 ++-
>  drivers/scsi/scsi.c  |   4 +-
>  include/scsi.h       |   8 ++-
>  4 files changed, 150 insertions(+), 35 deletions(-)
> ---
> base-commit: 8ad1c9c26f7740806a162818b790d4a72f515b7e
> change-id: 20231029-usb-fixes-3-c72f829ba61b

Series LGTM.

Reviewed-by: Neal Gompa <neal at gompa.dev>


-- 
真実はいつも一つ!/ Always, there's only one truth!


More information about the U-Boot mailing list