History log of /pciutils/ls-caps-vendor.c (Results 1 – 7 of 7)
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
Revision tags: v3.14.0
# b78c087b 21-Jun-2025 Martin Mares <[email protected]>

Fix formatting of 64-bit integers

PCI_U64_FMT_X is needed.


Revision tags: v3.13.0, v3.12.0, v3.11.1, v3.11.0
# 1bfc2be0 30-Dec-2023 Changyuan Lyu <[email protected]>

lspci: add VirtIO SharedMemory capability support

This patch adds the support for VirtIO share memory capability [1].
A shared memory region is defined in a `struct virtio_pci_cap64`
where the highe

lspci: add VirtIO SharedMemory capability support

This patch adds the support for VirtIO share memory capability [1].
A shared memory region is defined in a `struct virtio_pci_cap64`
where the highest 32 bits of `offset` and `size` are appened to the
original `struct virtio_pci_cap`.

With this patch, a VirtIO PMEM device (ID 27) shows like the
following:

```
00:02.0 Class ffff: Device 1af4:105b (rev 01)
Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx+
Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
Latency: 0
Region 0: Memory at 100001000 (64-bit, non-prefetchable) [size=4K]
Region 2: Memory at 101000000 (64-bit, non-prefetchable) [size=16M]
Capabilities: [40] Vendor Specific Information: VirtIO: CommonCfg
BAR=0 offset=00000000 size=0000003c
Capabilities: [50] Vendor Specific Information: VirtIO: ISR
BAR=0 offset=0000003c size=00000001
Capabilities: [60] Vendor Specific Information: VirtIO: Notify
BAR=0 offset=00000040 size=00000002 multiplier=00000002
Capabilities: [78] MSI-X: Enable+ Count=2 Masked-
Vector table: BAR=0 offset=00000058
PBA: BAR=0 offset=00000078
Capabilities: [88] Vendor Specific Information: VirtIO: DeviceCfg
BAR=0 offset=00000044 size=00000010
Capabilities: [98] Vendor Specific Information: VirtIO: SharedMemory
BAR=2 offset=0000000000000000 size=0000000001000000 id=0
Kernel driver in use: virtio-pci
```

[1] Sec 4.1.4.7 https://docs.oasis-open.org/virtio/virtio/v1.2/csd01/virtio-v1.2-csd01.html#x1-1240004

Signed-off-by: Changyuan Lyu <[email protected]>

show more ...


# faa79db9 05-Jul-2024 Pali Rohár <[email protected]>

lspci: Parse Intel Vendor specific capabilities

Intel Vendor specific capabilities are present on following devices:
* Intel Host Bridge / DRAM Controller
* Intel Integrated Graphics Controller
* In

lspci: Parse Intel Vendor specific capabilities

Intel Vendor specific capabilities are present on following devices:
* Intel Host Bridge / DRAM Controller
* Intel Integrated Graphics Controller
* Intel LPC Controller

Intel Host Bridge / DRAM Controller is on BDF address 00:00.0, so following
command should should parse and show Intel Vendor specific capabilities:

lspci -s 00:00.0 -vv

Currently only Intel Capabilities Version 1 is supported for now. This is
used since second generation of the Intel Core processors (Sandy Bridge).

show more ...


# adf7de0e 19-Jul-2023 David Edmondson <[email protected]>

lspci: Use mangled vendor/device ID when examining vendor caps

Given that PCI VFs are expected to have a vendor and device ID of
0xffff, when examining vendor capabilities use the mangled vendor and

lspci: Use mangled vendor/device ID when examining vendor caps

Given that PCI VFs are expected to have a vendor and device ID of
0xffff, when examining vendor capabilities use the mangled vendor and
device IDs (typically copied from the PF) rather than those read from
the VF configuration space.

Signed-off-by: David Edmondson <[email protected]>

show more ...


# 61829219 18-Jun-2023 Martin Mares <[email protected]>

Update license comments and added SPDX license identifiers

Previously, the only information about the specific version of GPL
was present in the README and individual source files mentioned only
GPL

Update license comments and added SPDX license identifiers

Previously, the only information about the specific version of GPL
was present in the README and individual source files mentioned only
GPL alone.

Let us update all copyright comments to explicitly say "GPL v2+"
and also include the machine readable SPDX license identifier.

show more ...


Revision tags: v3.10.0, v3.9.0, v3.8.0, v3.7.0, v3.6.4, v3.6.3, v3.6.2, v3.6.1, v3.6.0, v3.5.6, v3.5.5, v3.5.4, v3.5.3, v3.5.2, v3.5.1, v3.5.0, v3.4.1, v3.4.0, v3.3.1
# 6ebebbaa 22-Jan-2015 Martin Mares <[email protected]>

Improved listing of vendor-specific information


# 7ff8a323 21-Jan-2015 Gerd Hoffmann <[email protected]>

Add virtio vendor capability support

virtio uses vendor-specific capabilities to specify the location of
the virtio register ranges. The specification can be found here:

http://docs.oasis-open.org

Add virtio vendor capability support

virtio uses vendor-specific capabilities to specify the location of
the virtio register ranges. The specification can be found here:

http://docs.oasis-open.org/virtio/virtio/v1.0/cs01/virtio-v1.0-cs01.html#x1-690004

This patch adds support for decoding these capabilities to lspci.

Signed-off-by: Gerd Hoffmann <[email protected]>

show more ...