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

2017-12-22 Thread Christian Zigotzky
Hi Michael, Thanks a lot for your reply! :-) I have found two interesting lines in the device tree: compatible   "pasemi,nemo" model    "pasemi,nemo" What do you think? Please find attached the output of `lsprop /proc/device-tree`. Thanks, Christian On 22.12.2017 12:19, Michael

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

2017-12-22 Thread Michael Ellerman
Christian Zigotzky writes: > Hi Bjorn, > > Sorry I'm bothering you again. Is this small out of tree init routine in > the Nemo patch? I haven't get an answer from Darren yet and I didn't > found the small out of tree init routine in the Nemo patch. Please find > attached the Nemo patch. Maybe

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

2017-12-22 Thread Christian Zigotzky
I mean: I haven't gotten an answer from Darren yet. Sorry because of my English. I am still learning. -- Christian On 22 December 2017 at 10:57AM, Christian Zigotzky wrote: > Hi Bjorn, > > Sorry I'm bothering you again. Is this small out of tree init routine in the Nemo patch? I haven't get a

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

2017-12-22 Thread Christian Zigotzky
Hi Bjorn, Sorry I'm bothering you again. Is this small out of tree init routine in the Nemo patch? I haven't get an answer from Darren yet and I didn't found the small out of tree init routine in the Nemo patch. Please find attached the Nemo patch. Maybe you can find this small out of tree ini

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

2017-12-15 Thread Christian Zigotzky
On 04 December 2017 at 12:40PM, Darren Stevens wrote: > Hello Bjorn > > Firstly sorry for not being able to join in this discussion, I have been > moving house and only got my X1000 set up again yesterday.. > > On 30/11/2017, Bjorn Helgaas wrote: >> I *think* something like the patch below should

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

2017-12-15 Thread Bjorn Helgaas
On Fri, Dec 15, 2017 at 09:04:51AM +0100, Christian Zigotzky wrote: > On 09 December 2017 at 7:03PM, Christian Zigotzky wrote: > > On 08 December 2017 at 12:59PM, Michael Ellerman wrote: > > > > > >> Darren's idea of doing it at the same time you tweak the SB600 "relax > > >> pci-e" bit is ideal be

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

2017-12-15 Thread Christian Zigotzky
On 09 December 2017 at 7:03PM, Christian Zigotzky wrote: > On 08 December 2017 at 12:59PM, Michael Ellerman wrote: > > > >> Darren's idea of doing it at the same time you tweak the SB600 "relax > >> pci-e" bit is ideal because then the two pieces are obviously > >> connected and it wouldn't affect

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

2017-12-09 Thread Christian Zigotzky
On 08 December 2017 at 12:59PM, Michael Ellerman wrote: > >> Darren's idea of doing it at the same time you tweak the SB600 "relax >> pci-e" bit is ideal because then the two pieces are obviously >> connected and it wouldn't affect any other systems at all. > > Yes that would be ideal. That patch

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

2017-12-08 Thread Michael Ellerman
Bjorn Helgaas writes: > On Wed, Dec 06, 2017 at 11:57:03PM +1100, Michael Ellerman wrote: >> Christian Zigotzky writes: >> ... >> > >> > Hi Olof, >> > >> > Many thanks for your patch! :-) The RC2 of kernel 4.15 boots without any >> > problems on my P.A. Semi Nemo board (A-EON AmigaOne X1000). I

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

2017-12-08 Thread Michael Ellerman
Olof Johansson writes: > On Wed, Dec 6, 2017 at 4:44 AM, Michael Ellerman wrote: >> Olof Johansson writes: >>> >>> 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.

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

2017-12-06 Thread Bjorn Helgaas
On Wed, Dec 06, 2017 at 11:57:03PM +1100, Michael Ellerman wrote: > Christian Zigotzky writes: > ... > > > > Hi Olof, > > > > Many thanks for your patch! :-) The RC2 of kernel 4.15 boots without any > > problems on my P.A. Semi Nemo board (A-EON AmigaOne X1000). I don’t need > > the additional b

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

2017-12-06 Thread Olof Johansson
On Wed, Dec 6, 2017 at 4:44 AM, Michael Ellerman wrote: > Olof Johansson 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. >>> > >>>

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

2017-12-06 Thread Michael Ellerman
Christian Zigotzky writes: ... > > Hi Olof, > > Many thanks for your patch! :-) The RC2 of kernel 4.15 boots without any > problems on my P.A. Semi Nemo board (A-EON AmigaOne X1000). I don’t need > the additional boot argument 'pci=pcie_scan_all' anymore. > > Is it possible to merge it via the p

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

2017-12-06 Thread Michael Ellerman
Olof Johansson 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 acceptabl

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

2017-12-06 Thread Christian Zigotzky
On 06 December 2017 at 09:37AM, Christian Zigotzky wrote: > On 03 December 2017 at 10:43AM, Christian Zigotzky wrote: > > > > On 3. Dec 2017, at 00:02, Olof Johansson wrote: > >> > >> Typo, should be ';', not ':'. I obviously didn't even try compiling this. :) > >> > >> > >> -Olof > > > > Hi Ol

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

