[U-Boot] [PATCH] mtd: nand: denali: fix unaligned cache operation warnings on ARMv7 SoCs

Masahiro Yamada yamada.masahiro at socionext.com
Mon Sep 10 13:59:52 UTC 2018


2018-09-10 22:26 GMT+09:00 Marek Vasut <marek.vasut at gmail.com>:
> On 09/10/2018 04:17 AM, Masahiro Yamada wrote:
>> If the OOB size is not multiple of the cache line size, the ARMv7
>> cache operation still warns "Misaligned operation at range".
>>
>> The real cache coherency problem was fixed by commit e3332e1a1a04
>> ("Make kmalloc'ed memory really DMA-safe").  Now it is the matter
>> of the warning messages.
>
> The cache ops won't happen if the address isn't aligned, so this is
> needed on armv7a anyway. It's not just about silencing the messages,
> this patch is actually required.


You are right.
I was misunderstanding.

I will reword the patch description.  Thanks!


-- 
Best Regards
Masahiro Yamada


More information about the U-Boot mailing list