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

Bin Meng bmeng.cn at gmail.com
Thu Aug 24 07:48:39 UTC 2017


On Thu, Aug 24, 2017 at 12:46 AM, Stefan Agner <stefan at agner.ch> 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>
> ---
>
>  disk/part_iso.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>

Reviewed-by: Bin Meng <bmeng.cn at gmail.com>


More information about the U-Boot mailing list