diff options
| author | Pierre-Clément Tosi <[email protected]> | 2023-02-09 04:54:28 +0800 |
|---|---|---|
| committer | Tom Rini <[email protected]> | 2023-03-06 17:03:55 -0500 |
| commit | c55c2a8565ad6b8aad2e47008a53bbca398c0f62 (patch) | |
| tree | 4860e2c2777b0d4605427f9905ce374bfffbe30c /include/linux/zstd_errors.h | |
| parent | 46dc54287031759c03c68902283d92076938305c (diff) | |
arm64: Initialize TLB memory if CMO_BY_VA_ONLY
Memory used to hold the page tables is allocated from the top of RAM
with no prior initialization and could therefore hold invalid data. As
invalidate_dcache_all() will be called before the MMU has been
initialized and as that function relies indirectly on the page tables
when using CMO_BY_VA_ONLY, these must be in a valid state from their
allocation.
Signed-off-by: Pierre-Clément Tosi <[email protected]>
[ Paul: pick from the Android tree. Fix checkpatch warnings, and rebased
to the upstream. ]
Signed-off-by: Ying-Chun Liu (PaulLiu) <[email protected]>
Cc: Tom Rini <[email protected]>
Link: https://android.googlesource.com/platform/external/u-boot/+/e3ceef4230b772186c6853cace4a676a407e6ab7
Diffstat (limited to 'include/linux/zstd_errors.h')
0 files changed, 0 insertions, 0 deletions
