projects
/
qemu.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
270b295
)
dino: move pci_setup_iommu() to dino_pcihost_init()
author
Mark Cave-Ayland
<mark.cave-ayland@ilande.co.uk>
Wed, 4 May 2022 09:25:16 +0000
(10:25 +0100)
committer
Mark Cave-Ayland
<mark.cave-ayland@ilande.co.uk>
Sun, 8 May 2022 17:52:36 +0000
(18:52 +0100)
Signed-off-by: Mark Cave-Ayland <mark.cave-ayland@ilande.co.uk>
Acked-by: Helge Deller <deller@gmx.de>
Message-Id: <
20220504092600
.10048-7-mark.cave-ayland@ilande.co.uk>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Signed-off-by: Mark Cave-Ayland <mark.cave-ayland@ilande.co.uk>
hw/hppa/dino.c
patch
|
blob
|
history
diff --git
a/hw/hppa/dino.c
b/hw/hppa/dino.c
index 13b22104627d170cc771ac9ed5ac96c490491ee8..dcebb9f98f7b660c7bde5a5a47fa1fc19641645b 100644
(file)
--- a/
hw/hppa/dino.c
+++ b/
hw/hppa/dino.c
@@
-556,7
+556,6
@@
PCIBus *dino_init(MemoryRegion *addr_space,
memory_region_add_subregion(&s->bm, 0xfff00000,
&s->bm_cpu_alias);
address_space_init(&s->bm_as, &s->bm, "pci-bm");
- pci_setup_iommu(b, dino_pcihost_set_iommu, s);
*p_rtc_irq = qemu_allocate_irq(dino_set_timer_irq, s, 0);
*p_ser_irq = qemu_allocate_irq(dino_set_serial_irq, s, 0);
@@
-605,6
+604,8
@@
static void dino_pcihost_init(Object *obj)
g_free(name);
}
+ pci_setup_iommu(phb->bus, dino_pcihost_set_iommu, s);
+
sysbus_init_mmio(sbd, &s->this_mem);
}