diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2017-01-06 10:53:21 -0800 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2017-01-06 10:53:21 -0800 |
commit | 2fd8774c79a455a1f12f75208d96f2f0cc3728c9 (patch) | |
tree | ba158796fe63c94c662d76f474e37aeb1c079b87 /arch/x86/xen | |
parent | 65cdc405b37a0f43af9c0fb6cf011304b3959ef8 (diff) | |
parent | 7453c549f5f6485c0d79cad7844870dcc7d1b34d (diff) | |
download | op-kernel-dev-2fd8774c79a455a1f12f75208d96f2f0cc3728c9.zip op-kernel-dev-2fd8774c79a455a1f12f75208d96f2f0cc3728c9.tar.gz |
Merge branch 'stable/for-linus-4.10' of git://git.kernel.org/pub/scm/linux/kernel/git/konrad/swiotlb
Pull swiotlb fixes from Konrad Rzeszutek Wilk:
"This has one fix to make i915 work when using Xen SWIOTLB, and a
feature from Geert to aid in debugging of devices that can't do DMA
outside the 32-bit address space.
The feature from Geert is on top of v4.10 merge window commit
(specifically you pulling my previous branch), as his changes were
dependent on the Documentation/ movement patches.
I figured it would just easier than me trying than to cherry-pick the
Documentation patches to satisfy git.
The patches have been soaking since 12/20, albeit I updated the last
patch due to linux-next catching an compiler error and adding an
Tested-and-Reported-by tag"
* 'stable/for-linus-4.10' of git://git.kernel.org/pub/scm/linux/kernel/git/konrad/swiotlb:
swiotlb: Export swiotlb_max_segment to users
swiotlb: Add swiotlb=noforce debug option
swiotlb: Convert swiotlb_force from int to enum
x86, swiotlb: Simplify pci_swiotlb_detect_override()
Diffstat (limited to 'arch/x86/xen')
-rw-r--r-- | arch/x86/xen/pci-swiotlb-xen.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/x86/xen/pci-swiotlb-xen.c b/arch/x86/xen/pci-swiotlb-xen.c index a9fafb5..a0b36a9 100644 --- a/arch/x86/xen/pci-swiotlb-xen.c +++ b/arch/x86/xen/pci-swiotlb-xen.c @@ -48,7 +48,7 @@ int __init pci_xen_swiotlb_detect(void) * activate this IOMMU. If running as PV privileged, activate it * irregardless. */ - if ((xen_initial_domain() || swiotlb || swiotlb_force)) + if (xen_initial_domain() || swiotlb || swiotlb_force == SWIOTLB_FORCE) xen_swiotlb = 1; /* If we are running under Xen, we MUST disable the native SWIOTLB. |