[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-ppc] [RFC PATCH v2 05/13] spapr_pci: Introduce a liobn number
From: |
David Gibson |
Subject: |
Re: [Qemu-ppc] [RFC PATCH v2 05/13] spapr_pci: Introduce a liobn number generating macros |
Date: |
Tue, 19 Aug 2014 10:44:53 +1000 |
User-agent: |
Mutt/1.5.23 (2014-03-12) |
On Fri, Aug 15, 2014 at 08:12:27PM +1000, Alexey Kardashevskiy wrote:
> We are going to have multiple DMA windows per PHB and we want them to
> migrate so we need a predictable way of assigning LIOBNs.
>
> This introduces a macro which makes up a LIOBN from fixed prefix,
> PHB index (unique PHB id) and window number.
>
> This introduces a SPAPR_PCI_DMA_WINDOW_NUM() to know the window number
> from LIOBN, will be used in next patch(es) to distinguish the default
> 32bit windows from dynamic windows.
>
> Signed-off-by: Alexey Kardashevskiy <address@hidden>
Looks sane enough.
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
pgp93M2K9TC7M.pgp
Description: PGP signature
- [Qemu-ppc] [RFC PATCH v2 03/13] spapr_pci: Make find_phb()/find_dev() public, (continued)
[Qemu-ppc] [RFC PATCH v2 05/13] spapr_pci: Introduce a liobn number generating macros, Alexey Kardashevskiy, 2014/08/15
[Qemu-ppc] [RFC PATCH v2 11/13] spapr_pci_vfio: Enable DDW, Alexey Kardashevskiy, 2014/08/15
[Qemu-ppc] [RFC PATCH v2 08/13] spapr_pci: Enable DDW, Alexey Kardashevskiy, 2014/08/15
[Qemu-ppc] [RFC PATCH v2 01/13] qom: Make object_child_foreach safe for objects removal, Alexey Kardashevskiy, 2014/08/15