summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Released as 3.4.1.v3.4.1Martin Mares2016-01-034-6/+21
|
* pci.ids updated to today's snapshotMartin Mares2016-01-031-53/+318
|
* Add lspci support for Enhanced Allocation Capability.David Daney2016-01-033-0/+488
| | | | | The PCISIG recently added the Enhanced Allocation Capability. Decode it in lspci.
* lspci: Decode DevCap SlotPowerLimit for all components with Upstream PortsBjorn Helgaas2015-12-221-1/+2
| | | | | | | | | | | | | | | | | | The SlotPowerLimit in the Slot Capability indicates how much power the slot can supply to a downstream device. A Root Port or Switch Downstream Port communicates the limit via a Set_Slot_Power_Limit Message on the link. The component on the other end of the link copies the limit from the message to the Captured Slot Power Limit in its Device Capability [see PCIe r3.0, sec 2.2.8.5]. The Captured SlotPowerLimit is relevant for all devices on the downstream end of a Link. This includes Endpoints and Bridges as well as Switch Upstream Ports. Decode the DevCap Captured SlotPowerLimit for Endpoints and Bridges as well as Switch Upstream Ports. Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
* Omit unnecessary commas in PASID/PRI capabilitiesMartin Mares2015-10-271-4/+4
|
* Decode PASID and PRI extended capabilitiesDavid Woodhouse2015-10-273-0/+369
|
* README: SourceForge mirrors replaced by GitHubMartin Mares2015-09-191-1/+2
|
* Maint: Remember to push to Github, tooMartin Mares2015-09-191-0/+2
|
* Released as 3.4.0.v3.4.0originMartin Mares2015-09-143-3/+16
|
* Updated pci.ids to today's snapshotMartin Mares2015-09-141-487/+943
|
* lib/configure: Also accept host tuples without vendor stringFelix Janda2015-09-141-1/+1
| | | | | Based on patch from https://bugs.gentoo.org/show_bug.cgi?id=425022
* lspci calls pci_fill_info() only as neededpublicMartin Mares2015-09-141-5/+8
| | | | | Previously, lspci always asked for all attributes, even in terse mode where most of them are not shown.
* Sysfs: Read failures of optional attributes are not fatalMartin Mares2015-09-141-4/+11
| | | | | | | | Ameya Palande reported that with some kernels, reads of such attributes fail on some hardware. He suggested to ignore read failures completely, but I decided to turn the errors into warnings in such cases. At least, the user will know that something fishy is going on.
* Oops, numa_node should not be a mandatory attributeMartin Mares2015-09-141-9/+13
|
* Updated fixed-version references to pci_fill_infoMartin Mares2015-09-142-2/+2
|
* NUMA node scanning is now done in an ABI-compatible wayMartin Mares2015-09-146-22/+33
| | | | | | The numa_node field was moved to the end of the public part of struct pci_dev. As usually, it has to be requested using the PCI_FILL_NUMA_NODE and pci_fill_info() is versioned.
* Whitespace fixesMartin Mares2015-09-141-1/+1
|
* Improved reporting of NUMA nodesMartin Mares2015-09-142-0/+8
| | | | They are also printed in "-vv" and "-nv" modes now.
* Report NUMA node in lspci -vMatthew Wilcox2015-09-144-0/+5
| | | | | | | | | | | | | In multi-socket systems, it's useful to see which node a particular PCI device belongs to. Linux provides this information through sysfs, but some users don't like poking through sysfs themselves to find it, and it's pretty straightforward to report it in lspci. I should note that when there is no NUMA node for a particular device, Linux reports -1. I've chosen to continue that convention in pciutils, and simply omit the information if the device does not belong to a NUMA node (eg on single-socket systems, or devices which are not preferentially attached to a particular node, like Nehalem-based systems).
* Fixed naming inconsistency in man page: slot vs. deviceMartin Mares2015-09-141-2/+2
| | | | Thanks to Robert Urban for pointing it out.
* Fix broken backward compat struct translation for pci filtersLucas Stach2015-04-161-2/+2
| | | | | | | This seems to be a copy&paste error in both directions of the compat translation. Signed-off-by: Lucas Stach <dev@lynxeye.de>
* Fixing up release 3.3.1 to contain new pci.idsv3.3.1Martin Mares2015-04-092-0/+4
|
* Update pci.ids to today's snapshotMartin Mares2015-04-091-117/+633
|
* Released as 3.3.1.Martin Mares2015-04-094-6/+19
|
* pread.h: Remove support for libc5Felix Janda2015-04-091-9/+0
| | | | | The support code for libc5 breaks building on linux i386 with other libcs that don't define __GLIBC__.
* Maint: Make sure that there are no Vim swap files in the tarballMartin Mares2015-01-221-0/+1
|
* Fixed memory allocation bug in name cache path codeMartin Mares2015-01-221-1/+1
|
* Improved listing of vendor-specific informationMartin Mares2015-01-221-15/+21
|
* Added test case for virtioMartin Mares2015-01-221-0/+41
|
* Add virtio vendor capability supportGerd Hoffmann2015-01-224-2/+82
| | | | | | | | | | | 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 <kraxel@redhat.com>
* Fix small memory leak in names-cacheMartin Mares2014-12-121-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | Signed-off-by: Tomáš Chvátal <tchvatal@suse.cz> --- lib/names-cache.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lib/names-cache.c b/lib/names-cache.c index 90a6454..c97ea30 100644 --- a/lib/names-cache.c +++ b/lib/names-cache.c @@ -39,7 +39,8 @@ static char *get_cache_name(struct pci_access *a) buf = pci_malloc(a, strlen(pw->pw_dir) + strlen(name+1) + 1); sprintf(buf, "%s%s", pw->pw_dir, name+1); pci_set_param_internal(a, "net.cache_name", buf, 0); - return buf; + pci_mfree(buf); + return pci_get_param(a, "net.cache_name"); } int -- 2.1.3
* Maintenance scripts now upload to kernel.org automaticallyMartin Mares2014-11-103-6/+28
|
* ChangeLog: Fix formatting so that it is parseable by maint/releasev3.3.0Martin Mares2014-11-101-2/+2
|
* Updated PCI_LIB_VERSIONMartin Mares2014-11-101-1/+1
|
* Released as 3.3.0.Martin Mares2014-11-102-4/+7
|
* Updated pci.ids to today's snapshot.Martin Mares2014-11-101-2/+11
|
* ChangeLog: Mention filtering by classMartin Mares2014-11-021-0/+4
|
* Backward ABI compatibility for new filters and pci_fill_infoMartin Mares2014-11-026-29/+143
| | | | | | This is tricky, because we have to translate between old and new format of struct pci_filter. At least, I added several RFU fields so this hopefully won't have to happen again soon.
* lspci: Add ability to filter by class codeMatthew Wilcox2014-11-024-8/+25
| | | | | | | | | | Extend the 'filter by device ID' functionality to allow optional specification of a device ID. For example, to list all USB controllers in the system made by Intel, specify: lspci -d 8086::0c03 Signed-off-by: Matthew Wilcox <matthew.r.wilcox@intel.com>
* Updated ChangeLogMartin Mares2014-11-021-0/+27
|
* Clean up man pagesMartin Mares2014-11-024-5/+1
| | | | | | | | | We do not call .IX as it's not defined in mandoc. Ellipsis at the end of line is protected by \&. Inspired by Debian patches for the following bugs: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=674708 https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=675087
* Configure: HWDB is specific for LinuxMartin Mares2014-11-022-17/+20
|
* ChangeLog: Fixed a typoMartin Mares2014-11-011-1/+1
|
* Updated the READMEsMartin Mares2014-11-012-3/+15
|
* Rewritten support for UDEV's HWDBMartin Mares2014-11-0111-65/+149
| | | | | | | | | | | HWDB is now handled in a way very similar to the DNS resolver. The interface lives in a separate source file (lib/names-hwdb.c), results of lookups are cached. Use of HWDB can be disabled either by passing PCI_LOOKUP_NO_HWDB or by setting the hwdb.disabled configuration parameter. Also, there should be no more leaks of libudev's structures.
* libpci: pci_id_lookup - add udev/hwdb supportTom Gundersen2014-11-012-2/+74
| | | | | | | | | | | | | This lets you select hwdb support at compile time. hwdb is an efficient hardware database shipped with recent versions of udev. It contains among other sources pci.ids so querying hwdb rather than reading pci.ids directly should give the same result. Ideally Linux distros using udev could stop shipping pci.ids, but use hwdb as the only source of this information, which this patch allows. Cc: Martin Mares <mj@ucw.cz>
* Updated pci.ids to today's snapshotMartin Mares2014-11-011-735/+2815
|
* Work around problems with symbol versioning in globally optimizing GCCMartin Mares2014-11-012-1/+6
|
* Device labels must be requested via PCI_FILL_LABELSMartin Mares2014-11-013-5/+10
| | | | | The previous implementation handled labels differently from all other device properties, which was illogical.
* Manual: Mention Darwin in the list of access methodsMartin Mares2014-11-011-0/+4
|