summaryrefslogtreecommitdiff
path: root/security
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-05-25 18:22:03 +0200
commit24cb69043d680963a30cb99eaf45100fea2820fc (patch)
treeded7b500f0f7ac84889f06c7b48ff3bc35cb7dfc /security
parent86901d0a34ab0496e7c3bda88f82e1dc03a11981 (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 'security')
0 files changed, 0 insertions, 0 deletions