Skip to content
Commit 6744ace5 authored by Ard Biesheuvel's avatar Ard Biesheuvel Committed by Tom Rini
Browse files

arm: enable allocate-on-read for LPAE's DCACHE_WRITEBACK/_WRITETHROUGH



The LPAE versions of DCACHE_WRITEBACK and DCACHE_WRITETHROUGH are currently
defined as no-allocate for both reads and writes, which deviates from the
non-LPAE definition, and mostly defeats the purpose of enabling the caches
in the first place.

So align LPAE with !LPAE, and enable allocate-on-read for both. And while
at it, add some clarification about the meaning of the chosen values.

Signed-off-by: default avatarArd Biesheuvel <ardb@kernel.org>
Reviewed-by: default avatarAndre Przywara <andre.przywara@arm.com>
parent 0c7eb6e5
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment