From mboxrd@z Thu Jan 1 00:00:00 1970 From: Marek Vasut Date: Mon, 2 Apr 2012 16:03:13 +0200 Subject: [U-Boot] [PATCH 2/4] net: round up before calling flush_cache In-Reply-To: <4F7951AD.4070905@denx.de> References: <1333116143-4625-1-git-send-email-agust@denx.de> <201204011523.04011.vapier@gentoo.org> <4F7951AD.4070905@denx.de> Message-ID: <201204021603.13673.marex@denx.de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Dear Stefano Babic, > On 01/04/2012 21:23, Mike Frysinger wrote: > > On Sunday 01 April 2012 09:22:59 Stefano Babic wrote: > >> If the range passed to flush_cache is not multiple of > >> ARCH_DMA_MINALIGN, a warning due to mislaignment is printed. > >> Detected with fec_mxc, mx35 boards: > >> > >> CACHE: Misaligned operation at range [80800000, 8083c310] > > > > warning on flushing is broken. the arch/arm/cpu/arm926ejs/cache.c > > code should probably be fixed instead. > > mmhhh...I agree with you. Marek, really I am expecting that the same > message appears on MX28, not only on arm1136. Only if the size of the > downloaded file is a multiple of 32, the warning will not appear. > > Anyway, the message is misleading. Do we need such kind of warning or > can we simply silently ignore it ? Well, it was there to catch bugs in drivers. We can probably turn it into debug() now ? > Stefano Best regards, Marek Vasut