From nobody Thu Apr 20 12:44:07 2023 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 4Q2HQv5qztz462cN for ; Thu, 20 Apr 2023 12:44:07 +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 4Q2HQv3wXRz49kf for ; Thu, 20 Apr 2023 12:44:07 +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=1681994647; 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=xHbMDxe8RyotdIWaSvoIbPvBMlKoOAMhed4i8aXhqi8=; b=xQBCkRIGPl0XrnYH6uHMjLhpt5mDnjAlbmNX8bnoG6499PDp23kuXdxFUtEmtwqXHvz0v5 k72dpdvanha60tt2ymY14H7hE2P6vzjr2HEvBkqte/4K+BjNPrnz+zGDaLlI0cXq7z4H+r e9WN37sAOt5rKgXLU8XtQzNgl0k8xN6v182z2Zsx7at6Fm43u53c2ba6IjH5Ayxbf2XMac dGqjSCe8sGwkdVV6M3caVwQPPCILora6RHJanGpXJXufuD9DJnXlooqV4pl2JiaBNaXeYq qyJIfaU5cOtpzNEUYV+EpWHMyzMXP1ULjXQjzlTCm/voW6LHHj9Spi8OiVvtug== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1681994647; a=rsa-sha256; cv=none; b=TxzXyOF7pS9t6Uc5F9aAayJCh/MToujwf1mdGPgWs8oCWS+VuumRIqav/0oRYm6wcTLQbT OL97+fMqUiXesGPdSsL0AMwyV9gcVtN+vN0WZU4P0ubTzO6hL0rb7PYCBTA8XUzDXHFzSJ 97bepbxeHLswH1HaUPY34jX21P0l59/hbohs4AAKwejcIHUn9nK0Unc+2PKUi+Ja0T41g+ mhooSPm5sBkNnU1zIMxv4EvoxmewRAjGbo9gd3+KHPa/XRstA94jwPuxaxEOaDEz+JGAoo kQKew9HV3ZaX3mL4Q+Z8cGIlRDhp8yIPAOgaXQ53pyohn2YzHZ/4WOaVMTj3Nw== 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 4Q2HQv2ljgzddw for ; Thu, 20 Apr 2023 12:44:07 +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 33KCi7jf028168 for ; Thu, 20 Apr 2023 12:44:07 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 33KCi74E028166 for bugs@FreeBSD.org; Thu, 20 Apr 2023 12:44:07 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 269874] pciconf mislabels "modern" virtio devices as "old" Date: Thu, 20 Apr 2023 12:44:07 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: bin X-Bugzilla-Version: CURRENT X-Bugzilla-Keywords: needs-qa X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: freebsd@igalic.co X-Bugzilla-Status: Open 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-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 X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D269874 --- Comment #5 from Mina Gali=C4=87 --- here's lspci -v from an ubuntu jammy machine in the same setup: 00:00.0 Host bridge: Intel Corporation 82G33/G31/P35/P31 Express DRAM Controller Subsystem: Red Hat, Inc. QEMU Virtual Machine Flags: bus master, fast devsel, latency 0 00:01.0 PCI bridge: Red Hat, Inc. QEMU PCIe Root port (prog-if 00 [Normal decode]) Flags: bus master, fast devsel, latency 0, IRQ 21 Memory at c1a49000 (32-bit, non-prefetchable) [size=3D4K] Bus: primary=3D00, secondary=3D01, subordinate=3D01, sec-latency=3D0 I/O behind bridge: 0000e000-0000efff [size=3D4K] Memory behind bridge: c1800000-c19fffff [size=3D2M] Prefetchable memory behind bridge: 0000000800000000-00000008000fffff [size=3D1M] Capabilities: Kernel driver in use: pcieport 00:01.1 PCI bridge: Red Hat, Inc. QEMU PCIe Root port (prog-if 00 [Normal decode]) Flags: bus master, fast devsel, latency 0, IRQ 21 Memory at c1a48000 (32-bit, non-prefetchable) [size=3D4K] Bus: primary=3D00, secondary=3D02, subordinate=3D02, sec-latency=3D0 I/O behind bridge: 0000d000-0000dfff [size=3D4K] Memory behind bridge: c1600000-c17fffff [size=3D2M] Prefetchable memory behind bridge: 0000000800100000-00000008001fffff [size=3D1M] Capabilities: Kernel driver in use: pcieport 00:01.2 PCI bridge: Red Hat, Inc. QEMU PCIe Root port (prog-if 00 [Normal decode]) Flags: bus master, fast devsel, latency 0, IRQ 21 Memory at c1a47000 (32-bit, non-prefetchable) [size=3D4K] Bus: primary=3D00, secondary=3D03, subordinate=3D03, sec-latency=3D0 I/O behind bridge: 0000c000-0000cfff [size=3D4K] Memory behind bridge: c1400000-c15fffff [size=3D2M] Prefetchable memory behind bridge: 0000000800200000-00000008002fffff [size=3D1M] Capabilities: Kernel driver in use: pcieport 00:01.3 PCI bridge: Red Hat, Inc. QEMU PCIe Root port (prog-if 00 [Normal decode]) Flags: bus master, fast devsel, latency 0, IRQ 21 Memory at c1a46000 (32-bit, non-prefetchable) [size=3D4K] Bus: primary=3D00, secondary=3D04, subordinate=3D04, sec-latency=3D0 I/O behind bridge: 0000b000-0000bfff [size=3D4K] Memory behind bridge: c0000000-c08fffff [size=3D9M] Prefetchable memory behind bridge: 0000000800300000-00000008003fffff [size=3D1M] Capabilities: Kernel driver in use: pcieport 00:01.4 PCI bridge: Red Hat, Inc. QEMU PCIe Root port (prog-if 00 [Normal decode]) Flags: bus master, fast devsel, latency 0, IRQ 21 Memory at c1a45000 (32-bit, non-prefetchable) [size=3D4K] Bus: primary=3D00, secondary=3D05, subordinate=3D05, sec-latency=3D0 I/O behind bridge: 0000a000-0000afff [size=3D4K] Memory behind bridge: c1200000-c13fffff [size=3D2M] Prefetchable memory behind bridge: 0000000800400000-00000008004fffff [size=3D1M] Capabilities: Kernel driver in use: pcieport 00:01.5 PCI bridge: Red Hat, Inc. QEMU PCIe Root port (prog-if 00 [Normal decode]) Flags: bus master, fast devsel, latency 0, IRQ 21 Memory at c1a44000 (32-bit, non-prefetchable) [size=3D4K] Bus: primary=3D00, secondary=3D06, subordinate=3D06, sec-latency=3D0 I/O behind bridge: 00009000-00009fff [size=3D4K] Memory behind bridge: c1000000-c11fffff [size=3D2M] Prefetchable memory behind bridge: 0000000800500000-00000008006fffff [size=3D2M] Capabilities: Kernel driver in use: pcieport 00:01.6 PCI bridge: Red Hat, Inc. QEMU PCIe Root port (prog-if 00 [Normal decode]) Flags: bus master, fast devsel, latency 0, IRQ 21 Memory at c1a43000 (32-bit, non-prefetchable) [size=3D4K] Bus: primary=3D00, secondary=3D07, subordinate=3D07, sec-latency=3D0 I/O behind bridge: 00008000-00008fff [size=3D4K] Memory behind bridge: c0e00000-c0ffffff [size=3D2M] Prefetchable memory behind bridge: 0000000800700000-00000008008fffff [size=3D2M] Capabilities: Kernel driver in use: pcieport 00:01.7 PCI bridge: Red Hat, Inc. QEMU PCIe Root port (prog-if 00 [Normal decode]) Flags: bus master, fast devsel, latency 0, IRQ 21 Memory at c1a42000 (32-bit, non-prefetchable) [size=3D4K] Bus: primary=3D00, secondary=3D08, subordinate=3D08, sec-latency=3D0 I/O behind bridge: 00007000-00007fff [size=3D4K] Memory behind bridge: c0c00000-c0dfffff [size=3D2M] Prefetchable memory behind bridge: 0000000800900000-0000000800afffff [size=3D2M] Capabilities: Kernel driver in use: pcieport 00:02.0 PCI bridge: Red Hat, Inc. QEMU PCIe Root port (prog-if 00 [Normal decode]) Flags: bus master, fast devsel, latency 0, IRQ 22 Memory at c1a41000 (32-bit, non-prefetchable) [size=3D4K] Bus: primary=3D00, secondary=3D09, subordinate=3D09, sec-latency=3D0 I/O behind bridge: 00006000-00006fff [size=3D4K] Memory behind bridge: c0a00000-c0bfffff [size=3D2M] Prefetchable memory behind bridge: 0000000800b00000-0000000800cfffff [size=3D2M] Capabilities: Kernel driver in use: pcieport 00:1f.0 ISA bridge: Intel Corporation 82801IB (ICH9) LPC Interface Controll= er (rev 02) Subsystem: Red Hat, Inc. QEMU Virtual Machine Flags: bus master, fast devsel, latency 0 00:1f.2 SATA controller: Intel Corporation 82801IR/IO/IH (ICH9R/DO/DH) 6 po= rt SATA Controller [AHCI mode] (rev 02) (prog-if 01 [AHCI 1.0]) Subsystem: Red Hat, Inc. QEMU Virtual Machine Flags: bus master, fast devsel, latency 0, IRQ 49 I/O ports at 1040 [size=3D32] Memory at c1a40000 (32-bit, non-prefetchable) [size=3D4K] Capabilities: Kernel driver in use: ahci Kernel modules: ahci 00:1f.3 SMBus: Intel Corporation 82801I (ICH9 Family) SMBus Controller (rev= 02) Subsystem: Red Hat, Inc. QEMU Virtual Machine Flags: bus master, fast devsel, latency 0, IRQ 10 I/O ports at 1000 [size=3D64] 01:00.0 Unclassified device [00ff]: Red Hat, Inc. Virtio memory balloon (rev 01) Subsystem: Red Hat, Inc. Virtio memory balloon Physical Slot: 0 Flags: bus master, fast devsel, latency 0, IRQ 21 Memory at 800014000 (64-bit, prefetchable) [size=3D16K] Capabilities: Kernel driver in use: virtio-pci 01:00.1 Unclassified device [00ff]: Red Hat, Inc. Virtio RNG (rev 01) Subsystem: Red Hat, Inc. Virtio RNG Physical Slot: 0 Flags: bus master, fast devsel, latency 0, IRQ 21 Memory at 800010000 (64-bit, prefetchable) [size=3D16K] Capabilities: Kernel driver in use: virtio-pci 01:00.2 Keyboard controller: Red Hat, Inc. Virtio input (rev 01) Subsystem: Red Hat, Inc. Virtio input Physical Slot: 0 Flags: bus master, fast devsel, latency 0, IRQ 21 Memory at c1807000 (32-bit, non-prefetchable) [size=3D4K] Memory at 80000c000 (64-bit, prefetchable) [size=3D16K] Capabilities: Kernel driver in use: virtio-pci 01:00.3 Input device controller: Red Hat, Inc. Virtio input (rev 01) Subsystem: Red Hat, Inc. Virtio input Physical Slot: 0 Flags: bus master, fast devsel, latency 0, IRQ 21 Memory at c1806000 (32-bit, non-prefetchable) [size=3D4K] Memory at 800008000 (64-bit, prefetchable) [size=3D16K] Capabilities: Kernel driver in use: virtio-pci 01:00.4 Communication controller: Red Hat, Inc. Virtio socket (rev 01) Subsystem: Red Hat, Inc. Virtio socket Physical Slot: 0 Flags: bus master, fast devsel, latency 0, IRQ 21 Memory at c1805000 (32-bit, non-prefetchable) [size=3D4K] Memory at 800004000 (64-bit, prefetchable) [size=3D16K] Capabilities: Kernel driver in use: virtio-pci 01:00.5 Communication controller: Red Hat, Inc. Virtio console (rev 01) Subsystem: Red Hat, Inc. Virtio console Physical Slot: 0 Flags: bus master, fast devsel, latency 0, IRQ 21 Memory at c1804000 (32-bit, non-prefetchable) [size=3D4K] Memory at 800000000 (64-bit, prefetchable) [size=3D16K] Capabilities: Kernel driver in use: virtio-pci 01:00.6 USB controller: Red Hat, Inc. QEMU XHCI Host Controller (rev 01) (prog-if 30 [XHCI]) Subsystem: Red Hat, Inc. QEMU XHCI Host Controller Physical Slot: 0 Flags: bus master, fast devsel, latency 0, IRQ 10 Memory at c1800000 (64-bit, non-prefetchable) [size=3D16K] Capabilities: 02:00.0 SCSI storage controller: Red Hat, Inc. Virtio SCSI (rev 01) Subsystem: Red Hat, Inc. Virtio SCSI Physical Slot: 0-1 Flags: bus master, fast devsel, latency 0, IRQ 21 Memory at c1600000 (32-bit, non-prefetchable) [size=3D4K] Memory at 800100000 (64-bit, prefetchable) [size=3D16K] Capabilities: Kernel driver in use: virtio-pci 03:00.0 Unclassified device [0002]: Red Hat, Inc. Virtio filesystem (rev 01) Subsystem: Red Hat, Inc. Virtio filesystem Physical Slot: 0-2 Flags: bus master, fast devsel, latency 0, IRQ 21 Memory at c1401000 (32-bit, non-prefetchable) [size=3D4K] Memory at 800204000 (64-bit, prefetchable) [size=3D16K] Capabilities: Kernel driver in use: virtio-pci 03:00.1 Mass storage controller: Red Hat, Inc. Virtio file system (rev 01) Subsystem: Red Hat, Inc. Virtio file system Physical Slot: 0-2 Flags: bus master, fast devsel, latency 0, IRQ 21 Memory at c1400000 (32-bit, non-prefetchable) [size=3D4K] Memory at 800200000 (64-bit, prefetchable) [size=3D16K] Capabilities: Kernel driver in use: virtio-pci 04:00.0 VGA compatible controller: Red Hat, Inc. Virtio GPU (rev 01) (prog-= if 00 [VGA controller]) Subsystem: Red Hat, Inc. Virtio GPU Flags: bus master, fast devsel, latency 0, IRQ 21 Memory at c0000000 (32-bit, prefetchable) [size=3D8M] Memory at 800300000 (64-bit, prefetchable) [size=3D16K] Memory at c0800000 (32-bit, non-prefetchable) [size=3D4K] Expansion ROM at 000c0000 [disabled] [size=3D128K] Capabilities: Kernel driver in use: virtio-pci 05:00.0 Ethernet controller: Red Hat, Inc. Virtio network device (rev 01) Subsystem: Red Hat, Inc. Virtio network device Physical Slot: 0-3 Flags: bus master, fast devsel, latency 0, IRQ 21 Memory at c1200000 (32-bit, non-prefetchable) [size=3D4K] Memory at 800400000 (64-bit, prefetchable) [size=3D16K] Expansion ROM at c1240000 [disabled] [size=3D256K] Capabilities: Kernel driver in use: virtio-pci and here's a paste of lspci -vv: https://gist.github.com/acc991c2ebed537b2060602a59eb7897 --=20 You are receiving this mail because: You are the assignee for the bug.=