Re: dma mask related fixups (including full bus_dma_mask support) v2

2018-10-01 Thread Benjamin Herrenschmidt
On Mon, 2018-10-01 at 16:32 +0200, Christoph Hellwig wrote: > FYI, I've pulled this into the dma-mapping tree to make forward > progress. All but oatch 4 had formal ACKs, and for that one Robin > was fine even without and explicit ack. I'll also send a patch to > better document the zone selectio

Re: dma mask related fixups (including full bus_dma_mask support) v2

2018-10-01 Thread Christoph Hellwig
FYI, I've pulled this into the dma-mapping tree to make forward progress. All but oatch 4 had formal ACKs, and for that one Robin was fine even without and explicit ack. I'll also send a patch to better document the zone selection as it confuses even well versed people like Ben.

dma mask related fixups (including full bus_dma_mask support) v2

2018-09-27 Thread Christoph Hellwig
Hi all, the dma_get_required_mask dma API implementation has always been a little odd, in that we by default don't wire it up struct dma_map_ops, but instead hard code a default implementation. powerpc and ia64 override this default and either call a method or otherwise duplicate the default. Th