Re: [PATCH 1/5] arm: enable allocate-on-read for LPAE's DCACHE_WRITEBACK

2020-06-06 Thread Heinrich Schuchardt
On 6/7/20 1:17 AM, Ard Biesheuvel wrote: > On Sat, 6 Jun 2020 at 22:14, Heinrich Schuchardt wrote: >> >> On 6/6/20 7:15 PM, Ard Biesheuvel wrote: >>> The LPAE version of DCACHE_WRITEBACK is currently defined as no-allocate >>> for both reads and writes, which deviates from the non-LPAE

Re: [PATCH 1/5] arm: enable allocate-on-read for LPAE's DCACHE_WRITEBACK

2020-06-06 Thread Ard Biesheuvel
On Sat, 6 Jun 2020 at 22:14, Heinrich Schuchardt wrote: > > On 6/6/20 7:15 PM, Ard Biesheuvel wrote: > > The LPAE version of DCACHE_WRITEBACK is currently defined as no-allocate > > for both reads and writes, which deviates from the non-LPAE definition, > > and mostly defeats the purpose of

Re: [PATCH 1/5] arm: enable allocate-on-read for LPAE's DCACHE_WRITEBACK

2020-06-06 Thread Heinrich Schuchardt
On 6/6/20 7:15 PM, Ard Biesheuvel wrote: > The LPAE version of DCACHE_WRITEBACK is 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,

[PATCH 1/5] arm: enable allocate-on-read for LPAE's DCACHE_WRITEBACK

2020-06-06 Thread Ard Biesheuvel
The LPAE version of DCACHE_WRITEBACK is 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. Signed-off-by: Ard