From nobody Mon Dec 15 15:47:33 2025 X-Original-To: virtualization@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 4dVPZs46Chz6KvCt for ; Mon, 15 Dec 2025 15:47:33 +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 4dVPZs3dQTz3dB9 for ; Mon, 15 Dec 2025 15:47:33 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1765813653; 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=750G0GFx16Ty/IE2b0ku/hVJVLYbWoDm7hwUTnMCf88=; b=mi2Xwae5P3LZMnR77Fbx4B+5xVui2nIYSH/Bj8OLY7cPEMiSCC5wyT5zzI7550L3B9pAxm pwG2gCKDJtp+6zAOG7VG5e4BZtX54qJNGbi6zeJVpQNNwD5l8+GYI/rChy9r0MmH3/mZC3 d+93HrI98C63kY6mOLMtkl3QWIyCuFydQ3BLJRU/xr4FXPzitDo/5uOFW06v8YmadfBhAh RjZXF4KHAnRpLyZLAAsvSqEwHK9ADyW4muEsNxzFyjKidEp/w974h+UFG2WnnqMHUhz4h7 99OMdlbfpn9ob1Y4ofKMAi9nktwdkYEAu+8VbExPmZnvHD0vNc5WgggInmz/fA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1765813653; 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=750G0GFx16Ty/IE2b0ku/hVJVLYbWoDm7hwUTnMCf88=; b=wJvLwHpgvaMhVqq7GxVR3CFl2yxQLqPLvle2c8gJqzVPTmKtQUS2TinIBIzTFx50ZbaBI/ YC8f4UMpIODH1zfdyazX8rH1F0j3PPu8NbNJckJ729mUbEv0E0LUBz84e+bwJkA6rymC4S bZoJLePsCR16Wi2mm5ispzTbTb+zyJM0mRYl5vY1c2gqhOYSAXZphuWC3XCycNK3/LHjB1 Z5K0amRlCvdGcFHpmaMEbsf2Fh9mC7xwmlS09lUfLDR1GJPAoyUkNITRO9YZMwlCLHdJA9 bsv45Ieq5WdylD0Sm4NOOTOr6QpNmN879nGcX6bu9L7dNNt49/oScUuvo4zW3Q== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1765813653; a=rsa-sha256; cv=none; b=hmmZSIKQvjGLMVXX5H7hZlpoc0y9vHF5K1hp2CHCCsko05qrGiFeYj0Y1ZLPmS2NudYXGO D7ybL2KFkVGKRHEjghgD1PbdBbbEbsVm0SBAoWGGjoNHBWQKcwfggdL8tyyD5vrypLDbhs NIOOAJGYTdux9Vv/Nso2FEdMMKvkiOnh//ptN+OP0oEE7ZSEu8iLSRkaNPYB8+0peUNLxY 0DFk3M9jJGkGjpZ/ZcyBStelXLTvOZz9dXyBcAaQohTMNo/OqZULJDbKPFWkTVE2hNeFNk AopsBRgcawpRxN2LitlOXtyHbuyLq9IKzco38d8j33c2XTZQh65TLeEr6xOkcA== 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 4dVPZs34Txz9Jm for ; Mon, 15 Dec 2025 15:47:33 +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 5BFFlXHo000557 for ; Mon, 15 Dec 2025 15:47:33 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from bugzilla@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 5BFFlXxB000556 for virtualization@FreeBSD.org; Mon, 15 Dec 2025 15:47:33 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: virtualization@FreeBSD.org Subject: [Bug 290920] FreeBSD 15 Regression: BHyve PCI Passthrough Broken on 15-STABLE (No GSI/Interrupt Remapping Failure) Date: Mon, 15 Dec 2025 15:47:33 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: 15.0-STABLE X-Bugzilla-Keywords: regression, uefi X-Bugzilla-Severity: Affects Many People X-Bugzilla-Who: commit-hook@FreeBSD.org X-Bugzilla-Status: Open X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: virtualization@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: Discussion List-Archive: https://lists.freebsd.org/archives/freebsd-virtualization List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: freebsd-virtualization@freebsd.org Sender: owner-freebsd-virtualization@FreeBSD.org MIME-Version: 1.0 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D290920 --- Comment #30 from commit-hook@FreeBSD.org --- A commit in branch stable/15 references this bug: URL: https://cgit.FreeBSD.org/src/commit/?id=3D4f7436bf297b93fd9e835ffca3d56288c= e934dc5 commit 4f7436bf297b93fd9e835ffca3d56288ce934dc5 Author: Bojan Novkovi=C4=87 AuthorDate: 2025-12-13 14:53:45 +0000 Commit: Bojan Novkovi=C4=87 CommitDate: 2025-12-15 15:47:00 +0000 amd64/vmm.c: Fix an incorrect memory segment check in vm_iommu_{un}map This change fixes two checks that conflated memory mapping and memory segment idenitifers. In both cases the code iterates over all memory mappings but passes the index to `vm_memseg_sysmem`, which is wrong. Fix this by passing the memory mapping's segment identifier instead. Differential Revision: https://reviews.freebsd.org/D54210 Reviewed by: markj Fixes: c76c2a19ae37 PR: 290920 (cherry picked from commit f1809eab82a796845f126b703c01d4a31ccf2193) sys/amd64/vmm/vmm.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) --=20 You are receiving this mail because: You are the assignee for the bug.=