Re: [PATCH] powerpc/powernv/memtrace: Fix dcache flushing

2021-05-01 Thread Sandipan Das
On 30/04/21 2:12 pm, Christophe Leroy wrote: > > > Le 30/04/2021 à 09:55, Sandipan Das a écrit : >> Trace memory is cleared and the corresponding dcache lines >> are flushed after allocation. However, this should not be >> done using the PFN. This adds the missing __va() conversion. >> >> Fixes

Re: [PATCH] powerpc/powernv/memtrace: Fix dcache flushing

2021-04-30 Thread Christophe Leroy
Le 30/04/2021 à 09:55, Sandipan Das a écrit : Trace memory is cleared and the corresponding dcache lines are flushed after allocation. However, this should not be done using the PFN. This adds the missing __va() conversion. Fixes: 2ac02e5ecec0 ("powerpc/mm: Remove dcache flush from memory rem

Re: [PATCH] powerpc/powernv/memtrace: Fix dcache flushing

2021-04-30 Thread Aneesh Kumar K.V
Sandipan Das writes: > Trace memory is cleared and the corresponding dcache lines > are flushed after allocation. However, this should not be > done using the PFN. This adds the missing __va() conversion. Reviewed-by: Aneesh Kumar K.V > > Fixes: 2ac02e5ecec0 ("powerpc/mm: Remove dcache flush f

[PATCH] powerpc/powernv/memtrace: Fix dcache flushing

2021-04-30 Thread Sandipan Das
Trace memory is cleared and the corresponding dcache lines are flushed after allocation. However, this should not be done using the PFN. This adds the missing __va() conversion. Fixes: 2ac02e5ecec0 ("powerpc/mm: Remove dcache flush from memory remove.") Signed-off-by: Sandipan Das --- arch/power