aboutsummaryrefslogtreecommitdiffstats
path: root/lib/swiotlb.c
diff options
context:
space:
mode:
authorRadim Krčmář <rkrcmar@redhat.com>2018-05-26 13:45:49 +0200
committerRadim Krčmář <rkrcmar@redhat.com>2018-05-26 13:45:49 +0200
commitf33ecec9bb5199c5a4dd296af604f70273d2636e (patch)
treeba12665fe8f7952a64013bef9125bfac27ff1fda /lib/swiotlb.c
parentKVM: x86: Expose CLDEMOTE CPU feature to guest VM (diff)
parentx86/Hyper-V/hv_apic: Build the Hyper-V APIC conditionally (diff)
downloadlinux-dev-f33ecec9bb5199c5a4dd296af604f70273d2636e.tar.xz
linux-dev-f33ecec9bb5199c5a4dd296af604f70273d2636e.zip
Merge branch 'x86/hyperv' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip
To resolve conflicts with the PV TLB flush series.
Diffstat (limited to 'lib/swiotlb.c')
-rw-r--r--lib/swiotlb.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/swiotlb.c b/lib/swiotlb.c
index 12fbaa445637..cc640588f145 100644
--- a/lib/swiotlb.c
+++ b/lib/swiotlb.c
@@ -714,7 +714,7 @@ swiotlb_alloc_buffer(struct device *dev, size_t size, dma_addr_t *dma_handle,
phys_addr = swiotlb_tbl_map_single(dev,
__phys_to_dma(dev, io_tlb_start),
- 0, size, DMA_FROM_DEVICE, 0);
+ 0, size, DMA_FROM_DEVICE, attrs);
if (phys_addr == SWIOTLB_MAP_ERROR)
goto out_warn;