Re: [U-Boot] [PATCH] [RFC] usb: storage: Limit transfer size to 120 kiB

2019-09-16 Thread Marek Vasut
On 9/16/19 10:15 AM, Bin Meng wrote: > On Mon, Sep 16, 2019 at 4:10 PM Marek Vasut wrote: >> >> On 9/16/19 8:53 AM, Bin Meng wrote: >>> On Mon, Sep 16, 2019 at 6:24 AM Marek Vasut wrote: Due to constant influx of more and more weird and broken USB sticks, do as Linux does in commit 7

Re: [U-Boot] [PATCH] [RFC] usb: storage: Limit transfer size to 120 kiB

2019-09-16 Thread Bin Meng
On Mon, Sep 16, 2019 at 4:10 PM Marek Vasut wrote: > > On 9/16/19 8:53 AM, Bin Meng wrote: > > On Mon, Sep 16, 2019 at 6:24 AM Marek Vasut wrote: > >> > >> Due to constant influx of more and more weird and broken USB sticks, > >> do as Linux does in commit 779b457f66e10de3471479373463b27fd308dc85

Re: [U-Boot] [PATCH] [RFC] usb: storage: Limit transfer size to 120 kiB

2019-09-16 Thread Marek Vasut
On 9/16/19 8:53 AM, Bin Meng wrote: > On Mon, Sep 16, 2019 at 6:24 AM Marek Vasut wrote: >> >> Due to constant influx of more and more weird and broken USB sticks, >> do as Linux does in commit 779b457f66e10de3471479373463b27fd308dc85 >> >> usb: storage: scsiglue: further describe our 240 secto

Re: [U-Boot] [PATCH] [RFC] usb: storage: Limit transfer size to 120 kiB

2019-09-15 Thread Bin Meng
On Mon, Sep 16, 2019 at 6:24 AM Marek Vasut wrote: > > Due to constant influx of more and more weird and broken USB sticks, > do as Linux does in commit 779b457f66e10de3471479373463b27fd308dc85 > > usb: storage: scsiglue: further describe our 240 sector limit > > Just so we have some sort

[U-Boot] [PATCH] [RFC] usb: storage: Limit transfer size to 120 kiB

2019-09-15 Thread Marek Vasut
Due to constant influx of more and more weird and broken USB sticks, do as Linux does in commit 779b457f66e10de3471479373463b27fd308dc85 usb: storage: scsiglue: further describe our 240 sector limit Just so we have some sort of documentation as to why we limit our Mass Storage transfe