diff options
author | Christoph Hellwig <hch@lst.de> | 2019-02-14 12:17:33 -0500 |
---|---|---|
committer | Christoph Hellwig <hch@lst.de> | 2019-02-20 09:27:42 -0500 |
commit | 7753a91e78811f6fcefc9f59630286a698b814b2 (patch) | |
tree | c53add651b3555c00d25034a73233e2551ea0569 | |
parent | 82c5de0ab8dbd6035223ad69e76bd8a88a0a9399 (diff) |
ccio: allow large DMA masks
There is no harm in setting a 64-bit mask even if we don't need it,
and the current ccio code is one of the few place in the kernel
still rejecting larger than required DMA masks.
Signed-off-by: Christoph Hellwig <hch@lst.de>
-rw-r--r-- | drivers/parisc/ccio-dma.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/parisc/ccio-dma.c b/drivers/parisc/ccio-dma.c index 8d2fc84119c6..24a68fb7b2f9 100644 --- a/drivers/parisc/ccio-dma.c +++ b/drivers/parisc/ccio-dma.c | |||
@@ -710,8 +710,8 @@ ccio_dma_supported(struct device *dev, u64 mask) | |||
710 | return 0; | 710 | return 0; |
711 | } | 711 | } |
712 | 712 | ||
713 | /* only support 32-bit devices (ie PCI/GSC) */ | 713 | /* only support 32-bit or better devices (ie PCI/GSC) */ |
714 | return (int)(mask == 0xffffffffUL); | 714 | return (int)(mask >= 0xffffffffUL); |
715 | } | 715 | } |
716 | 716 | ||
717 | /** | 717 | /** |