On 9/4/20 6:26 PM, Philippe Mathieu-Daudé wrote:
> The DMA API propagates MemTxResult:
> - MEMTX_OK,
> - MEMTX_device_ERROR,
> - MEMTX_DECODE_ERROR.
>
> Let the PCI DMA API propagate them, as they are
> clearer than an undocumented 'int'.
>
> Based-on: <20200904154439.643272-1-philmd@redhat.com>
> https://lists.gnu.org/archive/html/qemu-devel/2020-09/msg02048.html
>
> Philippe Mathieu-Daudé (3):
> pci: Let pci_dma_rw() propagate MemTxResult
> pci: Let pci_dma_read() propagate MemTxResult
> pci: Let pci_dma_write() propagate MemTxResult
>
> include/hw/pci/pci.h | 50 ++++++++++++++++++++++++++++++++++++++------
> 1 file changed, 44 insertions(+), 6 deletions(-)
>
This series is fully review.
Paolo, if you take the DMA series on which this one
is based, could you take this too?
Thanks :)