diff options
author | Philipp Stanner <[email protected]> | 2024-06-13 13:50:18 +0200 |
---|---|---|
committer | Krzysztof Wilczyński <[email protected]> | 2024-07-10 04:19:56 +0000 |
commit | d47bde708086c77b1ceeb7643e600089f63dd03b (patch) | |
tree | de1b84aa050972d9b757bd9c14a60ad2fb3c952f /tools/perf/scripts/python/flamegraph.py | |
parent | e354bb84a4c1cbb928e052260cc5ce12ec6722ff (diff) |
PCI: Add managed pcim_request_region()
These existing functions:
pci_request_region()
pci_request_selected_regions()
pci_request_selected_regions_exclusive()
are "hybrid" functions built on __pci_request_region() and are managed if
pcim_enable_device() has been called, but unmanaged otherwise.
Add these new functions:
pcim_request_region()
pcim_request_region_exclusive()
These are *always* managed and use the new pcim_addr_devres tracking
infrastructure instead of find_pci_dr() and struct pci_devres.region_mask.
Implement the hybrid functions using the new "pure" functions and remove
struct pci_devres.region_mask, which is no longer needed.
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Philipp Stanner <[email protected]>
Signed-off-by: Krzysztof Wilczyński <[email protected]>
[bhelgaas: commit log]
Signed-off-by: Bjorn Helgaas <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/flamegraph.py')
0 files changed, 0 insertions, 0 deletions