From nobody Mon Dec 15 15:44:27 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 4dVPWH3syVz6Kv9H for ; Mon, 15 Dec 2025 15:44:27 +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 4dVPWH3Q5Mz3cZx for ; Mon, 15 Dec 2025 15:44:27 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1765813467; 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=Mg6MgDx1kR+zbcRMWcJ7FztNmB+3a7yepajmF7ZWcgQ=; b=JaEUiL3yQIYTQI7zVEDmUekFobC+GA4Sk8CKSv8rUfFv9gpEWQNqpiqRXoxOT97+AryXIX m/bmYZ7T38XH4CuUQPMGqfrFly9oUnYF9VsBm9AhFsihJRQL+WdJE48aaXX9eHewq6CbFC QS8397pIDKKcX1CBewye1Av4FLCtnPHlZ6qgu0dX+qHMAH3KsxK7bPGDqx6ha8k3urdl+K KiYpVPHf/r7h+aEWuZd1DSgual7pXJ+9qZd+Ex44HkTf4T76gILTD/eqM7PQXDzemw8Ytj a8BVuvvjfblaGYXzkvj/UYVE9P1mNvFmFpNoDSUnTLVFSxT0OuUd5DfnWrdKhg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1765813467; 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=Mg6MgDx1kR+zbcRMWcJ7FztNmB+3a7yepajmF7ZWcgQ=; b=j6ZJdu7ziyvLE7lMS/EzX2XK74rde3EsF9fCRptecpm4sfzbGp22O++SaLFbpyEVTFxm0l wwVcER8glGAm6l04/l/bWC6tUI5+X7KIPKej1CHhXFzsk/Q5LDf3PJylfunGHvI11yN0px sIJ6V8g35qVXZwTajrwO+niF+ktVuhvBgB0poKjYMeZD9aCLn/55ZXo6EHtgEqZhdne2j9 MgAo6jX9sjjXKTCIWbIr6j+UuOpfNMQsh7WeIrdax2lCLuFdIxlgWix1UZg64g+TdG2Lmg n0yGwGAulDLnU1YLo2N27BixSXxz8GkABgATYEiYriJOu38ukOqokCSCMmMdkQ== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1765813467; a=rsa-sha256; cv=none; b=gRFE0fV+xHsNbz5KfBLSv0FBJpuoq35fF7awNJ7ReHbCsBVbLwQY6oOfvakGJtEJmppppl pt3OUjO/nvY8kOnI2bXf2GsR/tj1delX3q+0AtkHFZ1hNOHnXCcK74aUcLQD0xiCYlCJpr kMxSK256no6yRQ4fhjhwde/Is08djYK4LXKhq0nrrmXcGVhfyDjE4EY646DsZJhexwPaSs B6vhV5o+ErmXKV23AxMtx5nXHOYJpS/OfWvRpFXScvXcAzysAIAu8OGEvzyc0cPaU+A45o ZMnW2/Kv22exbkg788ASI6hLMmgsy+tHns7s3XZO3oTQNOefYb4MZbfftbwUiw== 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 4dVPWH2ymnz9mx for ; Mon, 15 Dec 2025 15:44:27 +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 5BFFiRxT099024 for ; Mon, 15 Dec 2025 15:44:27 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from bugzilla@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 5BFFiRF8099023 for virtualization@FreeBSD.org; Mon, 15 Dec 2025 15:44:27 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:44:27 +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 #29 from commit-hook@FreeBSD.org --- A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/src/commit/?id=3Df1809eab82a796845f126b703c01d4a31= ccf2193 commit f1809eab82a796845f126b703c01d4a31ccf2193 Author: Bojan Novkovi=C4=87 AuthorDate: 2025-12-13 14:53:45 +0000 Commit: Bojan Novkovi=C4=87 CommitDate: 2025-12-15 15:41:57 +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 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.=