diff options
author | 2021-05-01 21:32:54 +0530 | |
---|---|---|
committer | 2021-05-04 22:27:56 +1000 | |
commit | b910fcbada9721c21f1d59ab59e07e8e354c23cc (patch) | |
tree | a0b337e8148c0678a467d146e485566a95026688 /arch/powerpc/lib/Makefile | |
parent | powerpc/kexec_file: Use current CPU info while setting up FDT (diff) | |
download | linux-b910fcbada9721c21f1d59ab59e07e8e354c23cc.tar.gz linux-b910fcbada9721c21f1d59ab59e07e8e354c23cc.tar.bz2 linux-b910fcbada9721c21f1d59ab59e07e8e354c23cc.zip |
powerpc/powernv/memtrace: Fix dcache flushing
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 conversion to
virtual address.
Fixes: 2ac02e5ecec0 ("powerpc/mm: Remove dcache flush from memory remove.")
Signed-off-by: Sandipan Das <sandipan@linux.ibm.com>
Reviewed-by: Aneesh Kumar K.V <aneesh.kumar@linux.ibm.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/20210501160254.1179831-1-sandipan@linux.ibm.com
Diffstat (limited to 'arch/powerpc/lib/Makefile')
0 files changed, 0 insertions, 0 deletions