diff mbox

PASEMI: PCI_SCAN_ALL_PCIE_DEVS

Message ID e6083bae-42a0-c598-5040-fb0089c53d3f@xenosoft.de (mailing list archive)
State New, archived
Delegated to: Bjorn Helgaas
Headers show

Commit Message

Christian Zigotzky March 15, 2018, 10:40 a.m. UTC
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

Comments

Frederick Lawler March 15, 2018, 12:51 p.m. UTC | #1
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
diff mbox

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);