On Mon, 08 Jun 2026 19:13:47 +0200, Casey Connolly wrote:
> Currently trying to unmap a region results in slow and largely broken
> behaviour as we unnecessarily split blocks and manually set thousands of
> individual 4k pages instead of higher level blocks.
>
> This series fixes the behaviour of set_one_region() so that it works properly
> when called to unmap regions. See patch 4 for details.
>
> Patches 1 & 2 improve the existing debug functionality, the pagetable
> dumper will now print most explicitly unmapped regions (since they still
> have their PA intact), as well as adding a new function which does a
> very basic software TLB lookup to help with debugging.
>
> [...]
Applied to u-boot/next, thanks!
[1/4] armv8: mmu: add a function to help debug TLB lookups
commit: 647990c5284af3b4fe70af99b03b91e91d692a69
[2/4] armv8: mmu: teach the pagetable dumper to show explicit FAULT maps
commit: 41b6b904b58577c4aa7100e2850af0429e964283
[3/4] armv8: mmu: commonize the set_one_region() loop
commit: 76c90926087cd586f151c5ebd557589e1306b45c
[4/4] armv8: mmu: fix and optimise explicitly unmapping regions
commit: 6468ca13ffd6f3ce85edff8f9b0c317c719aa9c6
--
Tom