[Bug 290920] FreeBSD 15 Regression: BHyve PCI Passthrough Broken on 15-STABLE (No GSI/Interrupt Remapping Failure)

From: <bugzilla-noreply_at_freebsd.org>
Date: Mon, 15 Dec 2025 15:44:27 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=290920

--- Comment #29 from commit-hook@FreeBSD.org ---
A commit in branch main references this bug:

URL:
https://cgit.FreeBSD.org/src/commit/?id=f1809eab82a796845f126b703c01d4a31ccf2193

commit f1809eab82a796845f126b703c01d4a31ccf2193
Author:     Bojan Novković <bnovkov@FreeBSD.org>
AuthorDate: 2025-12-13 14:53:45 +0000
Commit:     Bojan Novković <bnovkov@FreeBSD.org>
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(-)

-- 
You are receiving this mail because:
You are the assignee for the bug.