Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 20 Apr 2023 12:44:07 +0000
From:      bugzilla-noreply@freebsd.org
To:        bugs@FreeBSD.org
Subject:   [Bug 269874] pciconf mislabels "modern" virtio devices as "old"
Message-ID:  <bug-269874-227-VayNlMN3ZB@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-269874-227@https.bugs.freebsd.org/bugzilla/>
References:  <bug-269874-227@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D269874

--- Comment #5 from Mina Gali=C4=87 <freebsd@igalic.co> ---
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: <access denied>
        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: <access denied>
        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: <access denied>
        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: <access denied>
        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: <access denied>
        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: <access denied>
        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: <access denied>
        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: <access denied>
        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: <access denied>
        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: <access denied>
        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: <access denied>
        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: <access denied>
        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: <access denied>
        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: <access denied>
        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: <access denied>
        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: <access denied>
        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: <access denied>

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: <access denied>
        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: <access denied>
        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: <access denied>
        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: <access denied>
        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: <access denied>
        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.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-269874-227-VayNlMN3ZB>