diff options
author | 2018-07-30 10:18:37 -0600 | |
---|---|---|
committer | 2018-08-09 16:23:06 -0500 | |
commit | 07d8d7e57c28ca9a07dab4efd75dad3a654aeb85 (patch) | |
tree | 53592de54320ccabbfd94f043769cc3881ad0b41 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | PCI: Hide ACS quirk declarations inside PCI core (diff) | |
download | linux-dev-07d8d7e57c28ca9a07dab4efd75dad3a654aeb85.tar.xz linux-dev-07d8d7e57c28ca9a07dab4efd75dad3a654aeb85.zip |
PCI: Make specifying PCI devices in kernel parameters reusable
Separate out the code to match a PCI device with a string (typically
originating from a kernel parameter) from the
pci_specified_resource_alignment() function into its own helper function.
While we are at it, this change fixes the kernel style of the function
(fixing a number of long lines and extra parentheses).
Additionally, make the analogous change to the kernel parameter
documentation: Separate the description of how to specify a PCI device
into its own section at the head of the "pci=" parameter.
This patch should have no functional alterations.
Signed-off-by: Logan Gunthorpe <logang@deltatee.com>
[bhelgaas: use "device" instead of "slot" in documentation since that's the
usual language in the PCI specs]
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Reviewed-by: Stephen Bates <sbates@raithlin.com>
Reviewed-by: Alex Williamson <alex.williamson@redhat.com>
Acked-by: Christian König <christian.koenig@amd.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions