]> git.karo-electronics.de Git - linux-beck.git/commit
char: xillybus: Allow 64-bit DMA on PCIe interface
authorEli Billauer <eli.billauer@gmail.com>
Wed, 5 Aug 2015 10:03:26 +0000 (13:03 +0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 5 Aug 2015 19:27:09 +0000 (12:27 -0700)
commit6497a8757361a88b73fc3814d2ee9b9fc105fa42
treee29d833675458e61aecda860d94c753137351de4
parentf39c4280a3872b0e6c7b01076132c12ad7a90392
char: xillybus: Allow 64-bit DMA on PCIe interface

Until now, only 32-bit DMA addressing was allowed, following a report on
some old Intel machine that dropped 64-bit PCIe packets, even though
pci_set_dma_mask() was successful with DMA_BIT_MASK(64).

But then came TI's Keystone II chip (ARM Cortex A15 + DSPs), which refuses
32-bit DMA addressing (for good reasons). So 64-bit DMA is allowed as a
fallback option.

Signed-off-by: Eli Billauer <eli.billauer@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/char/xillybus/xillybus_pcie.c