[U-Boot] disk: part: align buffer so it can be used with DMA enabled drivers

Tom Rini trini at konsulko.com
Sat Aug 26 20:47:10 UTC 2017


On Wed, Aug 23, 2017 at 09:46:17AM -0700, Stefan Agner wrote:

> From: Stefan Agner <stefan.agner at toradex.com>
> 
> When using ISO partitions with a DMA enabled block device driver
> reading the ISO partition leads to unaligned DMA operations:
>   CACHE: Misaligned operation at range [bffb7da8, bffb85a8]
> 
> Align the buffer to make sure we pass a buffer which works for
> DMA operations.
> 
> Signed-off-by: Stefan Agner <stefan.agner at toradex.com>
> Reviewed-by: Bin Meng <bmeng.cn at gmail.com>

Applied to u-boot/master, thanks!

-- 
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: Digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20170826/36d515db/attachment.sig>


More information about the U-Boot mailing list