[PATCH v2] ARM: mmu: skip cacheable page flushes for empty ranges

Sascha Hauer s.hauer at pengutronix.de
Sun Jun 21 23:19:56 PDT 2026


On Sat, 20 Jun 2026 07:04:56 +0200, Ahmad Fatoum wrote:
> If we end here with a size of zero, region_end will become -1 and
> is a sure way to lead into confusing issues.
> 
> __arch_remap_range() skips 0-sized regions, so do likewise here, so
> all of arch_remap_range() is 0-size-region safe.
> 
> 
> [...]

Applied, thanks!

[1/1] ARM: mmu: skip cacheable page flushes for empty ranges
      https://git.pengutronix.de/cgit/barebox/commit/?id=95ff4d5058ac (link may not be stable)

Best regards,
-- 
Sascha Hauer <s.hauer at pengutronix.de>




More information about the barebox mailing list