aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/tools/perf/scripts/python/gecko.py
diff options
context:
space:
mode:
authorPhilipp Stanner <phasta@kernel.org>2025-04-25 10:57:34 +0200
committerJakub Kicinski <kuba@kernel.org>2025-04-28 16:19:15 -0700
commit66ada7471155cb70f7c651fab69327322ab9d92b (patch)
treecd9ee83d007ee9dcbd3cf15e4c3438d9a7248bf2 /tools/perf/scripts/python/gecko.py
parentMerge branch 'virtio-net-disable-delayed-refill-when-pausing-rx' (diff)
downloadwireguard-linux-66ada7471155cb70f7c651fab69327322ab9d92b.tar.xz
wireguard-linux-66ada7471155cb70f7c651fab69327322ab9d92b.zip
net: prestera: Use pure PCI devres API
The currently used function pci_request_regions() is one of the problematic "hybrid devres" PCI functions, which are sometimes managed through devres, and sometimes not (depending on whether pci_enable_device() or pcim_enable_device() has been called before). The PCI subsystem wants to remove this behavior and, therefore, needs to port all users to functions that don't have this problem. Furthermore, the PCI function being managed implies that it's not necessary to call pci_release_regions() manually. Remove the calls to pci_release_regions(). Replace pci_request_regions() with pcim_request_all_regions(). Signed-off-by: Philipp Stanner <phasta@kernel.org> Acked-by: Elad Nachman <enachman@marvell.com> Reviewed-by: Jacob Keller <jacob.e.keller@intel.com> Link: https://patch.msgid.link/20250425085740.65304-3-phasta@kernel.org Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/gecko.py')
0 files changed, 0 insertions, 0 deletions