summaryrefslogtreecommitdiffstats
path: root/drivers/hwtracing/intel_th/pci.c
diff options
context:
space:
mode:
authorAlexander Shishkin <alexander.shishkin@linux.intel.com>2019-06-21 18:19:29 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2019-07-03 17:36:43 +0200
commit918b8646497b5dba6ae82d4a7325f01b258972b9 (patch)
tree722b6f1e3ebaf1652e8806ebdf3878e003d72ab9 /drivers/hwtracing/intel_th/pci.c
parentintel_th: msu: Remove set but not used variable 'last' (diff)
downloadlinux-918b8646497b5dba6ae82d4a7325f01b258972b9.tar.xz
linux-918b8646497b5dba6ae82d4a7325f01b258972b9.zip
intel_th: msu: Fix single mode with disabled IOMMU
Commit 4e0eaf239fb3 ("intel_th: msu: Fix single mode with IOMMU") switched the single mode code to use dma mapping pages obtained from the page allocator, but with IOMMU disabled, that may lead to using SWIOTLB bounce buffers and without additional sync'ing, produces empty trace buffers. Fix this by using a DMA32 GFP flag to the page allocation in single mode, as the device supports full 32-bit DMA addressing. Signed-off-by: Alexander Shishkin <alexander.shishkin@linux.intel.com> Fixes: 4e0eaf239fb3 ("intel_th: msu: Fix single mode with IOMMU") Reviewed-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reported-by: Ammy Yi <ammy.yi@intel.com> Cc: stable <stable@vger.kernel.org> Link: https://lore.kernel.org/r/20190621161930.60785-4-alexander.shishkin@linux.intel.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/hwtracing/intel_th/pci.c')
0 files changed, 0 insertions, 0 deletions