From mboxrd@z Thu Jan 1 00:00:00 1970 From: Stefano Babic Date: Mon, 02 Apr 2012 09:13:49 +0200 Subject: [U-Boot] [PATCH 2/4] net: round up before calling flush_cache In-Reply-To: <201204011523.04011.vapier@gentoo.org> References: <1333116143-4625-1-git-send-email-agust@denx.de> <1333286581-27939-1-git-send-email-sbabic@denx.de> <1333286581-27939-2-git-send-email-sbabic@denx.de> <201204011523.04011.vapier@gentoo.org> Message-ID: <4F7951AD.4070905@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 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 ? Stefano -- ===================================================================== DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: +49-8142-66989-53 Fax: +49-8142-66989-80 Email: sbabic at denx.de =====================================================================