Re: [PATCH v2 2/2] arm64: Initialize TLB memory if CMO_BY_VA_ONLY

2023-03-07 Thread Tom Rini
On Thu, Feb 09, 2023 at 04:54:28AM +0800, Ying-Chun Liu (PaulLiu) wrote: > From: Pierre-Clément Tosi > > 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 t

[PATCH v2 2/2] arm64: Initialize TLB memory if CMO_BY_VA_ONLY

2023-02-08 Thread Ying-Chun Liu (PaulLiu)
From: Pierre-Clément Tosi 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 table