Files
qemu-esp-boards/include/hw
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-06-01 14:18:54 +02:00
2013-12-24 18:02:18 +01:00
2014-02-03 14:04:00 +00:00
2015-03-01 12:33:22 +01:00
2015-05-31 20:29:02 +02:00
2015-04-30 16:05:48 +03:00
2015-03-10 08:15:33 +03:00
2015-01-15 10:44:13 +03:00
2014-10-23 16:41:25 +02:00
2014-10-24 12:19:11 +01:00
2015-06-01 14:18:55 +02:00
2014-05-28 17:36:21 +02:00
2015-04-30 16:05:48 +03:00