* PASEMI: PCI_SCAN_ALL_PCIE_DEVS
2018-01-15 10:44 ` Madalin-cristian Bucur
@ 2018-02-26 23:11 ` Christian Zigotzky
0 siblings, 0 replies; 5+ messages in thread
From: Christian Zigotzky @ 2018-02-26 23:11 UTC (permalink / raw)
To: linuxppc-dev@lists.ozlabs.org; +Cc: Olof Johansson
Hi All,
Could you please add Olof's patch?
---
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/pasemi/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 = NULL; (np = of_get_next_child(root, np)) != NULL;)
if (np->name && !strcmp(np->name, "pxp") && !pas_add_bridge(np))
of_node_get(np);
---
Thanks,
Christian
^ permalink raw reply related [flat|nested] 5+ messages in thread
* PASEMI: PCI_SCAN_ALL_PCIE_DEVS
@ 2018-03-12 5:21 Christian Zigotzky
2018-03-14 7:48 ` Christian Zigotzky
0 siblings, 1 reply; 5+ messages in thread
From: Christian Zigotzky @ 2018-03-12 5:21 UTC (permalink / raw)
To: linuxppc-dev, Olof Johansson
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=
^ permalink raw reply related [flat|nested] 5+ messages in thread
* PASEMI: PCI_SCAN_ALL_PCIE_DEVS
2018-03-12 5:21 Christian Zigotzky
@ 2018-03-14 7:48 ` Christian Zigotzky
0 siblings, 0 replies; 5+ messages in thread
From: Christian Zigotzky @ 2018-03-14 7:48 UTC (permalink / raw)
To: linuxppc-dev, Olof Johansson
[-- Attachment #1: Type: text/plain, Size: 256 bytes --]
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
[-- Attachment #2: pci.c.patch --]
[-- Type: text/x-patch, Size: 541 bytes --]
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/pasemi/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 = NULL; (np = of_get_next_child(root, np)) != NULL;)
if (np->name && !strcmp(np->name, "pxp") && !pas_add_bridge(np))
of_node_get(np);
^ permalink raw reply related [flat|nested] 5+ messages in thread
* PASEMI: PCI_SCAN_ALL_PCIE_DEVS
@ 2018-03-15 10:40 Christian Zigotzky
2018-03-15 12:51 ` Frederick Lawler
0 siblings, 1 reply; 5+ messages in thread
From: Christian Zigotzky @ 2018-03-15 10:40 UTC (permalink / raw)
To: linux-pci@vger.kernel.org
[-- Attachment #1: Type: text/plain, Size: 250 bytes --]
Hi All,
We always have to add 'pci=pcie_scan_all' to the kernel boot arguments
for our P.A. Semi boards. Please find attached a patch for solving this
issue.
Could you please add this patch to the official kernel source code?
Thanks,
Christian
[-- Attachment #2: pci.c.patch --]
[-- Type: text/x-patch, Size: 541 bytes --]
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/pasemi/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 = NULL; (np = of_get_next_child(root, np)) != NULL;)
if (np->name && !strcmp(np->name, "pxp") && !pas_add_bridge(np))
of_node_get(np);
^ permalink raw reply related [flat|nested] 5+ messages in thread
* Re: PASEMI: PCI_SCAN_ALL_PCIE_DEVS
2018-03-15 10:40 PASEMI: PCI_SCAN_ALL_PCIE_DEVS Christian Zigotzky
@ 2018-03-15 12:51 ` Frederick Lawler
0 siblings, 0 replies; 5+ messages in thread
From: Frederick Lawler @ 2018-03-15 12:51 UTC (permalink / raw)
To: Christian Zigotzky; +Cc: linux-pci@vger.kernel.org
Christian Zigotzky wrote:
> Hi All,
>
> We always have to add 'pci=pcie_scan_all' to the kernel boot arguments
> for our P.A. Semi boards. Please find attached a patch for solving this
> issue.
>
> Could you please add this patch to the official kernel source code?
>
> Thanks,
> Christian
>
Morning,
I would recommend reading the following prior to patch submission:
http://elixir.free-electrons.com/linux/latest/source/Documentation/process/submitting-patches.rst
https://marc.info/?l=linux-pci&m=150905742808166&w=2
It is very difficult for us to review and comment on patches that are
submitted via attachment.
Frederick
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2018-03-15 12:51 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-03-15 10:40 PASEMI: PCI_SCAN_ALL_PCIE_DEVS Christian Zigotzky
2018-03-15 12:51 ` Frederick Lawler
-- strict thread matches above, loose matches on Subject: below --
2018-03-12 5:21 Christian Zigotzky
2018-03-14 7:48 ` Christian Zigotzky
2018-01-10 15:56 DPAA Ethernet problems with mainstream Linux kernels Jamie Krueger
2018-01-12 14:22 ` Madalin-cristian Bucur
2018-01-12 16:35 ` Jamie Krueger
2018-01-15 10:44 ` Madalin-cristian Bucur
2018-02-26 23:11 ` PASEMI: PCI_SCAN_ALL_PCIE_DEVS Christian Zigotzky
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.