From nobody Thu Aug 14 15:26:25 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 4c2pxF3vTJz64clQ for ; Thu, 14 Aug 2025 15:26:25 +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 "R10" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4c2pxF2rd2z3DYB for ; Thu, 14 Aug 2025 15:26:25 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1755185185; 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=siecD2+ZxUjRRprOFfR4m9HN2uZYMTTucjky3MxhzNM=; b=o+u+hEnGnwsUs+s/8exCHJmCF+UR19382eVS5lpRR6EaMYNbH1agKAuLzBsBc/UY3hf/iD qkabowAFhgg2XwqRqpl0SyvlKOZX6lklRgHE0wzasbXnMubrpbx26U0Oh3P/eHC4eRdeRR cadpW9TaIos/yr9Q9hjx0dyM7OX0aU95aKmMs/dJiEvvO215vQuTxhfW3VimTCWhmz4m+o PeYIC3/WGxpYlbVeRHg8cek/wx+/g/CX5qL32FdgUak/csJUZeP12eVNa9hYsr0KIDHsqJ Hir/lj4FXfZF4N6OvU/TVp9/hCx2wwME1mHx62TiFgmsHQid/EudoUf+3mRdQA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1755185185; 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=siecD2+ZxUjRRprOFfR4m9HN2uZYMTTucjky3MxhzNM=; b=dCR/zTmXs9FTof9MKwxciyBOIXHM0+q2Z4CPyOet58fJbTvLMaKQBR22V4LQI+DBYAAZSi 8Q/IvA1KHhmrRIURTSHURHJmsX1W0qKA0BKBSudDSoqKfPkbXSLXobBHoT4/hpiOf1pELi +9PJGySuX4vXvve5bdtE3SABFJLyzKhIFqMiPqNHfDM4vXzJpzTfEZF8C9xM4tNZDeKyCT yhjKWT3v+vdHjImAbvB+ui7bhNcsDuh2DHokYKropHCwOVb2WAmvJVNzmC1xsuC2N7Kb4d 6bDlFyM7Cz4p88cAbccVZMoAy8A6wQyuaO0a5c0kLJTtsp5zDuIkvMtTf6NPdA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1755185185; a=rsa-sha256; cv=none; b=sQljb2XvV+DhtvgqvomTpVozs/ixkYbjltqSPRzKBaElc2LScRrKQF8IiUDfQ3o+gjCAxk hdh1s7qFnMTrF0vJCcGS9IIbVufKnmAY3orc6QTACJ0yWD+QVN6TFZdrLH0h0hBDDbyguR Pj/uR5R11lydt3zmpUmZGrFuw2WN3E3W2F7DjS3Nq9NlIBJa73ld3+Mc4IITZfvPgAyiQp yLTQ7x/tRuN5deqwZwVjj5yRILpo2QcY/9w0SI0tL5tG5ArY41OG59LpPfXoLnU5ki1kIu 5teyqTP5AsfUuKgdEmUQE4STigmJ36ZmL0JD0qtFFxDzcyAJR5Fs/kJxiTjSdw== 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 4c2pxF2PKdzyRb for ; Thu, 14 Aug 2025 15:26:25 +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 57EFQP2N072176 for ; Thu, 14 Aug 2025 15:26:25 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 57EFQPNa072175 for virtualization@FreeBSD.org; Thu, 14 Aug 2025 15:26:25 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: virtualization@FreeBSD.org Subject: [Bug 288848] bhyve GPU passthru for NVIDIA not working Date: Thu, 14 Aug 2025 15:26:25 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: bhyve X-Bugzilla-Version: 14.3-STABLE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Many People X-Bugzilla-Who: vincent@landgrafx.de X-Bugzilla-Status: New 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=3D288848 --- Comment #5 from Vincent --- + +static int +nvidia_gpu_init(struct pci_devinst *const pi, nvlist_t *const nvl __unused) +{ + pci_set_cfgdata8(pi, PCIR_INTPIN, 1); + + return (0); +} + +static struct passthru_dev nvidia_gpu =3D { + .probe =3D nvidia_gpu_probe, + .init =3D nvidia_gpu_init, +}; +PASSTHRU_DEV_SET(nvidia_gpu); + --=20 You are receiving this mail because: You are the assignee for the bug.=