[PATCH v2] bus: mvebu-mbus: Fix optional pcie-mem/io-aperture properties
Jason Gunthorpe
jgunthorpe at obsidianresearch.com
Tue Oct 1 13:22:59 EDT 2013
On Tue, Oct 01, 2013 at 01:09:18PM -0400, Jason Cooper wrote:
> Ok, I've moved it over the mvebu/fixes and amended the commit as
> follows:
>
> """
> bus: mvebu-mbus: Fix optional pcie-mem/io-aperture properties
>
> If the property was not specified then the returned resource had a
> resource_size(..) == 1, rather than 0. The PCI-E driver checks for 0 so it
> blindly continues on with a corrupted resource.
>
> The regression was introduced into v3.12 by:
>
> 11be654 PCI: mvebu: Adapt to the new device tree layout
>
> """
Reads fine to me, thanks
> > This patch is a necessary precondition to applying:
> >
> > https://github.com/jgunthorpe/linux/commit/ef90b0bf7d8552dc7dfaad82d964446f6a9b6a3b
> > PCI: mvebu - Support a bridge with no IO port window
>
> I don't see this one in my stack, have you submitted it yet? When you
> do, please add a note mentioning the dependency on this commit in
> mvebu/fixes.
Yes, I posted it along with the other PCI patches:
http://permalink.gmane.org/gmane.linux.kernel.pci/25498
Just so we are on the same page, these are the Kirkwood/mvebu patches
I was hoping to progress for 3.13:
https://github.com/jgunthorpe/linux/commit/9f20eec4696627afe87bf0f6a204909004062e8e
PCI: mvebu: Dynamically detect if the PEX link is up to enable hot plug
(Thomas soft ack'd this @ http://www.spinics.net/lists/linux-pci/msg25323.html)
https://github.com/jgunthorpe/linux/commit/ef90b0bf7d8552dc7dfaad82d964446f6a9b6a3b
PCI: mvebu - Support a bridge with no IO port window
(no comments)
And these which I think you have already taken:
ARM: kirkwood - Remove kirkwood_setup_wins and rely on the DT binding
ARM: kirkwood: Move the crypto node under the mbus node
ARM: kirkwood: Move the nand node under the mbus node
bus: mvebu-mbus: Fix optional pcie-mem/io-aperture properties
Thanks,
Jason
More information about the linux-arm-kernel
mailing list