Files
qemu-xteink/include
Alexey Kardashevskiy c8545818b3 spapr_pci: Introduce a liobn number generating macros
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 <aik@ozlabs.ru>
Reviewed-by: David Gibson <david@gibson.dropbear.id.au>
Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
Signed-off-by: Alexander Graf <agraf@suse.de>
2015-06-03 23:56:50 +02:00
..
2015-05-29 12:53:12 +02:00
2015-05-31 20:29:02 +02:00
2015-02-06 16:11:38 +00:00
2015-04-30 16:05:48 +03:00
2015-05-11 14:49:03 +01:00
2015-05-11 08:59:07 -04:00
2015-06-01 14:18:54 +02:00
2015-05-29 11:43:29 +02:00
2015-05-27 17:52:03 +02:00
2015-04-30 16:05:48 +03:00
2015-02-16 15:07:19 +00:00
2015-02-05 17:16:14 +01:00