2017-12-06 Thread Christian Zigotzky
On 03 December 2017 10:43AM, Christian Zigotzky wrote: > > On 3. Dec 2017, at 00:02, Olof Johansson wrote: >> >>> On Sat, Dec 2, 2017 at 3:00 PM, Olof Johansson wrote: >>> >>> The below patch, together with Bjorn's, should do it. Christian, can you test >>> and report back? >>> >>> I'm guessin

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

2017-12-03 Thread Christian Zigotzky
On 3. Dec 2017, at 00:02, Olof Johansson wrote: > >> On Sat, Dec 2, 2017 at 3:00 PM, Olof Johansson wrote: >> >> 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 >>

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

2017-12-02 Thread Olof Johansson
On Sat, Dec 2, 2017 at 3:00 PM, Olof Johansson wrote: > 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

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

2017-12-02 Thread Olof Johansson
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,

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

2017-12-02 Thread Christian Zigotzky
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?

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

2017-12-01 Thread Bjorn Helgaas
On Fri, Dec 01, 2017 at 11:08:46PM +0100, Christian Zigotzky wrote: > On 30.11.2017 23:42, Bjorn Helgaas wrote: > > > > 00:11.0 claims to be a PCIe Root Port leading to [bus 05-06]. That > > means there's a Link (presumably this A-Link II Express thing), and the > > downstream end of the Link *shou

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

2017-12-01 Thread Christian Zigotzky
On 30.11.2017 23:42, Bjorn Helgaas wrote: > > 00:11.0 claims to be a PCIe Root Port leading to [bus 05-06]. That > means there's a Link (presumably this A-Link II Express thing), and the > downstream end of the Link *should* be a PCIe Upstream Port on bus 05, > but no such device is visible.  I su

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

2017-11-30 Thread Bjorn Helgaas
On Thu, Nov 30, 2017 at 12:39:36AM +0100, Christian Zigotzky wrote: > On 29 November 2017 at 11:34PM, Bjorn Helgaas wrote: > > On Wed, Nov 29, 2017 at 2:45 PM, Christian Zigotzky > >> Thank you for your answer. I have tried to boot the kernel 4.15 > >> RC1 (built without the patch above) with the b

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

2017-11-29 Thread Christian Zigotzky
On 29 November 2017 at 11:34PM, Bjorn Helgaas wrote: > On Wed, Nov 29, 2017 at 2:45 PM, Christian Zigotzky >> Hi Bjorn, >> >> Thank you for your answer. I have tried to boot the kernel 4.15 RC1 (built >> without the patch above) with the boot argument "pci=pcie_scan_all" but >> without any succe

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

2017-11-29 Thread Bjorn Helgaas
On Wed, Nov 29, 2017 at 2:45 PM, Christian Zigotzky wrote: > On 29 November 2017 at 8:46PM, Bjorn Helgaas wrote: >> >> On Wed, Nov 29, 2017 at 1:28 PM, Christian Zigotzky >> wrote: >>> >>> On 23 November 2017 at 2:31PM, Michael Ellerman wrote: Hi Christian, Thanks for your pat

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

2017-11-29 Thread Christian Zigotzky
On 29 November 2017 at 8:46PM, Bjorn Helgaas wrote: On Wed, Nov 29, 2017 at 1:28 PM, Christian Zigotzky wrote: On 23 November 2017 at 2:31PM, Michael Ellerman wrote: Hi Christian, Thanks for your patch. Christian Zigotzky writes: Hi All, Just a small patch for the P.A. Semi Nemo board: -

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

2017-11-29 Thread Bjorn Helgaas
On Wed, Nov 29, 2017 at 1:28 PM, Christian Zigotzky wrote: > On 23 November 2017 2:31PM, Michael Ellerman wrote: >> >> Hi Christian, >> >> Thanks for your patch. >> >> Christian Zigotzky writes: >>> >>> Hi All, >>> >>> Just a small patch for the P.A. Semi Nemo board: >>> >>> - >>> >>> diff -r

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

2017-11-29 Thread Christian Zigotzky
On 23 November 2017 2:31PM, Michael Ellerman wrote: Hi Christian, Thanks for your patch. Christian Zigotzky writes: Hi All, Just a small patch for the P.A. Semi Nemo board: - diff -rupN a/drivers/pci/probe.c b/drivers/pci/probe.c --- a/drivers/pci/probe.c    2017-11-16 08:18:40.5040120

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

2017-11-23 Thread Michael Ellerman
Hi Christian, Thanks for your patch. Christian Zigotzky writes: > Hi All, > > Just a small patch for the P.A. Semi Nemo board: > > - > > diff -rupN a/drivers/pci/probe.c b/drivers/pci/probe.c > --- a/drivers/pci/probe.c    2017-11-16 08:18:40.504012010 +0100 > +++ b/drivers/pci/probe.c    20

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

2017-11-15 Thread Christian Zigotzky
Hi All, Just a small patch for the P.A. Semi Nemo board: - diff -rupN a/drivers/pci/probe.c b/drivers/pci/probe.c --- a/drivers/pci/probe.c    2017-11-16 08:18:40.504012010 +0100 +++ b/drivers/pci/probe.c    2017-11-16 08:17:22.044368405 +0100 @@ -2219,6 +2219,8 @@ static int only_one_child