Re: [PATCH 2/2] virtio/virtio_ring: Fix the dma_max_mapping_size call

From: Christoph Hellwig
Date: Thu Jul 25 2019 - 11:01:41 EST


On Wed, Jul 24, 2019 at 06:10:53PM -0400, Michael S. Tsirkin wrote:
> Christoph - would a documented API wrapping dma_mask make sense?
> With the documentation explaining how users must
> desist from using DMA APIs if that returns false ...

We have some bigger changes in this are planned, including turning
dma_mask into a scalar instead of a pointer, please stay tuned.