[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH 0/3] pci: Let PCI DMA API functions propagate a MemTxResult
From: |
Philippe Mathieu-Daudé |
Subject: |
Re: [PATCH 0/3] pci: Let PCI DMA API functions propagate a MemTxResult |
Date: |
Tue, 15 Sep 2020 19:30:01 +0200 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.11.0 |
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 :)