[PATCH] SB600 for the Nemo board has non-zero devices on non-root bus

Michael Ellerman mpe at ellerman.id.au
Wed Dec 6 23:44:44 AEDT 2017


Olof Johansson <olof at lixom.net> writes:

> On Sat, Dec 02, 2017 at 01:54:41PM +0100, Christian Zigotzky wrote:
>> On 02 December 2017 at 00:27AM, Bjorn Helgaas wrote:
>> > 
>> > Thanks for testing that.  I'll merge a similar patch for v4.16.
>> > 
>> > I don't think using "pci=pcie_scan_all" is really an acceptable
>> > long-term answer for you, though.  Is there some way we can identify
>> > at run-time whether we're on a Nemo system?  If so, we can make this
>> > happen automatically.
>> > 
>> > Bjorn
>> > 
>> Hi Bjorn,
>> 
>> Many thanks for your effort! I appreciate it very much. :-)
>> 
>> We can identify the Nemo board at the boot time. See dmesg output: [   
>> 0.061592] NEMO SB600 IOB base e0000000
>> 
>> @linuxppc-dev
>> Any other ideas? Maybe the same as we can identify the other P.A. Semi
>> boards (Electra, Chitra, and Athena).
>> 
>> @Olof
>> Maybe you know how we can identify the P.A. Semi Nemo board at the run-time.
>> 
>> @Darren
>> Do you have an idea?
>
>
> The below patch, together with Bjorn's, should do it. Christian, can you test
> and report back?
>
> I'm guessing it won't do any harm to set this on non-X1000 platforms. My
> test system is currently powered down so I can't check.

My pasemi board had been powered off for a while and when I turned it
back on something popped, the power supply blew up and tripped a
breaker.

So I also can't test this, at least for now, until I get my "allowed to
use hardware" license back from my colleagues in the office.

cheers


More information about the Linuxppc-dev mailing list