projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
82c5de0
)
ccio: allow large DMA masks
author
Christoph Hellwig
<hch@lst.de>
Thu, 14 Feb 2019 17:17:33 +0000
(18:17 +0100)
committer
Christoph Hellwig
<hch@lst.de>
Wed, 20 Feb 2019 14:27:42 +0000
(07:27 -0700)
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>
drivers/parisc/ccio-dma.c
patch
|
blob
|
history
diff --git
a/drivers/parisc/ccio-dma.c
b/drivers/parisc/ccio-dma.c
index 8d2fc84119c6f854a2fbf6834f8eb2db16c334d0..24a68fb7b2f9d8d74f8ad5ed9a1a8a98638cfe3b 100644
(file)
--- a/
drivers/parisc/ccio-dma.c
+++ b/
drivers/parisc/ccio-dma.c
@@
-710,8
+710,8
@@
ccio_dma_supported(struct device *dev, u64 mask)
return 0;
}
- /* only support 32-bit devices (ie PCI/GSC) */
- return (int)(mask
=
= 0xffffffffUL);
+ /* only support 32-bit
or better
devices (ie PCI/GSC) */
+ return (int)(mask
>
= 0xffffffffUL);
}
/**