qemu-ppc
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-ppc] [Qemu-devel] [RFC PATCH v3 04/18] spapr_pci: Introduce a


From: David Gibson
Subject: Re: [Qemu-ppc] [Qemu-devel] [RFC PATCH v3 04/18] spapr_pci: Introduce a liobn number generating macros
Date: Fri, 5 Sep 2014 22:41:37 +1000
User-agent: Mutt/1.5.23 (2014-03-12)

On Fri, Aug 29, 2014 at 08:12:08PM +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. It is used to distinguish the default 32bit windows from
> dynamic windows and avoid picking default DMA window properties from
> a wrong TCE table.
> 
> 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

Attachment: pgpCgmp9Miz06.pgp
Description: PGP signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]