Re: [PATCH 3/5] dma: Introduce dma_max_mapping_size()

From: Christoph Hellwig
Date: Tue Jan 29 2019 - 12:13:18 EST


On Tue, Jan 29, 2019 at 09:43:40AM +0100, Joerg Roedel wrote:
> From: Joerg Roedel <jroedel@xxxxxxx>
>
> The function returns the maximum size that can be mapped
> using DMA-API functions. The patch also adds the
> implementation for direct DMA and a new dma_map_ops pointer
> so that other implementations can expose their limit.
>
> Reviewed-by: Konrad Rzeszutek Wilk <konrad.wilk@xxxxxxxxxx>
> Signed-off-by: Joerg Roedel <jroedel@xxxxxxx>

Looks good:

Reviewed-by: Christoph Hellwig <hch@xxxxxx>