From patchwork Sat Mar 16 22:39:14 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= X-Patchwork-Id: 10856103 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 476B01515 for ; Sat, 16 Mar 2019 22:43:55 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 2D05029272 for ; Sat, 16 Mar 2019 22:43:55 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 1F54729D22; Sat, 16 Mar 2019 22:43:55 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-2.9 required=2.0 tests=BAYES_00,MAILING_LIST_MULTI autolearn=ham version=3.3.1 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id BCFED29272 for ; Sat, 16 Mar 2019 22:43:54 +0000 (UTC) Received: from localhost ([127.0.0.1]:47422 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1h5I1y-0007lp-23 for patchwork-qemu-devel@patchwork.kernel.org; Sat, 16 Mar 2019 18:43:54 -0400 Received: from eggs.gnu.org ([209.51.188.92]:53278) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1h5Hxs-0004Te-5R for qemu-devel@nongnu.org; Sat, 16 Mar 2019 18:39:41 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1h5Hxq-0002Cr-PU for qemu-devel@nongnu.org; Sat, 16 Mar 2019 18:39:40 -0400 Received: from mx1.redhat.com ([209.132.183.28]:52352) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1h5Hxq-0002CM-EZ; Sat, 16 Mar 2019 18:39:38 -0400 Received: from smtp.corp.redhat.com (int-mx07.intmail.prod.int.phx2.redhat.com [10.5.11.22]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id 906E03DDB6; Sat, 16 Mar 2019 22:39:37 +0000 (UTC) Received: from x1w.redhat.com (ovpn-204-28.brq.redhat.com [10.40.204.28]) by smtp.corp.redhat.com (Postfix) with ESMTPS id ACDE71001E61; Sat, 16 Mar 2019 22:39:32 +0000 (UTC) From: =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= To: qemu-devel@nongnu.org, Paolo Bonzini Date: Sat, 16 Mar 2019 23:39:14 +0100 Message-Id: <20190316223918.11917-2-philmd@redhat.com> In-Reply-To: <20190316223918.11917-1-philmd@redhat.com> References: <20190316223918.11917-1-philmd@redhat.com> MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.84 on 10.5.11.22 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.29]); Sat, 16 Mar 2019 22:39:37 +0000 (UTC) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 209.132.183.28 Subject: [Qemu-devel] [PATCH v2 1/5] hw/isa/Kconfig: PIIX4 southbridge requires USB UHCI X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Thomas Huth , "Michael S. Tsirkin" , David Hildenbrand , Aleksandar Rikalo , Aleksandar Markovic , Helge Deller , Cornelia Huck , Mark Cave-Ayland , Eduardo Habkost , Halil Pasic , Christian Borntraeger , qemu-s390x@nongnu.org, qemu-ppc@nongnu.org, Aurelien Jarno , David Gibson , =?utf-8?q?Philippe_Mathieu-Daud?= =?utf-8?q?=C3=A9?= , Artyom Tarasenko , Richard Henderson Errors-To: qemu-devel-bounces+patchwork-qemu-devel=patchwork.kernel.org@nongnu.org Sender: "Qemu-devel" X-Virus-Scanned: ClamAV using ClamSMTP 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:1030 Fixes: 7c28b925b7e Signed-off-by: Philippe Mathieu-Daudé --- hw/isa/Kconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/hw/isa/Kconfig b/hw/isa/Kconfig index 57e09a0cb8..c942b47d03 100644 --- a/hw/isa/Kconfig +++ b/hw/isa/Kconfig @@ -29,6 +29,7 @@ config PIIX4 # For historical reasons, SuperIO devices are created in the board # for PIIX4. select ISA_BUS + select USB_UHCI config VT82C686 bool From patchwork Sat Mar 16 22:39:15 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= X-Patchwork-Id: 10856097 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id CF4831515 for ; Sat, 16 Mar 2019 22:41:08 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id ABB5129D36 for ; Sat, 16 Mar 2019 22:41:08 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 9EA6329D42; Sat, 16 Mar 2019 22:41:08 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-2.9 required=2.0 tests=BAYES_00,MAILING_LIST_MULTI autolearn=ham version=3.3.1 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 3497729D21 for ; Sat, 16 Mar 2019 22:41:07 +0000 (UTC) Received: from localhost ([127.0.0.1]:47385 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1h5HzE-0005gp-Mh for patchwork-qemu-devel@patchwork.kernel.org; Sat, 16 Mar 2019 18:41:04 -0400 Received: from eggs.gnu.org ([209.51.188.92]:53290) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1h5Hxx-0004WR-8w for qemu-devel@nongnu.org; Sat, 16 Mar 2019 18:39:46 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1h5Hxw-0002El-8H for qemu-devel@nongnu.org; Sat, 16 Mar 2019 18:39:45 -0400 Received: from mx1.redhat.com ([209.132.183.28]:55986) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1h5Hxv-0002ES-U8; Sat, 16 Mar 2019 18:39:44 -0400 Received: from smtp.corp.redhat.com (int-mx07.intmail.prod.int.phx2.redhat.com [10.5.11.22]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id 0AB043084212; Sat, 16 Mar 2019 22:39:43 +0000 (UTC) Received: from x1w.redhat.com (ovpn-204-28.brq.redhat.com [10.40.204.28]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 255C61001E61; Sat, 16 Mar 2019 22:39:37 +0000 (UTC) From: =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= To: qemu-devel@nongnu.org, Paolo Bonzini Date: Sat, 16 Mar 2019 23:39:15 +0100 Message-Id: <20190316223918.11917-3-philmd@redhat.com> In-Reply-To: <20190316223918.11917-1-philmd@redhat.com> References: <20190316223918.11917-1-philmd@redhat.com> MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.84 on 10.5.11.22 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.40]); Sat, 16 Mar 2019 22:39:43 +0000 (UTC) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 209.132.183.28 Subject: [Qemu-devel] [PATCH v2 2/5] hw/isa/Kconfig: VT82C686 southbridge requires USB UHCI X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Thomas Huth , "Michael S. Tsirkin" , David Hildenbrand , Aleksandar Rikalo , Aleksandar Markovic , Helge Deller , Cornelia Huck , Mark Cave-Ayland , Eduardo Habkost , Halil Pasic , Christian Borntraeger , qemu-s390x@nongnu.org, qemu-ppc@nongnu.org, Aurelien Jarno , David Gibson , =?utf-8?q?Philippe_Mathieu-Daud?= =?utf-8?q?=C3=A9?= , Artyom Tarasenko , Richard Henderson Errors-To: qemu-devel-bounces+patchwork-qemu-devel=patchwork.kernel.org@nongnu.org Sender: "Qemu-devel" X-Virus-Scanned: ClamAV using ClamSMTP This fixes when configuring with --without-default-devices: $ qemu-system-mips64 -M malta --nodefaults -bios /dev/null qemu-system-mips64el: Unknown device 'vt82c686b-usb-uhci' for bus 'PCI' Aborted (core dumped) (gdb) bt #1 0x00007ffff5a2d895 in __GI_abort () at abort.c:79 #2 0x00005555558745c3 in qdev_create (bus=bus@entry=0x55555623d160, name=name@entry=0x555555b13ee8 "vt82c686b-usb-uhci") at hw/core/qdev.c:131 #3 0x00005555558cb3e1 in pci_create_multifunction (bus=bus@entry=0x55555623d160, devfn=devfn@entry=42, multifunction=multifunction@entry=false, name=name@entry=0x555555b13ee8 "vt82c686b-usb-uhci") at hw/pci/pci.c:2104 #4 0x00005555558cb88b in pci_create_simple_multifunction (name=name@entry=0x555555b13ee8 "vt82c686b-usb-uhci", multifunction=false, devfn=devfn@entry=42, bus=bus@entry=0x55555623d160) at hw/pci/pci.c:2126 #5 0x00005555558cb88b in pci_create_simple (bus=bus@entry=0x55555623d160, devfn=devfn@entry=42, name=name@entry=0x555555b13ee8 "vt82c686b-usb-uhci") at hw/pci/pci.c:2126 #6 0x0000555555760d18 in vt82c686b_southbridge_init (slot=5, p_isa_bus=, i2c_bus=, intc=, pci_bus=0x55555623d160) at hw/mips/mips_fulong2e.c:243 #7 0x0000555555760d18 in mips_fulong2e_init (machine=) at hw/mips/mips_fulong2e.c:348 #8 0x000055555587bf2b in machine_run_board_init (machine=0x555555ffe430) at hw/core/machine.c:1030 Fixes: 7c28b925b7e Signed-off-by: Philippe Mathieu-Daudé --- hw/isa/Kconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/hw/isa/Kconfig b/hw/isa/Kconfig index c942b47d03..1bb5ccdba7 100644 --- a/hw/isa/Kconfig +++ b/hw/isa/Kconfig @@ -35,6 +35,7 @@ config VT82C686 bool select ISA_BUS select ACPI_SMBUS + select USB_UHCI select SERIAL_ISA select FDC From patchwork Sat Mar 16 22:39:16 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= X-Patchwork-Id: 10856105 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 6D3E013B5 for ; Sat, 16 Mar 2019 22:45:19 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 51420292CB for ; Sat, 16 Mar 2019 22:45:19 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 3F4012934C; Sat, 16 Mar 2019 22:45:19 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-2.9 required=2.0 tests=BAYES_00,MAILING_LIST_MULTI autolearn=ham version=3.3.1 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id CC144292CB for ; Sat, 16 Mar 2019 22:45:18 +0000 (UTC) Received: from localhost ([127.0.0.1]:47458 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1h5I3K-0000SY-5v for patchwork-qemu-devel@patchwork.kernel.org; Sat, 16 Mar 2019 18:45:18 -0400 Received: from eggs.gnu.org ([209.51.188.92]:53336) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1h5HyA-0004kY-5U for qemu-devel@nongnu.org; Sat, 16 Mar 2019 18:39:59 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1h5Hy8-0002LZ-U4 for qemu-devel@nongnu.org; Sat, 16 Mar 2019 18:39:58 -0400 Received: from mx1.redhat.com ([209.132.183.28]:50390) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1h5Hy8-0002L3-Hg; Sat, 16 Mar 2019 18:39:56 -0400 Received: from smtp.corp.redhat.com (int-mx07.intmail.prod.int.phx2.redhat.com [10.5.11.22]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id 7C1B5307D910; Sat, 16 Mar 2019 22:39:55 +0000 (UTC) Received: from x1w.redhat.com (ovpn-204-28.brq.redhat.com [10.40.204.28]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 8F4281001DDE; Sat, 16 Mar 2019 22:39:43 +0000 (UTC) From: =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= To: qemu-devel@nongnu.org, Paolo Bonzini Date: Sat, 16 Mar 2019 23:39:16 +0100 Message-Id: <20190316223918.11917-4-philmd@redhat.com> In-Reply-To: <20190316223918.11917-1-philmd@redhat.com> References: <20190316223918.11917-1-philmd@redhat.com> MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.84 on 10.5.11.22 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.48]); Sat, 16 Mar 2019 22:39:55 +0000 (UTC) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 209.132.183.28 Subject: [Qemu-devel] [PATCH v2 3/5] hw/isa/Kconfig: i82378 SuperIO requires PC speaker device X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Thomas Huth , "Michael S. Tsirkin" , David Hildenbrand , Aleksandar Rikalo , Aleksandar Markovic , Helge Deller , Cornelia Huck , Mark Cave-Ayland , Eduardo Habkost , Halil Pasic , Christian Borntraeger , qemu-s390x@nongnu.org, qemu-ppc@nongnu.org, Aurelien Jarno , David Gibson , =?utf-8?q?Philippe_Mathieu-Daud?= =?utf-8?q?=C3=A9?= , Artyom Tarasenko , Richard Henderson Errors-To: qemu-devel-bounces+patchwork-qemu-devel=patchwork.kernel.org@nongnu.org Sender: "Qemu-devel" X-Virus-Scanned: ClamAV using ClamSMTP This fixes when configuring with --without-default-devices: $ qemu-system-ppc -M prep --nodefaults qemu-system-ppc: Machine type 'prep' is deprecated: use 40p machine type instead qemu-system-ppc: Unknown device 'isa-pcspk' for bus 'ISA' Aborted (core dumped) (gdb) bt #1 0x00007ffff5a11895 in __GI_abort () at abort.c:79 #2 0x0000555555845db3 in qdev_create (bus=0x55555641e360, name=name@entry=0x555555b1f338 "isa-pcspk") at hw/core/qdev.c:131 #3 0x000055555586b03e in isa_create (bus=bus@entry=0x55555641e360, name=name@entry=0x555555b1f338 "isa-pcspk") at hw/isa/isa-bus.c:162 #4 0x000055555586bf7b in pcspk_init (pit=0x5555561696b0, bus=0x55555641e360) at include/hw/audio/pcspk.h:38 #5 0x000055555586bf7b in i82378_realize (pci=, errp=0x7fffffffc960) at hw/isa/i82378.c:104 #6 0x000055555587e288 in pci_qdev_realize (qdev=0x55555641be60, errp=) at hw/pci/pci.c:2076 #7 0x0000555555846fb4 in device_set_realized (obj=, value=, errp=0x7fffffffcaf0) at hw/core/qdev.c:834 #8 0x00005555559273f7 in property_set_bool (obj=0x55555641be60, v=, name=, opaque=0x5555563df1c0, errp=0x7fffffffcaf0) at qom/object.c:2074 #9 0x000055555592ba1f in object_property_set_qobject (obj=obj@entry=0x55555641be60, value=value@entry=0x55555641d2b0, name=name@entry=0x555555b17175 "realized", errp=errp@entry=0x7fffffffcaf0) at qom/qom-qobject.c:27 #10 0x0000555555929355 in object_property_set_bool (obj=0x55555641be60, value=, name=0x555555b17175 "realized", errp=0x7fffffffcaf0) at qom/object.c:1332 #11 0x0000555555845f42 in qdev_init_nofail (dev=dev@entry=0x55555641be60) at hw/core/qdev.c:321 #12 0x000055555587ce06 in pci_create_simple_multifunction (name=name@entry=0x555555b1f346 "i82378", multifunction=false, devfn=devfn@entry=8, bus=bus@entry=0x55555628cfe8) at hw/pci/pci.c:2115 #13 0x000055555587ce06 in pci_create_simple (bus=bus@entry=0x55555628cfe8, devfn=devfn@entry=8, name=name@entry=0x555555b1f346 "i82378") at hw/pci/pci.c:2126 #14 0x000055555575e62c in ppc_prep_init (machine=0x55555609af00) at hw/ppc/prep.c:516 #15 0x000055555584d57b in machine_run_board_init (machine=0x55555609af00) at hw/core/machine.c:1030 Fixes: dd0ff8191ab Signed-off-by: Philippe Mathieu-Daudé Reviewed-by: Thomas Huth --- hw/isa/Kconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/hw/isa/Kconfig b/hw/isa/Kconfig index 1bb5ccdba7..b40075df89 100644 --- a/hw/isa/Kconfig +++ b/hw/isa/Kconfig @@ -11,6 +11,7 @@ config I82378 select I8254 select I82374 select MC146818RTC + select PCSPK config PC87312 bool From patchwork Sat Mar 16 22:39:17 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= X-Patchwork-Id: 10856099 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id ACAEE6C2 for ; Sat, 16 Mar 2019 22:41:26 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 9512F29D35 for ; Sat, 16 Mar 2019 22:41:26 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 9316A29D3A; Sat, 16 Mar 2019 22:41:26 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-2.9 required=2.0 tests=BAYES_00,MAILING_LIST_MULTI autolearn=ham version=3.3.1 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 414E229D49 for ; Sat, 16 Mar 2019 22:41:26 +0000 (UTC) Received: from localhost ([127.0.0.1]:47389 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1h5HzZ-0005w7-BN for patchwork-qemu-devel@patchwork.kernel.org; Sat, 16 Mar 2019 18:41:25 -0400 Received: from eggs.gnu.org ([209.51.188.92]:53358) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1h5HyF-0004oa-9u for qemu-devel@nongnu.org; Sat, 16 Mar 2019 18:40:04 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1h5HyE-0002Nr-3Z for qemu-devel@nongnu.org; Sat, 16 Mar 2019 18:40:03 -0400 Received: from mx1.redhat.com ([209.132.183.28]:52996) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1h5HyD-0002Nc-P9; Sat, 16 Mar 2019 18:40:02 -0400 Received: from smtp.corp.redhat.com (int-mx07.intmail.prod.int.phx2.redhat.com [10.5.11.22]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id D5D00C057E68; Sat, 16 Mar 2019 22:40:00 +0000 (UTC) Received: from x1w.redhat.com (ovpn-204-28.brq.redhat.com [10.40.204.28]) by smtp.corp.redhat.com (Postfix) with ESMTPS id F26C81001E61; Sat, 16 Mar 2019 22:39:55 +0000 (UTC) From: =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= To: qemu-devel@nongnu.org, Paolo Bonzini Date: Sat, 16 Mar 2019 23:39:17 +0100 Message-Id: <20190316223918.11917-5-philmd@redhat.com> In-Reply-To: <20190316223918.11917-1-philmd@redhat.com> References: <20190316223918.11917-1-philmd@redhat.com> MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.84 on 10.5.11.22 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.32]); Sat, 16 Mar 2019 22:40:01 +0000 (UTC) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 209.132.183.28 Subject: [Qemu-devel] [PATCH v2 4/5] hw/mips/Kconfig: Fulong 2e board requires ati-vga display device X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Thomas Huth , "Michael S. Tsirkin" , David Hildenbrand , Aleksandar Rikalo , Aleksandar Markovic , Helge Deller , Cornelia Huck , Mark Cave-Ayland , Eduardo Habkost , Halil Pasic , Christian Borntraeger , qemu-s390x@nongnu.org, qemu-ppc@nongnu.org, Aurelien Jarno , David Gibson , =?utf-8?q?Philippe_Mathieu-Daud?= =?utf-8?q?=C3=A9?= , Artyom Tarasenko , Richard Henderson Errors-To: qemu-devel-bounces+patchwork-qemu-devel=patchwork.kernel.org@nongnu.org Sender: "Qemu-devel" X-Virus-Scanned: ClamAV using ClamSMTP 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=) at hw/mips/mips_fulong2e.c:352 #6 0x000055555587e23b in machine_run_board_init (machine=0x5555560b2000) at hw/core/machine.c:1030 Fixes: 862b4a291dc Signed-off-by: Philippe Mathieu-Daudé --- default-configs/mips64el-softmmu.mak | 2 ++ 1 file changed, 2 insertions(+) diff --git a/default-configs/mips64el-softmmu.mak b/default-configs/mips64el-softmmu.mak index 8b255efc54..a67c9517a2 100644 --- a/default-configs/mips64el-softmmu.mak +++ b/default-configs/mips64el-softmmu.mak @@ -6,6 +6,8 @@ CONFIG_RC4030=y CONFIG_DP8393X=y CONFIG_DS1225Y=y CONFIG_FULONG=y +CONFIG_ATI_VGA=y +CONFIG_RTL8139_PCI=y CONFIG_JAZZ=y CONFIG_G364FB=y CONFIG_JAZZ_LED=y From patchwork Sat Mar 16 22:39:18 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= X-Patchwork-Id: 10856107 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 7F89113B5 for ; Sat, 16 Mar 2019 22:46:36 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 6553A29509 for ; Sat, 16 Mar 2019 22:46:36 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 58867295C4; Sat, 16 Mar 2019 22:46:36 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-2.9 required=2.0 tests=BAYES_00,MAILING_LIST_MULTI autolearn=ham version=3.3.1 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id F28E729509 for ; Sat, 16 Mar 2019 22:46:35 +0000 (UTC) Received: from localhost ([127.0.0.1]:47469 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1h5I4Z-0001Aw-6j for patchwork-qemu-devel@patchwork.kernel.org; Sat, 16 Mar 2019 18:46:35 -0400 Received: from eggs.gnu.org ([209.51.188.92]:53408) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1h5HyS-00055a-DT for qemu-devel@nongnu.org; Sat, 16 Mar 2019 18:40:17 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1h5HyR-0002XW-5n for qemu-devel@nongnu.org; Sat, 16 Mar 2019 18:40:16 -0400 Received: from mx1.redhat.com ([209.132.183.28]:50452) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1h5HyQ-0002XH-Re; Sat, 16 Mar 2019 18:40:15 -0400 Received: from smtp.corp.redhat.com (int-mx07.intmail.prod.int.phx2.redhat.com [10.5.11.22]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id 01490307D910; Sat, 16 Mar 2019 22:40:14 +0000 (UTC) Received: from x1w.redhat.com (ovpn-204-28.brq.redhat.com [10.40.204.28]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 640531001E61; Sat, 16 Mar 2019 22:40:01 +0000 (UTC) From: =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= To: qemu-devel@nongnu.org, Paolo Bonzini Date: Sat, 16 Mar 2019 23:39:18 +0100 Message-Id: <20190316223918.11917-6-philmd@redhat.com> In-Reply-To: <20190316223918.11917-1-philmd@redhat.com> References: <20190316223918.11917-1-philmd@redhat.com> MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.84 on 10.5.11.22 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.48]); Sat, 16 Mar 2019 22:40:14 +0000 (UTC) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 209.132.183.28 Subject: [Qemu-devel] [PATCH v2 5/5] hw/sparc/Kconfig: SPARCstation machine requires the TCX display X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Thomas Huth , "Michael S. Tsirkin" , David Hildenbrand , Aleksandar Rikalo , Aleksandar Markovic , Helge Deller , Cornelia Huck , Mark Cave-Ayland , Eduardo Habkost , Halil Pasic , Christian Borntraeger , qemu-s390x@nongnu.org, qemu-ppc@nongnu.org, Aurelien Jarno , David Gibson , =?utf-8?q?Philippe_Mathieu-Daud?= =?utf-8?q?=C3=A9?= , Artyom Tarasenko , Richard Henderson Errors-To: qemu-devel-bounces+patchwork-qemu-devel=patchwork.kernel.org@nongnu.org Sender: "Qemu-devel" X-Virus-Scanned: ClamAV using ClamSMTP This is the default display device used in sun4m_hw_init(): /* If no display specified, default to TCX */ This fixes when configuring with --without-default-devices: $ sparc-softmmu/qemu-system-sparc --nodefaults qemu-system-sparc: Unknown device 'SUNW,tcx' for default sysbus Aborted (core dumped) (gdb) bt #0 0x00007fc78d19353f in __GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:50 #1 0x00007fc78d17d895 in __GI_abort () at abort.c:79 #2 0x0000560beaf637f3 in qdev_create (bus=bus@entry=0x0, name=name@entry=0x560beb1be36b "SUNW,tcx") at hw/core/qdev.c:131 #3 0x0000560beaf1392d in tcx_init (vram_size=1048576, width=1024, height=768, depth=8, irq=0x560bed1a0230, addr=1342177280) at hw/sparc/sun4m.c:477 #4 0x0000560beaf1392d in sun4m_hw_init (hwdef=0x560beb1be780 , machine=0x560becf65f00) at hw/sparc/sun4m.c:943 #5 0x0000560beaf6b15b in machine_run_board_init (machine=0x560becf65f00) at hw/core/machine.c:1030 Fixes: 8c75eec06d4 Signed-off-by: Philippe Mathieu-Daudé Reviewed-by: Thomas Huth --- default-configs/sparc-softmmu.mak | 1 - hw/sparc/Kconfig | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/default-configs/sparc-softmmu.mak b/default-configs/sparc-softmmu.mak index ee85218115..56509bf263 100644 --- a/default-configs/sparc-softmmu.mak +++ b/default-configs/sparc-softmmu.mak @@ -2,7 +2,6 @@ # Uncomment the following lines to disable these optional devices: # -#CONFIG_TCX=n #CONFIG_CG3=n # Boards: diff --git a/hw/sparc/Kconfig b/hw/sparc/Kconfig index 2a83a8010e..5383dbd910 100644 --- a/hw/sparc/Kconfig +++ b/hw/sparc/Kconfig @@ -1,6 +1,6 @@ config SUN4M bool - imply TCX + select TCX imply CG3 select CS4231 select ECCMEMCTL