From: Tom Rini Date: Mon, 10 Sep 2018 17:49:19 -0400 Subject: [U-Boot] [PATCH] mtd: nand: denali: fix unaligned cache operation warnings on ARMv7 SoCs In-Reply-To: <1536545850-31998-1-git-send-email-yamada.masahiro@socionext.com> References: <1536545850-31998-1-git-send-email-yamada.masahiro@socionext.com> Message-ID: <20180910214919.GI4980@bill-the-cat> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On Mon, Sep 10, 2018 at 11:17:30AM +0900, 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. > > => nand info > > Device 0: nand0, sector size 256 KiB > Page size 4096 b > OOB size 224 b > Erase size 262144 b > subpagesize 4096 b > options 0x00104200 > bbt options 0x00060000 > => nand dump 0 > CACHE: Misaligned operation at range [9fb15280, 9fb16360] > CACHE: Misaligned operation at range [9fb15280, 9fb16360] > CACHE: Misaligned operation at range [9fb15280, 9fb16360] > CACHE: Misaligned operation at range [9fb15280, 9fb16360] > ... > > Reported-by: Marek Vasut > Signed-off-by: Masahiro Yamada After re-wording the commit message based on Marek's email, 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: not available URL: