diff options
author | Alexander Shishkin <alexander.shishkin@linux.intel.com> | 2019-05-03 10:44:34 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2019-05-03 18:14:29 +0200 |
commit | 4e0eaf239fb33ebc671303e2b736fa043462e2f4 (patch) | |
tree | 1980fc041375e4b2e09ca102a09aa5b20a03e87d /Documentation/trace | |
parent | Merge tag 'gnss-5.2-rc1' of https://git.kernel.org/pub/scm/linux/kernel/git/j... (diff) | |
download | linux-4e0eaf239fb33ebc671303e2b736fa043462e2f4.tar.xz linux-4e0eaf239fb33ebc671303e2b736fa043462e2f4.zip |
intel_th: msu: Fix single mode with IOMMU
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 'Documentation/trace')
0 files changed, 0 insertions, 0 deletions