From nobody Fri Apr 22 13:45:32 2022 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 C8F371A8CD1A for ; Fri, 22 Apr 2022 13:45:32 +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 4KlFzJ3Z1wz3lJP for ; Fri, 22 Apr 2022 13:45:32 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) 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 578171E25F for ; Fri, 22 Apr 2022 13:45:32 +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 23MDjWne093770 for ; Fri, 22 Apr 2022 13:45:32 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 23MDjW6E093769 for bugs@FreeBSD.org; Fri, 22 Apr 2022 13:45:32 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 263469] PCI class 0x13 (instrumentation) not given a name Date: Fri, 22 Apr 2022 13:45:32 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: 13.1-STABLE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: jfc@mit.edu X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: 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 attachments.created 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: 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 ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1650635132; 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=7wXrtOBrpRGbCbU5PE/gKhmmRPNSNCViVOcbWVXo47g=; b=UmK3YOatoAnsc9sF1iEEnmz5dACaH9EsoMD9/fiOugXLYZdqXlzzpBy7A6rSuSv5+9wAIZ 7uwrnGWg2FD3Q6seuC8iHqDPZRYlT8cWHf0goTk1AXxq5Od0jXELCY2iHa+0nEjIo7iQXo WBYc+2aZSYMKvfPyQIt3DOgP5yD7utJg+f4CtHurTddAbxVzWMMfQjPV99x9Ru4wOpdboi gh1WdH2DVLs8duAhvZQnsbEK8i3jNmauezn45tv8uHpN/aLI8mk7oY3agM8NB8WsTiQHef 1QA9GEj1xzRKY0L2lbhL4B2fBvaMERmuBpY+4zsKv/m1iyexgA9XWg41sKBKGw== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1650635132; a=rsa-sha256; cv=none; b=a3SuE+D7My1jw6Bgj059GPZ6AsCbb2837lm//FG57942+9oaLBUN/b1e/RNXym0xsrcUE+ QOf/HoW4aAUNvAM8AeLHyD+WSI55aoK4JdHRts0nPq5xzO8OD0AyfNMC6CpeRSDBBZ6jlL rpw4ctpPVKMb9yod7BxqnUkynPGFbWV7DhSuW4qiJ7DWceJ4+226E+U1rLaBP5XJW/FbMd /Li2VUpB9WecGTmTpGOx9cldIo8aBRyzxjs/5Mdb7X96zVBMzru86TA27btEn593TiURyw v84iUhN3klcM8Q7TXWRZbmht1HF4WC7bsbIGgWeHLL0dNcqw9yXl0l7MTuGR8w== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D263469 Bug ID: 263469 Summary: PCI class 0x13 (instrumentation) not given a name Product: Base System Version: 13.1-STABLE Hardware: Any OS: Any Status: New Severity: Affects Only Me Priority: --- Component: kern Assignee: bugs@FreeBSD.org Reporter: jfc@mit.edu Created attachment 233395 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D233395&action= =3Dedit Recognize class 0x13 as instrumentation I attached a patch to give a correct name to PCI device class 0x13 when no driver attaches. While scanning devices my AMD server (HPE ProLiant DL325, AMD EPYC 7402P) reports pci4: at device 0.0 (no driver attached) pci5: at device 0.0 (no driver attached) pci8: at device 0.0 (no driver attached) pci9: at device 0.0 (no driver attached) pci13: at device 0.0 (no driver attached) pci14: at device 0.0 (no driver attached) pci17: at device 0.0 (no driver attached) pci18: at device 0.0 (no driver attached) These "unknown" class devices come in pairs with an encrypt/decrypt device, reported by pciconf as none8@pci0:130:0:0: class=3D0x130000 rev=3D0x00 hdr=3D0x00 vendor=3D0x1= 022 device=3D0x148a subvendor=3D0x1022 subdevice=3D0x148a vendor =3D 'Advanced Micro Devices, Inc. [AMD]' device =3D 'Starship/Matisse PCIe Dummy Function' class =3D non-essential instrumentation none9@pci0:130:0:2: class=3D0x108000 rev=3D0x00 hdr=3D0x00 vendor=3D0x1= 022 device=3D0x1498 subvendor=3D0x1022 subdevice=3D0x1498 vendor =3D 'Advanced Micro Devices, Inc. [AMD]' device =3D 'Starship/Matisse PTDMA' class =3D encrypt/decrypt With my patch I see pci18: at device 0.0 (no driver attached) --=20 You are receiving this mail because: You are the assignee for the bug.=