Thread (41 messages) 41 messages, 7 authors, 2018-06-04

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

STALE3044d

From: Christian Zigotzky <hidden>
Date: 2017-12-03 09:43:27
Also in: linux-pci

On 3. Dec 2017, at 00:02, Olof Johansson [off-list ref] wrote:
=20
quoted
On Sat, Dec 2, 2017 at 3:00 PM, Olof Johansson [off-list ref] wrote:
=20
The below patch, together with Bjorn's, should do it. Christian, can you t=
est
quoted
and report back?
=20
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.
=20
=20
=46rom a3b390277627b0342c8ccfc16e58679e0d8abdde Mon Sep 17 00:00:00 2001
From: Olof Johansson <redacted>
Date: Sat, 2 Dec 2017 14:56:36 -0800
Subject: [PATCH] powerpc/pasemi: set PCI_SCAN_ALL_PCI_DEVS
=20
Needed on Amiga X1000 with SB600.
=20
Reported-by: Christian Zigotzky <redacted>
Cc: Bjorn Helgaas <bhelgaas@google.com>
Signed-off-by: Olof Johansson <redacted>
---
arch/powerpc/platforms/pasemi/pci.c | 2 ++
1 file changed, 2 insertions(+)
=20
diff --git a/arch/powerpc/platforms/pasemi/pci.c b/arch/powerpc/platforms=
/pasemi/pci.c
quoted
index 5ff6108..ea54ed2 100644
--- a/arch/powerpc/platforms/pasemi/pci.c
+++ b/arch/powerpc/platforms/pasemi/pci.c
@@ -224,6 +224,8 @@ void __init pas_pci_init(void)
               return;
       }
=20
+       pci_set_flag(PCI_SCAN_ALL_PCIE_DEVS):
=20
Typo, should be ';', not ':'. I obviously didn't even try compiling this. :=
)
=20
=20
-Olof
Hi Olof,

Thanks a lot for your patch! I will test it on Wednesday.

Cheers,
Christian=
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help