Re: [PATCH v6 1/4] PCI: Consider alignment of hot-added bridges when distributing available resources

2019-06-19 Thread Bjorn Helgaas
On Wed, Jun 19, 2019 at 01:40:50PM +, Nicholas Johnson wrote: > At least I have found out that git send-email uses terrible > encoding and adds the patch as an attachment This must be configurable somehow because many people use git send-email to send plain-text patches. > On Sat, Jun 15, 20

Re: [PATCH v6 1/4] PCI: Consider alignment of hot-added bridges when distributing available resources

2019-06-19 Thread Nicholas Johnson
Again, I am re-sending my previous response with reply-all instead of plain reply. Mika, you can ignore this as you have already seen it. For everybody else, everything below the line should be exactly the same as I copied it over. ___

Re: [PATCH v6 1/4] PCI: Consider alignment of hot-added bridges when distributing available resources

2019-06-19 Thread Nicholas Johnson
This time I am using reply-all "group=g" in Mutt instead of reply "reply=r". It looks like I have been doing this incorrectly for a while now. At least I have found out that git send-email uses terrible encoding and adds the patch as an attachment, so things might start to look up. I copied th

Re: [PATCH v6 1/4] PCI: Consider alignment of hot-added bridges when distributing available resources

2019-06-17 Thread Bjorn Helgaas
On Mon, Jun 17, 2019 at 12:35:13PM +0300, mika.westerb...@linux.intel.com wrote: > On Wed, May 22, 2019 at 02:30:44PM +, Nicholas Johnson wrote: > > Rewrite pci_bus_distribute_available_resources to better handle bridges > > with different resource alignment requirements. Pass more details > >

Re: [PATCH v6 1/4] PCI: Consider alignment of hot-added bridges when distributing available resources

2019-06-17 Thread mika.westerb...@linux.intel.com
On Wed, May 22, 2019 at 02:30:44PM +, Nicholas Johnson wrote: > Rewrite pci_bus_distribute_available_resources to better handle bridges > with different resource alignment requirements. Pass more details > arguments recursively to track the resource start and end addresses > relative to the ini

Re: [PATCH v6 1/4] PCI: Consider alignment of hot-added bridges when distributing available resources

2019-06-17 Thread mika.westerb...@linux.intel.com
On Sat, Jun 15, 2019 at 02:56:36PM -0500, Bjorn Helgaas wrote: > Mika, this patch changes code you added in 1a5767725cec ("PCI: > Distribute available resources to hotplug-capable bridges"). Is there > any chance you could help review this? Sure, I'll take a look and comment separately. > On Wed

Re: [PATCH v6 1/4] PCI: Consider alignment of hot-added bridges when distributing available resources

2019-06-15 Thread Bjorn Helgaas
Mika, this patch changes code you added in 1a5767725cec ("PCI: Distribute available resources to hotplug-capable bridges"). Is there any chance you could help review this? On Wed, May 22, 2019 at 02:30:44PM +, Nicholas Johnson wrote: > Rewrite pci_bus_distribute_available_resources to better

[PATCH v6 1/4] PCI: Consider alignment of hot-added bridges when distributing available resources

2019-05-22 Thread Nicholas Johnson
Rewrite pci_bus_distribute_available_resources to better handle bridges with different resource alignment requirements. Pass more details arguments recursively to track the resource start and end addresses relative to the initial hotplug bridge. This is especially useful for Thunderbolt with native