From nobody Fri Jun 14 07:43:20 2024 X-Original-To: ports-bugs@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 4W0rqY35b0z5NcZ8 for ; Fri, 14 Jun 2024 07:43:21 +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 "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4W0rqX6LM0z57Nn for ; Fri, 14 Jun 2024 07:43:20 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1718351000; a=rsa-sha256; cv=none; b=LaVX71P9XP7L6Fl7PeGp51LhFJBG2KmVWXjbJhoRfWn0kfRj9LFM2a74y0AietZS6zdOOA M5qh92MF+xendDvQSI/XBvLYLBMMAq1ZP+QhmBNtQrqKqacWj+PzDQmum2nimcI9Vustbv t5/s+F/DTOAJmqPKL8SB5dXeR+/1OWUwvngt+J1BO8MQ/Pd/+u/75HD5f5IyEZRgKR3Y4v 0et16YdKthz45Z19+nmB3ogsf0Kl7jpjz3dkOm46Z2J/MjHynyyu1Ya9XWLAEfOlY3hRMw E9MQlYxQu9GcoD00HP9HRxMb01R30Ps3QQGD3sq4rA2yBa+05dzgsinwA9pDjw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1718351000; 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; bh=0+vyddizyVkzU9QmsBv86cMLLr/JnxUOloMJ92KuHM0=; b=xtmYW7B/LZzsC56kTHDVHu4QDjELdr0+FIHMvryD+cpI4LuT8m72CUV/UCWkpObuOThobw 1xqfKL74gZcm/+SByHrVhgTz5lR3+SBUw2d82OSZes+OWCbgL35sn8iz+CnkYgs96Sl8yo 9RASe1U6Xw5+fmvmES1gGGvWRjiWKppQlfqVQuqYUbnerzPUdSUlHQaErA5L0qw4OTrFZ1 zngePwGhOOxewHn332hO/AYaEO8ETIu+9ToY4s4Ho3t5MjEsBQ45dGdEi2hxPsCTJw+mDf ZaKi6bAUfYmLfXs1ju4z84BzAwiQZ4Q8EjwXPH7kxibYgfKOpEKmFLqf//QUjA== 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 4W0rqX5wwmz19xN for ; Fri, 14 Jun 2024 07:43:20 +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 45E7hKUM004754 for ; Fri, 14 Jun 2024 07:43:20 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 45E7hKE6004751 for ports-bugs@FreeBSD.org; Fri, 14 Jun 2024 07:43:20 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: ports-bugs@FreeBSD.org Subject: [Bug 279729] virtualization/bhyve: we are forced to passthru the whole IOMMU group of a GPU and not the single slots. Date: Fri, 14 Jun 2024 07:43:20 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Many People X-Bugzilla-Who: marietto2008@gmail.com X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: ports-bugs@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: Ports bug reports List-Archive: https://lists.freebsd.org/archives/freebsd-ports-bugs List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: freebsd-ports-bugs@freebsd.org Sender: owner-freebsd-ports-bugs@FreeBSD.org MIME-Version: 1.0 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D279729 Bug ID: 279729 Summary: virtualization/bhyve: we are forced to passthru the whole IOMMU group of a GPU and not the single slots. Product: Ports & Packages Version: Latest Hardware: Any OS: Any Status: New Severity: Affects Many People Priority: --- Component: Individual Port(s) Assignee: ports-bugs@FreeBSD.org Reporter: marietto2008@gmail.com Hello. My GPU has one integrated USB controller. It is the RTX 2080 Ti and FreeBSD detect 4 slots : 02:00.0 VGA compatible controller: NVIDIA Corporation TU102 [GeForce RTX 20= 80 Ti] (rev a1) 02:00.1 Audio device: NVIDIA Corporation TU102 High Definition Audio Contro= ller (rev a1) 02:00.2 USB controller: NVIDIA Corporation TU102 USB 3.1 Host Controller (r= ev a1) 02:00.3 Serial bus controller: NVIDIA Corporation TU102 USB Type-C UCSI Controller (rev a1) So I tried to passthru only the slots 2 and 3,because I don't need to pass = the GPU itself and / or the audio slot (2/0/1),like this : -s 8:2,passthru,2/0/2 \ -s 8:3,passthru,2/0/3 \ This is what happened : Assertion failed: (mr->name =3D=3D memp->name), function unregister_mem, fi= le /usr/src/usr.sbin/bhyve/mem.c, line 344. If we want to passthru only one or two slots (like only the audio or the USB controller) that are inside the whole IOMMU group and not the whole IOMMU group,we can't do it. Can this behavior be fixed ? --=20 You are receiving this mail because: You are the assignee for the bug.=