summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/syscall-counts.py
diff options
context:
space:
mode:
authorAlexander Shishkin <alexander.shishkin@linux.intel.com>2019-05-03 11:44:34 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2019-06-11 12:23:44 +0200
commit2a98d346396abd7849e20e0bce666e803d601f25 (patch)
tree4861e9a5c71215316dcbd61d87e1080e367ce3b1 /tools/perf/scripts/python/syscall-counts.py
parentbc065776c31ee14347822c6fe9b8cfbc392e5959 (diff)
intel_th: msu: Fix single mode with IOMMU
commit 4e0eaf239fb33ebc671303e2b736fa043462e2f4 upstream. Currently, the pages that are allocated for the single mode of MSC are not mapped into the device's dma space and the code is incorrectly using *_to_phys() in place of a dma address. This fails with IOMMU enabled and is otherwise bad practice. Fix the single mode buffer allocation to map the pages into the device's DMA space. Signed-off-by: Alexander Shishkin <alexander.shishkin@linux.intel.com> Fixes: ba82664c134e ("intel_th: Add Memory Storage Unit driver") Cc: stable@vger.kernel.org # v4.4+ Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts.py')
0 files changed, 0 insertions, 0 deletions