[PATCH 1/4] arm: cache-cp15: add error when region is not aligned on MMU_SECTION

Tom Rini trini at konsulko.com
Tue Dec 1 20:12:04 CET 2020


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 <m.szyprowski at samsung.com>
> 
> Signed-off-by: Patrick Delaunay <patrick.delaunay at st.com>

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: <https://lists.denx.de/pipermail/u-boot/attachments/20201201/051242f3/attachment.sig>


More information about the U-Boot mailing list