[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-ppc] [PATCH qemu v6 06/15] spapr_pci: Convert finish_realize()
From: |
David Gibson |
Subject: |
Re: [Qemu-ppc] [PATCH qemu v6 06/15] spapr_pci: Convert finish_realize() to dma_capabilities_update()+dma_init_window() |
Date: |
Wed, 22 Apr 2015 15:39:50 +1000 |
User-agent: |
Mutt/1.5.23 (2014-03-12) |
On Sat, Apr 11, 2015 at 01:24:35AM +1000, Alexey Kardashevskiy wrote:
> This reworks finish_realize() which used to finalize DMA setup with
> an assumption that it will not change later.
>
> New callbacks supports various window parameters such as page and
> windows sizes. The new callback return error code rather than Error**.
>
> This is a mechanical change so no change in behaviour is expected.
> This is a part of getting rid of spapr-pci-vfio-host-bridge type.
>
> Signed-off-by: Alexey Kardashevskiy <address@hidden>
Reviewed-by: David Gibson <address@hidden>
--
David Gibson | I'll have my music baroque, and my code
david AT gibson.dropbear.id.au | minimalist, thank you. NOT _the_ _other_
| _way_ _around_!
http://www.ozlabs.org/~dgibson
pgpwf5RmwcV7d.pgp
Description: PGP signature
- [Qemu-ppc] [PATCH qemu v6 00/15] spapr: vfio: Enable Dynamic DMA windows (DDW), Alexey Kardashevskiy, 2015/04/10
- [Qemu-ppc] [PATCH qemu v6 01/15] linux headers update for DDW on SPAPR, Alexey Kardashevskiy, 2015/04/10
- [Qemu-ppc] [PATCH qemu v6 03/15] spapr_pci: Make find_phb()/find_dev() public, Alexey Kardashevskiy, 2015/04/10
- [Qemu-ppc] [PATCH qemu v6 02/15] vmstate: Define VARRAY with VMS_ALLOC, Alexey Kardashevskiy, 2015/04/10
- [Qemu-ppc] [PATCH qemu v6 04/15] vfio: spapr: Move SPAPR-related code to a separate file, Alexey Kardashevskiy, 2015/04/10
- [Qemu-ppc] [PATCH qemu v6 06/15] spapr_pci: Convert finish_realize() to dma_capabilities_update()+dma_init_window(), Alexey Kardashevskiy, 2015/04/10
- Re: [Qemu-ppc] [PATCH qemu v6 06/15] spapr_pci: Convert finish_realize() to dma_capabilities_update()+dma_init_window(),
David Gibson <=
- [Qemu-ppc] [PATCH qemu v6 11/15] spapr_pci: Do complete reset of DMA config when resetting PHB, Alexey Kardashevskiy, 2015/04/10
- [Qemu-ppc] [PATCH qemu v6 08/15] spapr_iommu: Introduce "enabled" state for TCE table, Alexey Kardashevskiy, 2015/04/10
- [Qemu-ppc] [PATCH qemu v6 10/15] spapr_pci_vfio: Remove unnecessary cast to sPAPRPHBVFIOState, Alexey Kardashevskiy, 2015/04/10