From nobody Fri Nov 7 15:00:14 2025 X-Original-To: testing@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4d32Kq0hzSz6G3Mv for ; Fri, 07 Nov 2025 15:00:15 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R12" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4d32Kp58jmz3QBb for ; Fri, 07 Nov 2025 15:00:14 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1762527614; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=VeJP73rw5qD5e6M6/P3bwv5PcyDl+f5PtbKUuc3FzC0=; b=kmU4scy2TDRABacsX5xiCDN1ZByPOPYuZB7ItIfYKKDwGGL/2o4BVR7d9qcw3XiZrjiox0 c2sGXdTvyQR3DZRzs+E/eJlGHTJeYRZq+2mXQmx4IDZcNvjfJUAhBDrPj0VgOg8DJiQWav cPkPEWbGcj3+miKqh1aAK6KTngRWl88uyAw0xvZFB3LagMDAaSBZqv9rwoQigrY3mh6xw+ L1s3wtVFXmHgRwqIhN40CguZ/kCTH7Fxi7lJh73t002RO23aTxAdXQp7hjWhTqtjP56s6+ D5gI40RUqo0shIeiXmBgxes9WyxrdFbnmfDKH5RphB/6H9Nh36C8bYVsfT68IA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1762527614; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=VeJP73rw5qD5e6M6/P3bwv5PcyDl+f5PtbKUuc3FzC0=; b=XC05wH0W5qLE6HtwzQ3932JQ6vh0StOCPp7FZOjOAVNbuYMU7fxn/4nMr7onGROG6qW7SQ wvBmFc1HUOiaSLuYxu86cE49AcPmm/t80FYAq9CIGdMK1fubtxPA3PY1mMkwG2JsFMt308 Q8PSZGwF050wkAyytESJUVoCuNZv6+NIH5QNHaqFAX3jDvTzc4q8J6mV9DFpizci4cy28R +jaqRAQM8YjWmGldGaG6PS2+jjkfhN6Z/V0jBeLBzQtf+V5EwFqZTb6bVawmDuKhJGxBdY T17WXKQ8AhCdH8Nrcbu9T1zz2byJ+ITyV5ElgwUroWDtGPlVmt+x23ZN+XdGAA== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1762527614; a=rsa-sha256; cv=none; b=kwGpluGY4RJE49R/qX/xbyE7nz6x0Lr+ZKonh4uMiBhohVn4RRRP88LqWhEZIBEH8pV9sB 3htrKE74RZPoVrtu8T1NmkciL4ls8KMFPSTEbSkUpwmnsDU/OfCbzaiYJ9EoLf2PkOy8bk VeSMprvJ6rxjl9lpGfa2KNddohFwEkJkbcIPWVaO6/D20sDO9T+ECbStRB/bX+UOlAZHAP YvmLBWQD5NYtEaGjfpXbTEqWDOkBH3BEwCjHONfbNFDPH5tbDnKDGpMMtsBv8+pFXaHK7C QyulcmTQplD25jrwRC9tSJnbE/09C/JYH/tfrQ3SWyydNpMhVwxqT95KFceC1w== ARC-Authentication-Results: i=1; mx1.freebsd.org; none Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4d32Kp4P3jz13mn for ; Fri, 07 Nov 2025 15:00:14 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 5A7F0EW5055649 for ; Fri, 7 Nov 2025 15:00:14 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from bugzilla@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 5A7F0EUY055648 for testing@FreeBSD.org; Fri, 7 Nov 2025 15:00:14 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: bugzilla set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: testing@FreeBSD.org Subject: [Bug 289930] Booting FreeBSD 16-CURRENT on riscv64 with QEMU hangs indefinitely Date: Fri, 07 Nov 2025 15:00:14 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: riscv X-Bugzilla-Version: 16.0-CURRENT X-Bugzilla-Keywords: crash, regression X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: commit-hook@FreeBSD.org X-Bugzilla-Status: In Progress X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: markj@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="UTF-8" X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: Testing List-Archive: https://lists.freebsd.org/archives/freebsd-testing List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: freebsd-testing@freebsd.org Sender: owner-freebsd-testing@FreeBSD.org MIME-Version: 1.0 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D289930 --- Comment #3 from commit-hook@FreeBSD.org --- A commit in branch stable/15 references this bug: URL: https://cgit.FreeBSD.org/src/commit/?id=3D72c76047541ab6cc0e989a74e8de4d6e6= a1a94b6 commit 72c76047541ab6cc0e989a74e8de4d6e6a1a94b6 Author: Mark Johnston AuthorDate: 2025-11-04 14:27:33 +0000 Commit: Mark Johnston CommitDate: 2025-11-07 14:10:04 +0000 virtio: Fix polling in virtqueue_dequeue() The access of vq->vq_ring.used->idx needs to be volatile-qualified, otherwise the compiler may optimize virtqueue_poll() into an infinite loop if there is no data available upon the first poll. Prior to commit ad17789a8569 this wasn't a problem since an external function call after each poll inhibited the optimization. PR: 289930 MFC after: 3 days Sponsored by: Klara, Inc. Fixes: ad17789a8569 ("virtio: Remove the unused poll method") (cherry picked from commit f999ffdce3813eb946f10999ccffb8275c324469) sys/dev/virtio/virtqueue.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) --=20 You are receiving this mail because: You are on the CC list for the bug.=