linux_dsm_epyc7002/arch/x86
Christoph Hellwig f3c39d5104 x86/dma/amd_gart: Look at dev->coherent_dma_mask instead of GFP_DMA
We want to phase out looking at the magic GFP_DMA flag in the DMA mapping
routines, so switch the gart driver to use the dev->coherent_dma_mask
instead, which is used to select the GFP_DMA flag in the caller.

Tested-by: Tom Lendacky <thomas.lendacky@amd.com>
Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Thomas Gleixner <tglx@linutronix.de>
Reviewed-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Cc: David Woodhouse <dwmw2@infradead.org>
Cc: Joerg Roedel <joro@8bytes.org>
Cc: Jon Mason <jdmason@kudzu.us>
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-6-hch@lst.de
Signed-off-by: Ingo Molnar <mingo@kernel.org>
2018-03-20 10:01:57 +01:00
..
boot Merge branch 'x86/mm' into x86/dma, to pick up dependencies 2018-03-20 10:01:37 +01:00
configs
crypto Merge branch 'linus' of git://git.kernel.org/pub/scm/linux/kernel/git/herbert/crypto-2.6 2018-02-12 08:57:21 -08:00
entry Merge branch 'x86/mm' into x86/dma, to pick up dependencies 2018-03-20 10:01:37 +01:00
events perf/x86/intel/uncore: Fix Skylake UPI event format 2018-03-04 09:59:00 +01:00
hyperv KVM changes for 4.16 2018-02-10 13:16:35 -08:00
ia32 x86/entry: Do not special-case clone(2) in compat entry 2018-03-07 07:57:31 +01:00
include x86/dma: Use generic swiotlb_ops 2018-03-20 10:01:57 +01:00
kernel x86/dma/amd_gart: Look at dev->coherent_dma_mask instead of GFP_DMA 2018-03-20 10:01:57 +01:00
kvm KVM fixes for v4.16-rc4 2018-03-02 19:40:43 -08:00
lib Merge branch 'x86/pti' into x86/mm, to pick up dependencies 2018-03-12 12:10:03 +01:00
math-emu
mm x86/dma: Remove dma_alloc_coherent_mask() 2018-03-20 10:01:56 +01:00
net bpf, x64: implement retpoline for tail call 2018-02-22 15:31:42 -08:00
oprofile x86/oprofile: Fix bogus GCC-8 warning in nmi_setup() 2018-02-21 09:54:17 +01:00
pci x86/dma: Use generic swiotlb_ops 2018-03-20 10:01:57 +01:00
platform Merge branch 'x86/urgent' into x86/mm to pick up dependencies 2018-03-14 20:23:25 +01:00
power x86/mm: Replace compile-time checks for 5-level paging with runtime-time checks 2018-02-16 10:48:49 +01:00
purgatory
ras
realmode x86-64/realmode: Add instruction suffix 2018-02-20 09:33:41 +01:00
tools x86: Treat R_X86_64_PLT32 as R_X86_64_PC32 2018-02-22 09:01:10 -08:00
um x86/cpu: Remove the CONFIG_X86_PPRO_FENCE=y quirk 2018-03-20 10:01:05 +01:00
video
xen Merge branch 'x86/urgent' into x86/mm to pick up dependencies 2018-03-14 20:23:25 +01:00
.gitignore x86/build: Add arch/x86/tools/insn_decoder_test to .gitignore 2018-02-13 14:10:29 +01:00
Kbuild
Kconfig x86/dma: Use DMA-direct (CONFIG_DMA_DIRECT_OPS=y) 2018-03-20 10:01:56 +01:00
Kconfig.cpu Merge branch 'x86/mm' into x86/dma, to pick up dependencies 2018-03-20 10:01:37 +01:00
Kconfig.debug
Makefile x86/build/64: Force the linker to use 2MB page size 2018-03-20 08:03:03 +01:00
Makefile_32.cpu
Makefile.um