From nobody Mon Jan 06 23:09:15 2025 X-Original-To: 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 4YRqcr3925z5kNZc for ; Mon, 06 Jan 2025 23:09:16 +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 "R11" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4YRqcq365Fz3xFv for ; Mon, 6 Jan 2025 23:09:15 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1736204955; 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=hIb3RXfmq9WFzZV/3eoHGTvppnM+lAQTTB1dHwQWSok=; b=Jsn4AwqEUg3sqw9f5+tRNTvv4+w264ZM2iFFJZ+Na96HW9WXpkxQJ2aP4GG49Hdk7hWRfJ BcybSesaaTwbXXZbCq5GRfhKKlE6PYRtDwn8mUcATFUcbgdtVOyYGoGKOM59DrVb/nYtSV /kDx746ZMQGgOH3JiuXWa2zOqUeHsPWDdEKa05TyC9iU8YADG95hdzYo/PVOKzEGjUgISv 5jDYAJU1NKlaQwZMXhSmqQr0bzr0rPeKAWDiYrBrZMeqLaMDYIRwfQ/PgExNv0nX8NbIqq CJ80bqqr8MRK8GYbTwikrBNMk0IkDY8Ez8CMgKS7a4fuBUh3euXHKPmotAJfug== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1736204955; a=rsa-sha256; cv=none; b=KDE0LD5/AaYkGiGqOhKOfGxZ14DVNJEPmJ7kAYRDtzN1J+2jeF0SXVD4RpId/MqbqnVLtc 8Z7+5UFC6sT9U7HjLhrNbqLCpaGywiv2Tng+fHQw2DixBsBzWYAyOzXMH2LATT0IwuAgzc 2dI1fupFRUS5yIKTgOMeRzpMklphe0vQr80quAubnzi/9ZVej2qfx8mksbnIWsiWDPwlL9 sFvpXoZ1sdYHncvvyvG8OLMH7Fcqjz4UA4MLuTA5QxX8LvvcXRXOhMQs2WI2NMLdOrPEzA nTgdKCovWdT/+LsFtGca7hVNtOPwUO4/V6zIzD01XpRaqnCLBvX4AwX9vb3hFQ== 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 4YRqcq23rFzl1F for ; Mon, 06 Jan 2025 23:09:15 +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 506N9Fm8042725 for ; Mon, 6 Jan 2025 23:09:15 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 506N9FnW042724 for bugs@FreeBSD.org; Mon, 6 Jan 2025 23:09:15 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: bugs@FreeBSD.org Subject: [Bug 283815] listing dev.vgapci.X.%iommu hangs indefinitely on NVIDIA card Date: Mon, 06 Jan 2025 23:09:15 +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: 14.2-RELEASE X-Bugzilla-Keywords: regression X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: kib@FreeBSD.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: bugs@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: Bug reports List-Archive: https://lists.freebsd.org/archives/freebsd-bugs List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-bugs@FreeBSD.org MIME-Version: 1.0 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D283815 --- Comment #5 from Konstantin Belousov --- The pci_get_requester() loops somewhere in the call to pci_find_cap_method(= ). The later is accessing the PCI config space directly, trying to read the he= ader and to iterate the list of the capabilities, for instance, to read PCIe cap. To further diagnose the problem, you might try to instrument pci_find_cap_method() to see which registers it tries to read. My guess is that the cap read cycle gets something like 0xff as the offset of the next capability and then loops bac= k. --=20 You are receiving this mail because: You are the assignee for the bug.=