[PATCH] arm64: Fix map_range() not splitting mapped blocks

Tom Rini trini at konsulko.com
Wed Apr 10 19:43:14 CEST 2024


On Mon, 18 Mar 2024 19:35:49 +0000, Pierre-Clément Tosi wrote:

> The implementation of map_range() creates the requested mapping by
> walking the page tables, iterating over multiple PTEs and/or descending
> into existing table mappings as needed. When doing so, it assumes any
> pre-existing valid PTE to be a table mapping. This assumption is wrong
> if the platform code attempts to successively map two overlapping ranges
> where the latter intersects a block mapping created for the former.
> 
> [...]

Applied to u-boot/master, thanks!

-- 
Tom




More information about the U-Boot mailing list