summaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorGaurav Batra <gbatra@linux.ibm.com>2025-11-07 10:11:05 -0600
committerMadhavan Srinivasan <maddy@linux.ibm.com>2026-01-07 09:33:55 +0530
commit1471c517cf7dae1a6342fb821d8ed501af956dd0 (patch)
tree8adae503ae559b9eb3fe6e6f5ffd86854621fe24 /tools/perf/scripts/python
parent20ab1d11265350a9ea3d315d6c70170b8198f329 (diff)
downloadlinux-1471c517cf7dae1a6342fb821d8ed501af956dd0.tar.gz
linux-1471c517cf7dae1a6342fb821d8ed501af956dd0.zip
powerpc/iommu: bypass DMA APIs for coherent allocations for pre-mapped memory
Leverage ARCH_HAS_DMA_MAP_DIRECT config option for coherent allocations as well. This will bypass DMA ops for memory allocations that have been pre-mapped. Always set device bus_dma_limit when memory is pre-mapped. In some architectures, like PowerPC, pmemory can be converted to regular memory via daxctl command. This will gate the coherent allocations to pre-mapped RAM only, by dma_coherent_ok(). Signed-off-by: Gaurav Batra <gbatra@linux.ibm.com> Signed-off-by: Madhavan Srinivasan <maddy@linux.ibm.com> Link: https://patch.msgid.link/20251107161105.85999-1-gbatra@linux.ibm.com
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions