From nobody Mon Feb 9 18:20:00 2026 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of redhat.com designates 170.10.133.124 as permitted sender) client-ip=170.10.133.124; envelope-from=philmd@redhat.com; helo=us-smtp-delivery-124.mimecast.com; Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of redhat.com designates 170.10.133.124 as permitted sender) smtp.mailfrom=philmd@redhat.com; dmarc=pass(p=none dis=none) header.from=redhat.com ARC-Seal: i=1; a=rsa-sha256; t=1621100297; cv=none; d=zohomail.com; s=zohoarc; b=fK8+5gqcR8uULyD+zcYIPes7ROrOwCVIM7H2Ehi7sdcMPeDGbHsACMOpVEoLjK25Ny4DUGY4cMfhgpkET2YW1h0bYzmM/vKuCjCsuaRS6HL0cciZ6Eh+WfsvdzZzlXZMS6Cz3muwOxDkJVMy8Wz9NITVbOAUM7qs/05zH2/vqhM= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1621100297; h=Content-Type:Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:MIME-Version:Message-ID:References:Subject:To; bh=zPLTr9/lf9Tjbqx5BLE7l6ti3Lxwf/eMPMqzxJa5Wn8=; b=mgmOxCp8X3DxFdfqqeQcr/L9TQiOU45lF6N6QPYy+GsL3b8VkvxOYa82BntweBhMpvfNrLDPpcz2ZjT/5iAPYeYsfIoD7VjPYau6sELsYKnRR/I0+963RlNbolDYv4xoMIVLlnyQvtl29EeJ+AXz7HLPo+i0y9Lu5Qr33/t6ee0= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of redhat.com designates 170.10.133.124 as permitted sender) smtp.mailfrom=philmd@redhat.com; dmarc=pass header.from= (p=none dis=none) header.from= Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.133.124]) by mx.zohomail.com with SMTPS id 1621100297080334.4122472921341; Sat, 15 May 2021 10:38:17 -0700 (PDT) Received: from mail-wm1-f72.google.com (mail-wm1-f72.google.com [209.85.128.72]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-552-IfB8JPBPM72N6w5qq-b6OQ-1; Sat, 15 May 2021 13:38:12 -0400 Received: by mail-wm1-f72.google.com with SMTP id r15-20020a05600c35cfb029017373d9f318so446764wmq.4 for ; Sat, 15 May 2021 10:38:12 -0700 (PDT) Return-Path: Return-Path: Received: from localhost.localdomain (31.red-83-51-215.dynamicip.rima-tde.net. [83.51.215.31]) by smtp.gmail.com with ESMTPSA id k7sm10529562wro.8.2021.05.15.10.38.09 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 15 May 2021 10:38:10 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1621100296; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=zPLTr9/lf9Tjbqx5BLE7l6ti3Lxwf/eMPMqzxJa5Wn8=; b=QCMNB/KbJrWpzWXXcliWhY+bwdNTvUGPqAdBua9L7xHY0Z18J6ACe6QmLq2TEaJlavFHlk vAcp9UGQo0D7qVvWPCsRGU9VEBWsKTFM0XDVo/h94GFjqZlUxk7IhONYuKTH6qvnrBqksP IUBJL+wWIkhDV6UXzuAEmrevKOprHu4= X-MC-Unique: IfB8JPBPM72N6w5qq-b6OQ-1 X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=zPLTr9/lf9Tjbqx5BLE7l6ti3Lxwf/eMPMqzxJa5Wn8=; b=DvDVo8cVhqUu89nKni+0ziLm2jhxRz3czHDdyC7BusZwsWPiLb2gQfA2ObooXKSmTw RENgoYb2cnMQhCJIzN7WDU4I76H7HmIC8sYTPdCL8euqQWx47onaVXG8stMITmipWlSL 1NLDTCom4cQszneZkvLCRf1KHcWDAVYGvpVdN8Vn2OLKsJk09oJVJEI+SroaMnuUeDB9 hK1MIOgVDJ558csDEaxxfjjMrkxhEMw27LZen5DDrvv2cSBzAWdjCgfPsicjkzAn1+Zv WKFq0uGzMMeMv+6s2HC7Pe03lShRkhUU2Ml7mmYm5V/rzjVPFc1nrUZEcKVANfO3CkFG StRA== X-Gm-Message-State: AOAM531zo52KwJJA+rAlbsTFariNU/mwEOwky9ylcd/I48mW4w3jcvbI l6BC+zUILLfulc1xrehDU/BNK8Rl9PoJOYy0eYAQnY1+FFfhg7DA2S8Me+YSibFck3465wArIeR /WoFLThYnZl5/ng== X-Received: by 2002:a05:600c:4e86:: with SMTP id f6mr17699063wmq.63.1621100290701; Sat, 15 May 2021 10:38:10 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzii0Xl0VixUiqyqFHFGIsEHeMGPXKtofe5AKg67YPxW4QJJQNwlVEfch8ScK0g6JbQfJiAGw== X-Received: by 2002:a05:600c:4e86:: with SMTP id f6mr17699051wmq.63.1621100290564; Sat, 15 May 2021 10:38:10 -0700 (PDT) From: =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= To: qemu-devel@nongnu.org Cc: Bin Meng , Paolo Bonzini , qemu-riscv@nongnu.org, qemu-arm@nongnu.org, qemu-ppc@nongnu.org, BALATON Zoltan , David Gibson , Alistair Francis , =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= Subject: [PATCH v2 11/12] hw/isa/vt82c686: Add missing Kconfig dependency (runtime error) Date: Sat, 15 May 2021 19:37:15 +0200 Message-Id: <20210515173716.358295-12-philmd@redhat.com> X-Mailer: git-send-email 2.26.3 In-Reply-To: <20210515173716.358295-1-philmd@redhat.com> References: <20210515173716.358295-1-philmd@redhat.com> MIME-Version: 1.0 Authentication-Results: relay.mimecast.com; auth=pass smtp.auth=CUSA124A263 smtp.mailfrom=philmd@redhat.com X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable X-ZohoMail-DKIM: pass (identity @redhat.com) From: Philippe Mathieu-Daud=C3=A9 When building the Pegasos2 machine stand-alone we get: $ qemu-system-ppc -M pegasos2 -bios pegasos2.rom ERROR:qom/object.c:714:object_new_with_type: assertion failed: (type !=3D= NULL) Bail out! ERROR:qom/object.c:714:object_new_with_type: assertion failed: = (type !=3D NULL) Looking at the backtrace: Thread 1 "qemu-system-ppc" received signal SIGABRT, Aborted. (gdb) bt #0 0x00007ffff53877d5 in raise () at /lib64/libc.so.6 #1 0x00007ffff5370895 in abort () at /lib64/libc.so.6 #2 0x00007ffff6dc4b6c in g_assertion_message_expr.cold () at /lib64/libg= lib-2.0.so.0 #3 0x00007ffff6e229ff in g_assertion_message_expr () at /lib64/libglib-2= .0.so.0 #4 0x0000555555a0c8f4 in object_new_with_type (type=3D0x0) at qom/object= .c:714 #5 0x0000555555a0c9d5 in object_new (typename=3D0x555555c7afe4 "isa-pit"= ) at qom/object.c:747 #6 0x0000555555a053b8 in qdev_new (name=3D0x555555c7afe4 "isa-pit") at h= w/core/qdev.c:153 #7 0x00005555557cdd05 in isa_new (name=3D0x555555c7afe4 "isa-pit") at hw= /isa/isa-bus.c:160 #8 0x00005555557cf518 in i8254_pit_init (bus=3D0x55555603d140, base=3D64= , isa_irq=3D0, alt_irq=3D0x0) at include/hw/timer/i8254.h:54 #9 0x00005555557d12f9 in vt8231_realize (d=3D0x5555563d9770, errp=3D0x7f= ffffffcc28) at hw/isa/vt82c686.c:704 #10 0x00005555557e1340 in pci_qdev_realize (qdev=3D0x5555563d9770, errp= =3D0x7fffffffcca0) at hw/pci/pci.c:2116 #11 0x0000555555a06a84 in device_set_realized (obj=3D0x5555563d9770, valu= e=3Dtrue, errp=3D0x7fffffffcda8) at hw/core/qdev.c:761 #12 0x0000555555a0ff9e in property_set_bool (obj=3D0x5555563d9770, v=3D0x= 5555563da090, name=3D0x555555cd7881 "realized", opaque=3D0x5555560acf80, er= rp=3D0x7fffffffcda8) at qom/object.c:2257 #13 0x0000555555a0e098 in object_property_set (obj=3D0x5555563d9770, name= =3D0x555555cd7881 "realized", v=3D0x5555563da090, errp=3D0x555555fc3fa0 ) at qom/object.c:1402 #14 0x0000555555a12271 in object_property_set_qobject (obj=3D0x5555563d97= 70, name=3D0x555555cd7881 "realized", value=3D0x5555563cf0a0, errp=3D0x5555= 55fc3fa0 ) at qom/qom-qobject.c:28 #15 0x0000555555a0e3fb in object_property_set_bool (obj=3D0x5555563d9770,= name=3D0x555555cd7881 "realized", value=3Dtrue, errp=3D0x555555fc3fa0 ) at qom/object.c:1472 #16 0x0000555555a05b15 in qdev_realize (dev=3D0x5555563d9770, bus=3D0x555= 5563d32b0, errp=3D0x555555fc3fa0 ) at hw/core/qdev.c:389 #17 0x0000555555a05b42 in qdev_realize_and_unref (dev=3D0x5555563d9770, b= us=3D0x5555563d32b0, errp=3D0x555555fc3fa0 ) at hw/core/qdev.c= :396 #18 0x00005555557e160f in pci_realize_and_unref (dev=3D0x5555563d9770, bu= s=3D0x5555563d32b0, errp=3D0x555555fc3fa0 ) at hw/pci/pci.c:21= 81 #19 0x00005555557e165b in pci_create_simple_multifunction (bus=3D0x555556= 3d32b0, devfn=3D96, multifunction=3Dtrue, name=3D0x555555c9b63b "vt8231-isa= ") at hw/pci/pci.c:2189 #20 0x0000555555867730 in pegasos2_init (machine=3D0x5555560427a0) at hw/= ppc/pegasos2.c:105 The "isa-pit" type (TYPE_I8254) is missing. Add it. Signed-off-by: Philippe Mathieu-Daud=C3=A9 Reviewed-by: BALATON Zoltan Reviewed-by: Bin Meng --- hw/isa/Kconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/hw/isa/Kconfig b/hw/isa/Kconfig index 0703512209a..9822a90ce95 100644 --- a/hw/isa/Kconfig +++ b/hw/isa/Kconfig @@ -49,6 +49,7 @@ config VT82C686 select FDC select USB_UHCI select APM + select I8254 select I8257 select I8259 select MC146818RTC --=20 2.26.3