Re: [PATCH 2/3] powerpc: PCI: Fix lookup of linux,pci-probe-only property

2015-08-14 Thread Marc Zyngier
Hi Bjorn, On 14/08/15 15:57, Bjorn Helgaas wrote: > Hi Marc, > > On Fri, Aug 14, 2015 at 03:41:07PM +0100, Marc Zyngier wrote: >> When find_and_init_phbs() looks for the probe-only property, it seems >> to trust the firmware to be correctly written, and assumes that there >> is a parameter to the

Re: [PATCH 2/3] powerpc: PCI: Fix lookup of linux,pci-probe-only property

2015-08-14 Thread Bjorn Helgaas
Hi Marc, On Fri, Aug 14, 2015 at 03:41:07PM +0100, Marc Zyngier wrote: > When find_and_init_phbs() looks for the probe-only property, it seems > to trust the firmware to be correctly written, and assumes that there > is a parameter to the property. > > It is conceivable that the firmware could no

[PATCH 2/3] powerpc: PCI: Fix lookup of linux,pci-probe-only property

2015-08-14 Thread Marc Zyngier
When find_and_init_phbs() looks for the probe-only property, it seems to trust the firmware to be correctly written, and assumes that there is a parameter to the property. It is conceivable that the firmware could not be that perfect, and it could expose this property naked (at least one arm64 pla