diff options
author | 2021-02-02 01:27:54 +0530 | |
---|---|---|
committer | 2021-02-23 14:10:17 -0600 | |
commit | 959a48d0eac0321948c9f3d1707ba22c100e92d5 (patch) | |
tree | 3d9cf82fc7bdb42f2a39f76d2f2d5b252944927e /tools/perf/scripts/python/export-to-postgresql.py | |
parent | Documentation: PCI: Add specification for the PCI NTB function device (diff) | |
download | wireguard-linux-959a48d0eac0321948c9f3d1707ba22c100e92d5.tar.xz wireguard-linux-959a48d0eac0321948c9f3d1707ba22c100e92d5.zip |
PCI: endpoint: Make *_get_first_free_bar() take into account 64 bit BAR
pci_epc_get_first_free_bar() uses only "reserved_bar" member in
epc_features to get the first unreserved BAR. However if the reserved BAR
is also a 64-bit BAR, then the next BAR shouldn't be returned (since 64-bit
BAR uses two BARs).
Make pci_epc_get_first_free_bar() take into account 64 bit BAR while
returning the first free unreserved BAR.
Link: https://lore.kernel.org/r/20210201195809.7342-3-kishon@ti.com
Signed-off-by: Kishon Vijay Abraham I <kishon@ti.com>
Signed-off-by: Lorenzo Pieralisi <lorenzo.pieralisi@arm.com>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions