]> git.baikalelectronics.ru Git - kernel.git/commit
tile PCI RC: make default consistent DMA mask 32-bit
authorChris Metcalf <cmetcalf@tilera.com>
Fri, 30 Aug 2013 14:12:36 +0000 (10:12 -0400)
committerChris Metcalf <cmetcalf@tilera.com>
Tue, 3 Sep 2013 18:53:37 +0000 (14:53 -0400)
commitd8c2b94b1e5c26a8764f8b28b5d68dfc5aaf734b
treea1f113a598fd28f61ae9a26e8eb19e528309beff
parent27a45ccbb7052b21d9daacbc9353954202027a4d
tile PCI RC: make default consistent DMA mask 32-bit

This change sets the PCI devices' initial DMA capabilities
conservatively and promotes them at the request of the driver,
as opposed to assuming advanced DMA capabilities. The old design
runs the risk of breaking drivers that assume default capabilities.

Signed-off-by: Chris Metcalf <cmetcalf@tilera.com>
arch/tile/include/asm/device.h
arch/tile/include/asm/dma-mapping.h
arch/tile/kernel/pci-dma.c
arch/tile/kernel/pci_gx.c