summaryrefslogtreecommitdiffstats
path: root/arch/x86/kernel
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@lst.de>2018-03-19 11:38:20 +0100
committerIngo Molnar <mingo@kernel.org>2018-03-20 10:01:58 +0100
commitd657c5c73ca987214a6f9436e435b34fc60f332a (patch)
tree27aaa43866fb8cc56ea28b957556f73fa88596f1 /arch/x86/kernel
parentb468620f2a1dfdcfddfd6fa54367b8bcc1b51248 (diff)
downloadtalos-op-linux-d657c5c73ca987214a6f9436e435b34fc60f332a.tar.gz
talos-op-linux-d657c5c73ca987214a6f9436e435b34fc60f332a.zip
iommu/intel-iommu: Enable CONFIG_DMA_DIRECT_OPS=y and clean up intel_{alloc,free}_coherent()
Use the dma_direct_*() helpers and clean up the code flow. Tested-by: Tom Lendacky <thomas.lendacky@amd.com> Signed-off-by: Christoph Hellwig <hch@lst.de> Reviewed-by: Thomas Gleixner <tglx@linutronix.de> Cc: David Woodhouse <dwmw2@infradead.org> Cc: Joerg Roedel <joro@8bytes.org> Cc: Jon Mason <jdmason@kudzu.us> Cc: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com> Cc: Linus Torvalds <torvalds@linux-foundation.org> Cc: Muli Ben-Yehuda <mulix@mulix.org> Cc: Peter Zijlstra <peterz@infradead.org> Cc: iommu@lists.linux-foundation.org Link: http://lkml.kernel.org/r/20180319103826.12853-9-hch@lst.de Signed-off-by: Ingo Molnar <mingo@kernel.org>
Diffstat (limited to 'arch/x86/kernel')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud