From mboxrd@z Thu Jan 1 00:00:00 1970 From: Marek Vasut Date: Sun, 15 Jul 2012 11:50:30 +0200 Subject: [U-Boot] [PATCH v2] usb_storage: fix ehci driver max transfer size In-Reply-To: References: <1340043748-9261-1-git-send-email-stefan@herbrechtsmeier.net> Message-ID: <201207151150.30335.marex@denx.de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Dear Wolfgang Denk, > The commit 5dd95cf93dfffa1d19a1928990852aac9f55b9d9 'usb_storage: > Fix EHCI "out of buffer pointers" with CD-ROM' introduce a bug in > usb_storage as it wrongly assumes that every transfer can use > 4096 bytes per qt_buffer. This is wrong if the start address of > the data is not page aligned to 4096 bytes and leads to 'EHCI > timed out on TD' messages because of 'out of buffer pointers' > in ehci_td_buffer function. > > The bug appears during load of a fragmented file and > read from or write to an unaligned memory address. > > Cc: Marek Vasut > Signed-off-by: Stefan Herbrechtsmeier I'd like to get this patch: http://patchwork.ozlabs.org/patch/170256/ applied into current release. If you consider a pullRQ is better, I'll prepare one. Best regards, Marek Vasut