From: Tom Rini Date: Tue, 1 Dec 2020 14:12:04 -0500 Subject: [PATCH 1/4] arm: cache-cp15: add error when region is not aligned on MMU_SECTION In-Reply-To: <20201103120047.1.I30ef60ea8b13322a6ec7b675dc2de5f63f336fc3@changeid> References: <20201103120047.1.I30ef60ea8b13322a6ec7b675dc2de5f63f336fc3@changeid> Message-ID: <20201201191204.GA20093@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 Tue, Nov 03, 2020 at 12:01:10PM +0100, Patrick Delaunay wrote: > Since commit d877f8fd0f09 ("arm: provide a function for boards init code to > modify MMU virtual-physical map"), the mmu_set_region_dcache_behaviour_phys > parameter need to be aligned on MMU_SECTION_SIZE to avoid unpredictable > behavior (alignment was done previously done in the function > mmu_set_region_dcache_behaviour_phys). > > This patch raised a error when this alignment is not respected. > Even if this function is called so early, this message can be printed > when CONFIG_DEBUG_UART is activated or can be treated later with > CONFIG_PRE_CONSOLE_BUFFER. > > CC: Marek Szyprowski > > Signed-off-by: Patrick Delaunay So, this series causes build problems on rpi_4_32b dra7xx_evm dra7xx_hs_evm dra7xx_hs_evm_usb at least. Please address as soon as possible as I'd like to pull this in to -next for maximum testing time. Thanks! -- Tom -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 659 bytes Desc: not available URL: