On Wed, 08 Jul 2026 16:47:10 +0530, Akshay Belsare wrote:

> DCACHE_OFF is defined as (0 << 2) = 0, and PTE_TYPE_FAULT is defined
> as (0 << 0) = 0. In mmu_set_region_dcache_behaviour(), the cache
> attribute passed to set_regions() is computed as:
>   attrs = PMD_ATTRINDX(option >> 2)
> For DCACHE_OFF=0 this evaluates to PMD_ATTRINDX(0) = 0, which equals
> PTE_TYPE_FAULT.
> 
> [...]

Applied to u-boot/main, thanks!

[1/1] arm: armv8: mmu: fix DCACHE_OFF incorrectly unmapping region
      commit: d7ef23c07b8e34f65b3e15e3b4e7f58d074923c8
-- 
Tom


Reply via email to