diff options
author | Ilpo Järvinen <ilpo.jarvinen@linux.intel.com> | 2025-08-29 16:11:08 +0300 |
---|---|---|
committer | Bjorn Helgaas <bhelgaas@google.com> | 2025-09-16 11:19:52 -0500 |
commit | ae88d0b9c57f70086dca4f8ccb14c64b2f144c58 (patch) | |
tree | 017a8c256871e94e0844a99d906262d3aea560b8 /scripts/gdb/linux/interrupts.py | |
parent | 13016e15d595125ec2da83e1715083efe7499f91 (diff) |
PCI: Use pbus_select_window_for_type() during mem window sizing
__pci_bus_size_bridges() goes to great lengths of helping pbus_size_mem()
in which types it should put into a particular bridge window, requiring
passing up to three resource type into pbus_size_mem().
Instead of having complex logic in __pci_bus_size_bridges() and a
non-straightforward interface between those functions, use
pbus_select_window_for_type() and pbus_select_window() to find the correct
bridge window and compare if the resources belong to that window.
Signed-off-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Link: https://patch.msgid.link/20250829131113.36754-20-ilpo.jarvinen@linux.intel.com
Diffstat (limited to 'scripts/gdb/linux/interrupts.py')
0 files changed, 0 insertions, 0 deletions