qemu/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
..
9pfs virtio: make features 64bit wide 2015-06-01 14:18:55 +02:00
acpi hw/acpi/aml-build: Fix memory leak 2015-06-01 14:18:54 +02:00
alpha
arm hw/arm/virt: Enable dynamic generation of ACPI v5.1 tables 2015-05-29 11:28:59 +01:00
audio
block virtio: make features 64bit wide 2015-06-01 14:18:55 +02:00
bt
char virtio: make features 64bit wide 2015-06-01 14:18:55 +02:00
core qdev: add 64bit properties 2015-06-01 14:18:55 +02:00
cpu
cris
display spice: don't update mm_time when spice-server is stopped. 2015-05-29 09:56:01 +02:00
dma
gpio
i2c ACPI: split CONFIG_ACPI into 4 pieces 2015-05-29 11:28:59 +01:00
i386 acpi: add missing ssdt 2015-06-01 21:40:22 +02:00
ide ahci: do not remap clb/fis unconditionally 2015-05-22 15:58:22 -04:00
input virtio: make features 64bit wide 2015-06-01 14:18:55 +02:00
intc hw/intc/arm_gic: Add grouping support to gic_update() 2015-05-12 11:57:18 +01:00
ipack
isa
lm32
m68k
mem
microblaze
mips
misc macio: Convert to realize() 2015-06-03 23:56:49 +02:00
moxie
net vhost-user: add multi queue support 2015-06-01 14:18:55 +02:00
nvram
openrisc
pci Add stream ID to MSI write 2015-05-31 20:29:02 +02:00
pci-bridge
pci-host
pcmcia
ppc spapr_pci: Introduce a liobn number generating macros 2015-06-03 23:56:50 +02:00
s390x virtio-s390: introduce virtio_s390_device_plugged() 2015-05-31 16:47:50 +02:00
scsi virtio: make features 64bit wide 2015-06-01 14:18:55 +02:00
sd hw/sd: Don't pass BlockBackend to sd_reset() 2015-05-12 11:57:16 +01:00
sh4
sparc
sparc64
ssi
timer
tpm TPM2 ACPI table support 2015-06-01 14:18:54 +02:00
tricore
unicore32
usb trivial patches for 2015-05-09 2015-05-11 13:54:00 +01:00
vfio
virtio vhost-user: add multi queue support 2015-06-01 14:18:55 +02:00
watchdog
xen
xenpv
xtensa
Makefile.objs