From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-0.7 required=3.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 8B80EC33CB3 for ; Sat, 1 Feb 2020 16:51:32 +0000 (UTC) Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 5CC90205F4 for ; Sat, 1 Feb 2020 16:51:32 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 5CC90205F4 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=bugs.launchpad.net Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=qemu-devel-bounces+qemu-devel=archiver.kernel.org@nongnu.org Received: from localhost ([::1]:47784 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ixvzX-0004i8-Dz for qemu-devel@archiver.kernel.org; Sat, 01 Feb 2020 11:51:31 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:40357) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ixvyi-0003ro-2T for qemu-devel@nongnu.org; Sat, 01 Feb 2020 11:50:41 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ixvyf-0001Eu-D9 for qemu-devel@nongnu.org; Sat, 01 Feb 2020 11:50:39 -0500 Received: from indium.canonical.com ([91.189.90.7]:50454) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1ixvyf-00018S-0O for qemu-devel@nongnu.org; Sat, 01 Feb 2020 11:50:37 -0500 Received: from loganberry.canonical.com ([91.189.90.37]) by indium.canonical.com with esmtp (Exim 4.86_2 #2 (Debian)) id 1ixvye-00053J-0o for ; Sat, 01 Feb 2020 16:50:36 +0000 Received: from loganberry.canonical.com (localhost [127.0.0.1]) by loganberry.canonical.com (Postfix) with ESMTP id F27912E80C9 for ; Sat, 1 Feb 2020 16:50:35 +0000 (UTC) MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Date: Sat, 01 Feb 2020 16:44:29 -0000 From: =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= <1835865@bugs.launchpad.net> To: qemu-devel@nongnu.org X-Launchpad-Notification-Type: bug X-Launchpad-Bug: product=qemu; status=New; importance=Undecided; assignee=None; X-Launchpad-Bug-Tags: acpi piix X-Launchpad-Bug-Information-Type: Public X-Launchpad-Bug-Private: no X-Launchpad-Bug-Security-Vulnerability: no X-Launchpad-Bug-Commenters: amarkovic philmd X-Launchpad-Bug-Reporter: =?utf-8?q?Philippe_Mathieu-Daud=C3=A9_=28philmd?= =?utf-8?q?=29?= X-Launchpad-Bug-Modifier: =?utf-8?q?Philippe_Mathieu-Daud=C3=A9_=28philmd?= =?utf-8?q?=29?= References: <156264634854.21327.17484948855790653898.malonedeb@gac.canonical.com> Message-Id: <158057546992.26713.4328326290516046451.malone@soybean.canonical.com> Subject: [Bug 1835865] Re: piix crashes on mips when accessing acpi-pci-hotplug X-Launchpad-Message-Rationale: Subscriber (QEMU) @qemu-devel-ml X-Launchpad-Message-For: qemu-devel-ml Precedence: bulk X-Generated-By: Launchpad (canonical.com); Revision="0a62c17273454a1313f81a74a2198ec30b44c7b6"; Instance="production-secrets-lazr.conf" X-Launchpad-Hash: 97d1580a5f7fa86be67c9ec3ce8236a8eca431c3 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 91.189.90.7 X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.23 List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: Bug 1835865 <1835865@bugs.launchpad.net> Errors-To: qemu-devel-bounces+qemu-devel=archiver.kernel.org@nongnu.org Sender: "Qemu-devel" As this is an ACPI bug, adding the acpi tag. -- = You received this bug notification because you are a member of qemu- devel-ml, which is subscribed to QEMU. https://bugs.launchpad.net/bugs/1835865 Title: piix crashes on mips when accessing acpi-pci-hotplug Status in QEMU: New Bug description: $ qemu-system-mips --version QEMU emulator version 4.0.50 (v4.0.0-1975-gf34edbc760) $ qemu-system-mips -machine malta -bios /dev/null -nodefaults -monitor st= dio -S (qemu) o 0xaf00 0 qemu-system-mips: hw/acpi/cpu.c:197: cpu_hotplug_hw_init: Assertion `mc->= possible_cpu_arch_ids' failed. Aborted (core dumped) (gdb) bt #0 0x00007f6fd748957f in raise () at /lib64/libc.so.6 #1 0x00007f6fd7473895 in abort () at /lib64/libc.so.6 #2 0x00007f6fd7473769 in _nl_load_domain.cold.0 () at /lib64/libc.so.6 #3 0x00007f6fd7481a26 in .annobin_assert.c_end () at /lib64/libc.so.6 #4 0x00005646d58ca7bd in cpu_hotplug_hw_init (as=3D0x5646d6ae3300, owner= =3D0x5646d6fd5b10, state=3D0x5646d6fd7a30, base_addr=3D44800) at hw/acpi/cp= u.c:197 #5 0x00005646d58c5284 in acpi_switch_to_modern_cphp (gpe_cpu=3D0x5646d6f= d7910, cpuhp_state=3D0x5646d6fd7a30, io_port=3D44800) at hw/acpi/cpu_hotplu= g.c:107 #6 0x00005646d58c3431 in piix4_set_cpu_hotplug_legacy (obj=3D0x5646d6fd5= b10, value=3Dfalse, errp=3D0x5646d61cdb28 ) at hw/acpi/piix4.c= :617 #7 0x00005646d5b00c70 in property_set_bool (obj=3D0x5646d6fd5b10, v=3D0x= 5646d7697d30, name=3D0x5646d5cf3a90 "cpu-hotplug-legacy", opaque=3D0x5646d7= 07d110, errp=3D0x5646d61cdb28 ) at qom/object.c:2076 #8 0x00005646d5afeee6 in object_property_set (obj=3D0x5646d6fd5b10, v=3D= 0x5646d7697d30, name=3D0x5646d5cf3a90 "cpu-hotplug-legacy", errp=3D0x5646d6= 1cdb28 ) at qom/object.c:1268 #9 0x00005646d5b01fb8 in object_property_set_qobject (obj=3D0x5646d6fd5b= 10, value=3D0x5646d75b5450, name=3D0x5646d5cf3a90 "cpu-hotplug-legacy", err= p=3D0x5646d61cdb28 ) at qom/qom-qobject.c:26 #10 0x00005646d5aff1cb in object_property_set_bool (obj=3D0x5646d6fd5b10,= value=3Dfalse, name=3D0x5646d5cf3a90 "cpu-hotplug-legacy", errp=3D0x5646d6= 1cdb28 ) at qom/object.c:1334 #11 0x00005646d58c4fce in cpu_status_write (opaque=3D0x5646d6fd7910, addr= =3D0, data=3D0, size=3D1) at hw/acpi/cpu_hotplug.c:44 #12 0x00005646d569c707 in memory_region_write_accessor (mr=3D0x5646d6fd79= 20, addr=3D0, value=3D0x7ffc18053068, size=3D1, shift=3D0, mask=3D255, attr= s=3D...) at memory.c:503 #13 0x00005646d569c917 in access_with_adjusted_size (addr=3D0, value=3D0x= 7ffc18053068, size=3D1, access_size_min=3D1, access_size_max=3D4, access_fn= =3D0x5646d569c61e , mr=3D0x5646d6fd7920, attr= s=3D...) at memory.c:569 #14 0x00005646d569f8f3 in memory_region_dispatch_write (mr=3D0x5646d6fd79= 20, addr=3D0, data=3D0, size=3D1, attrs=3D...) at memory.c:1497 #15 0x00005646d563e5c5 in flatview_write_continue (fv=3D0x5646d751b000, a= ddr=3D44800, attrs=3D..., buf=3D0x7ffc180531d4 "", len=3D4, addr1=3D0, l=3D= 1, mr=3D0x5646d6fd7920) at exec.c:3324 #16 0x00005646d563e70a in flatview_write (fv=3D0x5646d751b000, addr=3D448= 00, attrs=3D..., buf=3D0x7ffc180531d4 "", len=3D4) at exec.c:3363 #17 0x00005646d563ea0f in address_space_write (as=3D0x5646d618abc0 , addr=3D44800, attrs=3D..., buf=3D0x7ffc180531d4 "", len=3D4) = at exec.c:3453 #18 0x00005646d5696ee5 in cpu_outl (addr=3D44800, val=3D0) at ioport.c:80 #19 0x00005646d57585d0 in hmp_ioport_write (mon=3D0x5646d6bc70e0, qdict= =3D0x5646d6cf7140) at monitor/misc.c:1058 #20 0x00005646d5a77b99 in handle_hmp_command (mon=3D0x5646d6bc70e0, cmdli= ne=3D0x5646d6bc2542 "0xaf00 0") at monitor/hmp.c:1082 #21 0x00005646d5a7540a in monitor_command_cb (opaque=3D0x5646d6bc70e0, cm= dline=3D0x5646d6bc2540 "o 0xaf00 0", readline_opaque=3D0x0) at monitor/hmp.= c:47 #22 0x00005646d5c71450 in readline_handle_byte (rs=3D0x5646d6bc2540, ch= =3D13) at util/readline.c:408 #23 0x00005646d5a7858f in monitor_read (opaque=3D0x5646d6bc70e0, buf=3D0x= 7ffc180533d0 "\rtc\327FV", size=3D1) at monitor/hmp.c:1312 #24 0x00005646d5bc8d17 in qemu_chr_be_write_impl (s=3D0x5646d6add000, buf= =3D0x7ffc180533d0 "\rtc\327FV", len=3D1) at chardev/char.c:177 #25 0x00005646d5bc8d7b in qemu_chr_be_write (s=3D0x5646d6add000, buf=3D0x= 7ffc180533d0 "\rtc\327FV", len=3D1) at chardev/char.c:189 #26 0x00005646d5bcb6bf in fd_chr_read (chan=3D0x5646d6a80d60, cond=3DG_IO= _IN, opaque=3D0x5646d6add000) at chardev/char-fd.c:68 #27 0x00005646d5bec485 in qio_channel_fd_source_dispatch (source=3D0x5646= d765a480, callback=3D0x5646d5bcb561 , user_data=3D0x5646d6add0= 00) at io/channel-watch.c:84 #28 0x00007f6fd9c1606d in g_main_context_dispatch () at /lib64/libglib-2.= 0.so.0 #29 0x00005646d5c5323a in glib_pollfds_poll () at util/main-loop.c:213 #30 0x00005646d5c532b4 in os_host_main_loop_wait (timeout=3D29821719) at = util/main-loop.c:236 #31 0x00005646d5c533b9 in main_loop_wait (nonblocking=3D0) at util/main-l= oop.c:512 #32 0x00005646d581d1a1 in main_loop () at vl.c:1791 #33 0x00005646d582485f in main (argc=3D11, argv=3D0x7ffc18054868, envp=3D= 0x7ffc180548c8) at vl.c:4473 To manage notifications about this bug go to: https://bugs.launchpad.net/qemu/+bug/1835865/+subscriptions