]> git.ipfire.org Git - thirdparty/u-boot.git/commit
armv8: enable HAFDBS for other ELx when FEAT_HAFDBS is present
authormeitao <meitaogao@asrmicro.com>
Fri, 17 Mar 2023 16:22:53 +0000 (00:22 +0800)
committerTom Rini <trini@konsulko.com>
Tue, 25 Apr 2023 19:31:27 +0000 (15:31 -0400)
commitc1da6fdb5c239b432440721772d993e63cfdeb20
tree215d28a1ece06c2e04d8a168fbe2a7f5154f33f1
parent836b8d4b205d2175b57cb9ef271e638b0c116e89
armv8: enable HAFDBS for other ELx when FEAT_HAFDBS is present

u-boot could be run at EL1/EL2/EL3. so we set it as same as EL1 does.
otherwise it will hang when enable mmu, that is what we encounter
in our SOC.

Signed-off-by: meitao <meitaogao@asrmicro.com>
[ 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/+/3bf38943aeab4700c2319bff2a1477d99c6afd2f
arch/arm/cpu/armv8/cache_v8.c
arch/arm/include/asm/armv8/mmu.h