[U-Boot] [PATCH] dm: core: Round up size when allocating so that it is cache line aligned
sjg at google.com
sjg at google.com
Fri Sep 29 21:00:30 UTC 2017
On 19 September 2017 at 05:23, Faiz Abbas <faiz_abbas at ti.com> wrote:
> The size variable may not be always be a mulitple of
> ARCH_DMA_MINALIGN and using it to flush cache leads to cache
> misaligned warnings.
>
> Therefore, round up the size to a multiple of ARCH_DMA_MINLAIGN
> when allocating private data.
>
> Signed-off-by: Faiz Abbas <faiz_abbas at ti.com>
> ---
> drivers/core/device.c | 1 +
> 1 file changed, 1 insertion(+)
Reviewed-by: Simon Glass <sjg at chromium.org>
Applied to u-boot-dm thanks!
More information about the U-Boot
mailing list