diff options
| author | Christophe Leroy <christophe.leroy@csgroup.eu> | 2021-04-08 15:30:28 +0000 |
|---|---|---|
| committer | Michael Ellerman <mpe@ellerman.id.au> | 2021-04-14 23:04:18 +1000 |
| commit | e618c7aea1f2a2d615a99948f1f5cb4c11b6bf57 (patch) | |
| tree | ae3d1c0efea1720ab96e33e9ba0b019d4c0ea53f /tools/perf/scripts/python/exported-sql-viewer.py | |
| parent | powerpc/mem: Remove address argument to flush_coherent_icache() (diff) | |
| download | linux-e618c7aea1f2a2d615a99948f1f5cb4c11b6bf57.tar.gz linux-e618c7aea1f2a2d615a99948f1f5cb4c11b6bf57.zip | |
powerpc/mem: Call flush_coherent_icache() at higher level
flush_coherent_icache() doesn't need the address anymore,
so it can be called immediately when entering the public
functions and doesn't need to be disseminated among
lower level functions.
And use page_to_phys() instead of open coding the calculation
of phys address to call flush_dcache_icache_phys().
Signed-off-by: Christophe Leroy <christophe.leroy@csgroup.eu>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/5f063986e325d2efdd404b8f8c5f4bcbd4eb11a6.1617895813.git.christophe.leroy@csgroup.eu
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions
