aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/perl/Perf-Trace-Util/Context.c
diff options
context:
space:
mode:
authorChristoph Hellwig <[email protected]>2018-06-15 13:08:35 +0200
committerPaul Burton <[email protected]>2018-06-24 09:26:02 -0700
commite799de3efb9d6e0df5740eed901b89a6e533eaef (patch)
tree1fb04f672be1265099db699ba314d0a70f41ff69 /tools/perf/scripts/perl/Perf-Trace-Util/Context.c
parent97f9f9763a7a431e04f0ffd4e62d0d288a59f908 (diff)
MIPS: loongson: remove loongson_dma_supported
swiotlb_dma_supported will always return true for a mask large enough to cover the DMA addresses for all physical memory, which is the right thing to do for swiotlb based dma ops. This function returned false if the mask was bigger than a firmware set dma_mask_bits that apparently can be either 32 or 64, and which seems completely buggys if it actually is not 64, as the false return negates the whole point of swiotlb. Signed-off-by: Christoph Hellwig <[email protected]> Patchwork: https://patchwork.linux-mips.org/patch/19533/ Signed-off-by: Paul Burton <[email protected]> Cc: Florian Fainelli <[email protected]> Cc: David Daney <[email protected]> Cc: Kevin Cernekee <[email protected]> Cc: Jiaxun Yang <[email protected]> Cc: Tom Bogendoerfer <[email protected]> Cc: Huacai Chen <[email protected]> Cc: [email protected] Cc: [email protected]
Diffstat (limited to 'tools/perf/scripts/perl/Perf-Trace-Util/Context.c')
0 files changed, 0 insertions, 0 deletions