diff options
author | Marc Zyngier <maz@kernel.org> | 2023-03-18 00:22:52 +0800 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2023-04-25 15:31:27 -0400 |
commit | 836b8d4b205d2175b57cb9ef271e638b0c116e89 (patch) | |
tree | f057d0af7248d9817c2e254dbbd9163965c36439 /arch/arm/include/asm/armv8/mmu.h | |
parent | 6cdf6b7a340db4ddd008516181de7e08e3f8c213 (diff) | |
download | u-boot-836b8d4b205d2175b57cb9ef271e638b0c116e89.zip u-boot-836b8d4b205d2175b57cb9ef271e638b0c116e89.tar.gz u-boot-836b8d4b205d2175b57cb9ef271e638b0c116e89.tar.bz2 |
arm64: Use level-2 for largest block mappings when FEAT_HAFDBS is present
In order to make invalidation by VA more efficient, set the largest
block mapping to 2MB, mapping it onto level-2. This has no material
impact on u-boot's runtime performance, and allows a huge speedup
when cleaning the cache.
Signed-off-by: Marc Zyngier <maz@kernel.org>
[ Paul: pick from the Android tree. Rebase to the upstream ]
Signed-off-by: Ying-Chun Liu (PaulLiu) <paul.liu@linaro.org>
Cc: Tom Rini <trini@konsulko.com>
Link: https://android.googlesource.com/platform/external/u-boot/+/417a73581a72ff6d6ee4b0938117b8a23e32f7e8
Diffstat (limited to 'arch/arm/include/asm/armv8/mmu.h')
0 files changed, 0 insertions, 0 deletions