hw/isa/Kconfig: PIIX4 southbridge requires USB UHCI
A message that is not in the archive (sent off-list or not yet received): [email protected]
A message that is not in the archive (sent off-list or not yet received): [email protected]
A message that is not in the archive (sent off-list or not yet received): [email protected]
A message that is not in the archive (sent off-list or not yet received): [email protected]
Quoted 39 lines · Thomas Huth
Quoted 23 lines · Thomas Huth
Quoted 22 lines · Philippe Mathieu-Daudé
This fixes when configuring with --without-default-devices:
$ qemu-system-mips64 -M malta --nodefaults -bios /dev/null qemu-system-mips64: Unknown device 'piix4-usb-uhci' for bus 'PCI' Aborted (core dumped)(gdb) bt
#0 0x00007ffff5a4353f in __GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:50 #1 0x00007ffff5a2d895 in __GI_abort () at abort.c:79 #2 0x00005555558745c3 in qdev_create (bus=bus@entry=0x555556336260, name=name@entry=0x555555b13a4d "piix4-usb-uhci") at hw/core/qdev.c:131 #3 0x00005555558cb3e1 in pci_create_multifunction (bus=bus@entry=0x555556336260, devfn=devfn@entry=82, multifunction=multifunction@entry=false, name=name@entry=0x555555b13a4d "piix4-usb-uhci") at hw/pci/pci.c:2104 #4 0x00005555558cb88b in pci_create_simple_multifunction (name=name@entry=0x555555b13a4d "piix4-usb-uhci", multifunction=false, devfn=devfn@entry=82, bus=bus@entry=0x555556336260) at hw/pci/pci.c:2126 #5 0x00005555558cb88b in pci_create_simple (bus=bus@entry=0x555556336260, devfn=devfn@entry=82, name=name@entry=0x555555b13a4d "piix4-usb-uhci") at hw/pci/pci.c:2126 #6 0x000055555575ea38 in mips_malta_init (machine=0x555555ffe430) at hw/mips/mips_malta.c:1392 #7 0x000055555587bf2b in machine_run_board_init (machine=0x555555ffe430) at hw/core/machine.c:1030Fixes 7c28b925b7eSigned-off-by Philippe Mathieu-Daudé <[email protected]>--- hw/isa/Kconfig | 1 + 1 file changed, 1 insertion(+)Quoted 14 lines
hw/isa/Kconfig config PIIX4 · line 32
Quoted 9 lines
hw/isa/Kconfig +1
-0@@ -29,6 +29,7 @@ config PIIX4 # For historical reasons, SuperIO devices are created in the board # for PIIX4. select ISA_BUS + select USB_UHCIThe UHCI controller is not instantiated by
hw/isa/piix4.c, but byhw/mips/mips_malta.cas far as I can see. And you can use the "pc" machine also without uhci. So I think this patch is wrong, the select should be done by "MALTA" instead.
Quoted 3 lines
Ah, never mind, I mixed up piix3-usb-uhci (used by "pc") and piix4-usb-uhci (used by "malta"). ... So this UHCI is part of the chipset? Then I think your patch is fine.
Yes, UHCI is introduced in the PIIX3 chipset. In another series (postponed to 4.1) PIIX4 inherit of PIIX3 features. Meanwhile, this patch is a quick fix for 4.0.
Thanks,
Phil.
A message that is not in the archive (sent off-list or not yet received): [email protected]
A message that is not in the archive (sent off-list or not yet received): [email protected]
Re: [Qemu-devel] [PATCH v2 4/5] hw/mips/Kconfig: Fulong 2e board requires ati-vga display device
Quoted 21 lines · Thomas Huth
Quoted 20 lines · Philippe Mathieu-Daudé
This fixes when configuring with --without-default-devices:
$ qemu-system-mips64el -M fulong2e --nodefaults -bios /dev/null qemu-system-mips64el: Unknown device 'ati-vga' for bus 'PCI' Aborted (core dumped)(gdb) bt
#1 0x00007ffff5a11895 in __GI_abort () at abort.c:79 #2 0x00005555558768d3 in qdev_create (bus=bus@entry=0x5555562664b0, name=name@entry=0x555555b24efb "ati-vga") at hw/core/qdev.c:131 #3 0x00005555558d15e1 in pci_create_multifunction (bus=bus@entry=0x5555562664b0, devfn=devfn@entry=-1, multifunction=multifunction@entry=false, name=name@entry=0x555555b24efb "ati-vga") at hw/pci/pci.c:2104 #4 0x00005555558d1a7a in pci_create (bus=bus@entry=0x5555562664b0, devfn=devfn@entry=-1, name=name@entry=0x555555b24efb "ati-vga") at hw/pci/pci.c:2121 #5 0x0000555555763081 in mips_fulong2e_init (machine=<optimized out>) at hw/mips/mips_fulong2e.c:352 #6 0x000055555587e23b in machine_run_board_init (machine=0x5555560b2000) at hw/core/machine.c:1030Fixes 862b4a291dcSigned-off-by Philippe Mathieu-Daudé <[email protected]>--- default-configs/mips64el-softmmu.mak | 2 ++ 1 file changed, 2 insertions(+)
Quoted 12 lines
default-configs/mips64el-softmmu.mak CONFIG_RC4030=y · line 10
Quoted 10 lines
default-configs/mips64el-softmmu.mak +2
-0@@ -6,6 +6,8 @@ CONFIG_RC4030=y CONFIG_DP8393X=y CONFIG_DS1225Y=y CONFIG_FULONG=y +CONFIG_ATI_VGA=y +CONFIG_RTL8139_PCI=yYou should mention
RTL8139_PCIin the patch description, too. Also, does
Oops I missed that when squashing from v1 (Thanks Paolo for fixing it!).
Quoted 3 lines
it make sense to fix this while your other Kconfig-for-mips patches have not been merged yet? (I don't expect --without-default-devices working without those patches)
Well this was breaking 'make check-unit'.
Quoted 3 lines
Thomas