[PATCH v1 0/3] PCI: Fix failure to assign BARs with alignment >1M with Thunderbolt

From: Nicholas Johnson
Date: Mon Jan 06 2020 - 10:45:19 EST


This patch series is split from from [0] to make sign-off easier.

I have found a way to change the arguments of
pci_bus_distribute_available_resources() without making any functional
changes. I think it turned out very well. I hope everybody agrees.

I have tested and looked over for mistakes for several days, but there
could still be mistakes. I have also changed the commit messages and
might not be clear enough yet.

Best to get it out there and get feedback or it will never happen.

Removed Reviewed-by tags from Mika Westerberg because some things have
changed.

[0]
https://lore.kernel.org/lkml/PSXP216MB043892C04178AB333F7AF08C80580@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx/

Nicholas Johnson (3):
PCI: Remove redundant brackets in
pci_bus_distribute_available_resources()
PCI: Change pci_bus_distribute_available_resources() args to struct
resource
PCI: Consider alignment of hot-added bridges when distributing
available resources

drivers/pci/setup-bus.c | 106 +++++++++++++++++++++++-----------------
1 file changed, 61 insertions(+), 45 deletions(-)

--
2.24.1