aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/sctop.py
diff options
context:
space:
mode:
authorSantosh Shilimkar <[email protected]>2014-04-24 15:30:04 +0000
committerSantosh Shilimkar <[email protected]>2014-05-07 13:21:21 +0000
commit591c1ee465ce5372385dbc41e7d3e36cbb477bd8 (patch)
tree9a1a70d862e00f8431956479eb15899565f0f6bd /tools/perf/scripts/python/sctop.py
parentof: introduce of_dma_is_coherent() helper (diff)
downloadkernel-591c1ee465ce5372385dbc41e7d3e36cbb477bd8.tar.gz
kernel-591c1ee465ce5372385dbc41e7d3e36cbb477bd8.zip
of: configure the platform device dma parameters
Retrieve DMA configuration from DT and setup platform device's DMA parameters. The DMA configuration in DT has to be specified using "dma-ranges" and "dma-coherent" properties if supported. We setup dma_pfn_offset using "dma-ranges" and dma_coherent_ops using "dma-coherent" device tree properties. The set_arch_dma_coherent_ops macro has to be defined by arch if it supports coherent dma_ops. Otherwise, set_arch_dma_coherent_ops() is declared as nop. Cc: Greg Kroah-Hartman <[email protected]> Cc: Russell King <[email protected]> Cc: Arnd Bergmann <[email protected]> Cc: Olof Johansson <[email protected]> Cc: Grant Likely <[email protected]> Cc: Catalin Marinas <[email protected]> Cc: Linus Walleij <[email protected]> Reviewed-by: Rob Herring <[email protected]> Signed-off-by: Grygorii Strashko <[email protected]> Signed-off-by: Santosh Shilimkar <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/sctop.py')
0 files changed, 0 insertions, 0 deletions