From nobody Fri Nov 7 23:12:49 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 4d3FGB3JQSz6DmgM for ; Fri, 07 Nov 2025 23:12:50 +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 4d3FGB1NFSz3bx8 for ; Fri, 07 Nov 2025 23:12:50 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1762557170; 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=spNkWqfaiW+Yenie1r2GP3FG0NTzBzX0FZte5GQI+CM=; b=U8dhokXYwnWodHTOv4jOuwxqCTdEvb4+uShd4pBx/KEX9+rRmjJBhaS2i1Bo3SokETA5kh pBgvgn2I6I5N0h+/GlrNqNVrF5exA3k3cWUO/CwNwyuyOilqwW4IBMF56lzlDqnlQGoQxA E844+W/czGx1hOhkkd2MZB+MLui/813nlLpnGeDiVvWCs2xlDl8dDzzezdALqBbNnHzpUp 0f1fZ5OHcRpglukzNezsvHK0Ja8WVTxKasAZGTzP9dFLYB497ZJh+ajxmXZn7pFrIaK/Ku DhH1zVrvXfkhPMBaQ+BIi1MHYPZu0/FTEd0JrWqIiAO/dvTfnxvKteYrBJVPSA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1762557170; 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=spNkWqfaiW+Yenie1r2GP3FG0NTzBzX0FZte5GQI+CM=; b=FJeiXYcT7vgwkyaeLVxjcJh1UwgS2Mvwp8ScNNVGamI3J7ipjrrzN90Zi4DE8a6im3T+CG m7nv5K65Znq19PHIntQ/auVv8P+4enfBNhfQAgEth3zTZwLJPW1DUjDWyFvM7vdJPkQdTg WFLbOzxve52gM43SoBGovAoq9H75kDJo4udP8d2kSZEaF8/1YmlGdEmMrhJ0mF0vGu0Mi/ ydsSMdd/t78s9/4nKj063RHutVbvBO9aYMWghn+/oxA+feWBxrz0EcTFj1rUoCaOKgkcaB +NaTNvt9Rd66Vdp/aF5IZr3EG0xfAM5qS72uF6ZjF4+7qcd89rbZOXdjk8cB3Q== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1762557170; a=rsa-sha256; cv=none; b=lVc1Lohmt2Zvcg/6n/fuo+SLf2Fhoox6ETA+1hsve/LJQZ7c0/U8wInGBqsf2cyPTAFhNa TGLkwjHN9n12R742lpgA+/LbKMt3NBdu29etSkaGA4ypSKAIPoWITcGW+C3OQ5tZ/he7NK ifDi4cGOQOMTv9uZvh3Ed9d2sOMb3OI3ZRQLgWdRbvZcR+fsF/4Owz5Sh4EqdpD3XQDZhb Kcxg4jqSpyXeXhLIr6ER2S9rk829Pj7bEkOwypHM+l68HNJVNGlE2sVFD4mTBX3XwlNjsv NTS3Qb6IRSwxeXrfEAXeP6EH0PyNrhmHAs//d2NBIATpKiY6tYK12vLKjnKdow== 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 4d3FGB0mwnz4JX for ; Fri, 07 Nov 2025 23:12:50 +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 5A7NCn7s096500 for ; Fri, 7 Nov 2025 23:12:49 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from bugzilla@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 5A7NCn4e096499 for testing@FreeBSD.org; Fri, 7 Nov 2025 23:12:49 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 23:12:49 +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 #4 from commit-hook@FreeBSD.org --- A commit in branch releng/15.0 references this bug: URL: https://cgit.FreeBSD.org/src/commit/?id=3D69c726c150772c36854d38e51b6fd921a= 04caea5 commit 69c726c150772c36854d38e51b6fd921a04caea5 Author: Mark Johnston AuthorDate: 2025-11-04 14:27:33 +0000 Commit: Colin Percival CommitDate: 2025-11-07 23:12:02 +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. Approved by: re (cperciva) PR: 289930 MFC after: 3 days Sponsored by: Klara, Inc. Fixes: ad17789a8569 ("virtio: Remove the unused poll method") (cherry picked from commit f999ffdce3813eb946f10999ccffb8275c324469) (cherry picked from commit 72c76047541ab6cc0e989a74e8de4d6e6a1a94b6) 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.=