OSDN Git Service

switchtec: Set DMA coherent mask
authorBoris Glimcher <Boris.Glimcher@emc.com>
Mon, 10 Dec 2018 09:12:21 +0000 (17:12 +0800)
committerBjorn Helgaas <bhelgaas@google.com>
Wed, 12 Dec 2018 22:31:54 +0000 (16:31 -0600)
commitaff614c6339c1ee2a74ea0afc491d6e30d0bad61
treec6925ee9e576627f085c3af80723f2373a3e635e
parent526180408b815aa7b96fd48bd23cdd33ef04e38e
switchtec: Set DMA coherent mask

Switchtec hardware supports 64-bit DMA, so set the correct DMA mask.  This
allows the CMA to allocate larger buffers for memory windows.

Signed-off-by: Boris Glimcher <Boris.Glimcher@emc.com>
Signed-off-by: Wesley Sheng <wesley.sheng@microchip.com>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Reviewed-by: Logan Gunthorpe <logang@deltatee.com>
drivers/pci/switch/switchtec.c