OSDN Git Service

thunderbolt: Use 64-bit DMA mask if supported by the platform
authorMika Westerberg <mika.westerberg@linux.intel.com>
Wed, 25 Jul 2018 08:03:16 +0000 (11:03 +0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 25 Jul 2018 08:15:24 +0000 (10:15 +0200)
commitdba3caf6210397635714c7f46129d8c0c9af2512
tree98324082833523b68a6c7f8cb0970de369da15e8
parentc356915ebc9ddb8303feeab1e3465170285558b5
thunderbolt: Use 64-bit DMA mask if supported by the platform

PCI defaults to 32-bit DMA mask but this device is capable of full
64-bit addressing, so make sure we first try 64-bit DMA mask before
falling back to the default 32-bit.

Signed-off-by: Mika Westerberg <mika.westerberg@linux.intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/thunderbolt/nhi.c