kernel-hacking-2024-linux-s.../drivers/pci
FUJITA Tomonori bb9e6d6507 intel-iommu: use coherent_dma_mask in alloc_coherent
This patch fixes intel-iommu to use dev->coherent_dma_mask in
alloc_coherent. Currently, intel-iommu uses dev->dma_mask in
alloc_coherent but alloc_coherent is supposed to use
coherent_dma_mask. It could break drivers that uses smaller
coherent_dma_mask than dma_mask (though the current code works for the
majority that use the same mask for coherent_dma_mask and dma_mask).

[dwmw2: dma_mask can be bigger than 'unsigned long']
Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
Reviewed-by: Grant Grundler <grundler@parisc-linux.org>
Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
2008-10-18 14:46:16 +01:00
..
hotplug Merge branch 'core-v28-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/linux-2.6-tip 2008-10-16 15:17:40 -07:00
pcie
.gitignore
access.c
bus.c
dmar.c intel-iommu: IA64 support 2008-10-18 14:29:15 +01:00
hotplug-pci.c
hotplug.c
htirq.c
intel-iommu.c intel-iommu: use coherent_dma_mask in alloc_coherent 2008-10-18 14:46:16 +01:00
intr_remapping.c VT-d: Changes to support KVM 2008-10-15 14:24:08 +02:00
intr_remapping.h VT-d: Changes to support KVM 2008-10-15 14:24:08 +02:00
iova.c VT-d: Changes to support KVM 2008-10-15 14:24:08 +02:00
Kconfig
Makefile
msi.c
msi.h
pci-acpi.c
pci-driver.c
pci-sysfs.c Check mapped ranges on sysfs resource files 2008-10-02 18:52:51 -07:00
pci.c
pci.h
probe.c Driver core: add bus_sort_breadthfirst() function 2008-10-16 09:24:52 -07:00
proc.c
quirks.c intel-iommu: IA64 support 2008-10-18 14:29:15 +01:00
remove.c
rom.c
search.c
setup-bus.c Merge branches 'core/softlockup', 'core/softirq', 'core/resources', 'core/printk' and 'core/misc' into core-v28-for-linus 2008-10-15 12:48:44 +02:00
setup-irq.c
setup-res.c
slot.c
syscall.c