From nobody Tue Nov 4 14:36:44 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 4d19y42DJ2z6G9dD for ; Tue, 04 Nov 2025 14:36:44 +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 4d19y40YZ5z3F1m for ; Tue, 04 Nov 2025 14:36:44 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1762267004; 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=wcgWPdaqnb19zYRv1VA5mjoyU3bJE8dxfj/veHskkHw=; b=jOjrJodr1mVZ9PFbO7v0m6SqQf4BWMv9uYmCh8wbDIjpNzgTltCciIkTQcW9p4xrDP8TmQ ULGKzECt04SvWGseWrBrNACZxIYBjR4FtlXeTAXMBkpUyxXm8y0Qi+acZUDRDNblBRAtKS cQHb4o1v6CiRKN44yZH5djW+CbDIpI9DbOKWbal9zdJ7knbHoR3huMRjoi7tTyMrr9pwaK suflNqStmjgIpIybRF3rBGvoAO1gzzcklhYkjo3wny1cIigFdt16uwLPnoUOKJVeUfAqJS Bo+NKdPRLvS8AZzUA1TZwqPDE6aYYCxbNglkBp9atYOhXPBQx8jG6OeFdI7+Qg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1762267004; 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=wcgWPdaqnb19zYRv1VA5mjoyU3bJE8dxfj/veHskkHw=; b=NWLJUPfMKne6BLHGofnHORv+yJ0rOUVvBCGGOrNfgAQAUZCIG0ETL/2K6NQkNwqlNpC7fW RI+Ropqu9FmAeN7TjVZ3xt5Eaxk3zsFg4+bmyuuf/fZFiBGHZc8PPeYyQhO42fflH1lvoK cpOMk6iehp7nwB/mwih6UK4Wp14l/4MQhd3GV61xTz6En21LCDGxQdd6PhtBfzchnx5oyu nK4SVbG4WoSeZhM08MaTTZGfuVtJUVf/RoZA5XWNYGSrw5yfYOQfPwsjGuhC1Mq0RxZbsg NZiDFI+Mlu8PKkLeWPo4k6SVC0RZ9rMbttpYaXtdbxAwlCCp4enBgRyFWNeqwA== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1762267004; a=rsa-sha256; cv=none; b=WH5HgSmelWWsgQCjhhlBOYh0WePrgYaCEY0w4YWaA5xKXEq3Bo4viFw25Q0aKhNVKl8pAw 4CHYRItWdBpkU1vR2Djft5CeZhEM2vmCWnQ2isgnIhcfI1kYIJWutxyR9fS3llLamD7TwI SawAnFAfXX3I5bXx0Ra4kARc3DHjhsP7+0b7bzPmyNJUVsCaTweClt2DW/grz+/MU2iJZt A2xyLjqZICwg5nTsSrXQ7q4psIyhPMELDQvGf7YwBQuxnP+Crvb7IT4KCJH9VHhUQRukDv tchhvXp7EIfoq8dYJ0A96rMmr/i9KlK8eO/MRws+NZqKsdwFo8p/VXLnc1kYAg== 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 4d19y372r1z11LP for ; Tue, 04 Nov 2025 14:36:43 +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 5A4Eahgs013790 for ; Tue, 4 Nov 2025 14:36:43 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from bugzilla@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 5A4EahQV013787 for testing@FreeBSD.org; Tue, 4 Nov 2025 14:36:43 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: Tue, 04 Nov 2025 14:36:44 +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: Open X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: Andrew@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 #2 from commit-hook@FreeBSD.org --- A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/src/commit/?id=3Df999ffdce3813eb946f10999ccffb8275= c324469 commit f999ffdce3813eb946f10999ccffb8275c324469 Author: Mark Johnston AuthorDate: 2025-11-04 14:27:33 +0000 Commit: Mark Johnston CommitDate: 2025-11-04 14:35:31 +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") 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.=