PASEMI: PCI_SCAN_ALL_PCIE_DEVS

Subsystems: linux for powerpc (32-bit and 64-bit), the rest

2 messages, 1 author, 2018-03-14 · open the first message on its own page

PASEMI: PCI_SCAN_ALL_PCIE_DEVS

From: Christian Zigotzky <hidden>
Date: 2018-03-12 05:22:01

Hi All,

Could you please add Olof=E2=80=98s patch. Without this patch, we have to al=
ways add 'pci=3Dpcie_scan_all' to the kernel boot arguments. Please add it.

Olof's patch for P.A. Semi boards:

---

arch/powerpc/platforms/pasemi/pci.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/arch/powerpc/platforms/pasemi/pci.c b/arch/powerpc/platforms/pa=
semi/pci.c
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;
}

+ pci_set_flags(PCI_SCAN_ALL_PCIE_DEVS);
+
for (np =3D NULL; (np =3D of_get_next_child(root, np)) !=3D NULL;)
if (np->name && !strcmp(np->name, "pxp") && !pas_add_bridge(np))
of_node_get(np);

---

Thanks,
Christian=

PASEMI: PCI_SCAN_ALL_PCIE_DEVS

From: Christian Zigotzky <hidden>
Date: 2018-03-14 07:48:42

Hi All,

Please find attached the current pci.c patch. We use this patch on our 
P.A. Semi boards because we don't need to add 'pci=pcie_scan_all' to the 
kernel boot arguments.

Please add this patch to the official kernel source code.

Thanks,
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