qemu-e2k/hw
David Gibson a1ec25b287 spapr: Clean up DRC index construction
spapr_pci.c currently has several confusingly similarly named functions for
various conversions between representations of DRCs.  Make things clearer
by renaming things in a more consistent XXX_from_YYY() manner and remove
some called-only-once variants in favour of open coding.

While we're at it, move this code together in the file to avoid some extra
forward references, and split out construction and removal of DRCs for the
host bridge into helper functions.

Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
Acked-by: Michael S. Tsirkin <mst@redhat.com>
2019-06-12 10:41:49 +10:00
..
9pfs
acpi acpi: pci: use build_append_foo() API to construct MCFG 2019-05-29 18:00:57 -04:00
adc
alpha
arm virtio, pci, pc: cleanups, features 2019-06-06 12:52:31 +01:00
audio hw/audio/ac97: Use the QOM DEVICE() macro to access DeviceState.qdev 2019-06-06 11:36:43 +02:00
block block: Add BlockBackend.ctx 2019-06-04 15:22:22 +02:00
bt
char
core block: Add qdev_prop_drive_iothread property type 2019-06-04 15:22:22 +02:00
cpu
cris
display hw/display: add vhost-user-vga & gpu-pci 2019-05-29 06:30:45 +02:00
dma
gpio
hppa
hyperv
i2c
i386 target/i386: Use env_cpu, env_archcpu 2019-06-10 07:03:42 -07:00
ide block: Add BlockBackend.ctx 2019-06-04 15:22:22 +02:00
input
intc target/mips: Use env_cpu, env_archcpu 2019-06-10 07:03:42 -07:00
ipack
ipmi
isa hw/isa: Use the QOM DEVICE() macro to access DeviceState.qdev 2019-06-06 11:33:18 +02:00
lm32
m68k
mem
microblaze
mips target/mips: Use env_cpu, env_archcpu 2019-06-10 07:03:42 -07:00
misc edu: uses uint64_t in dma operation 2019-06-03 14:03:01 +02:00
moxie
net
nios2 target/nios2: Use env_cpu, env_archcpu 2019-06-10 07:03:42 -07:00
nvram
openrisc
pci Trivial fixes 06/06/2019 2019-06-06 14:09:14 +01:00
pci-bridge pci: Make is_bridge a bool 2019-05-29 18:00:57 -04:00
pci-host
pcmcia
ppc spapr: Clean up DRC index construction 2019-06-12 10:41:49 +10:00
rdma hw/rdma: Delete unused headers inclusion 2019-06-06 11:17:32 +02:00
riscv riscv: spike: Add a generic spike machine 2019-05-24 12:09:24 -07:00
s390x s390x: Bump the "qemu" CPU model up to a stripped-down z13 2019-06-07 14:53:26 +02:00
scsi Trivial fixes 06/06/2019 2019-06-06 14:09:14 +01:00
sd hw/sd: Use the QOM BUS() macro to access BusState.qbus 2019-06-06 11:38:14 +02:00
semihosting cpu: Replace ENV_GET_CPU with env_cpu 2019-06-10 07:03:34 -07:00
sh4
smbios
sparc target/sparc: Use env_cpu, env_archcpu 2019-06-10 07:03:42 -07:00
sparc64 target/sparc: Use env_cpu, env_archcpu 2019-06-10 07:03:42 -07:00
ssi
timer
tpm
tricore
unicore32 target/unicore32: Use env_cpu, env_archcpu 2019-06-10 07:03:42 -07:00
usb usb-mtp: refactor the flow of usb_mtp_write_data 2019-06-10 11:53:19 +01:00
vfio vfio/display: set dmabuf modifier field 2019-06-07 11:52:35 +02:00
virtio virtio, pci, pc: cleanups, features 2019-06-06 12:52:31 +01:00
watchdog hw/watchdog/wdt_i6300esb: Use DEVICE() macro to access DeviceState.qdev 2019-06-06 11:55:04 +02:00
xen
xenpv
xtensa target/xtensa: Use env_cpu, env_archcpu 2019-06-10 07:03:42 -07:00
Kconfig semihosting: introduce CONFIG_SEMIHOSTING 2019-05-28 10:28:50 +01:00
Makefile.objs semihosting: move semihosting configuration into its own directory 2019-05-28 10:28:50 +01:00