linux-pci.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* PASEMI: PCI_SCAN_ALL_PCIE_DEVS
@ 2018-03-15 10:40 Christian Zigotzky
  2018-03-15 12:51 ` Frederick Lawler
  0 siblings, 1 reply; 2+ messages in thread
From: Christian Zigotzky @ 2018-03-15 10:40 UTC (permalink / raw)
  To: linux-pci

[-- 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] 2+ 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; 2+ messages in thread
From: Frederick Lawler @ 2018-03-15 12:51 UTC (permalink / raw)
  To: Christian Zigotzky; +Cc: linux-pci

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] 2+ messages in thread

end of thread, other threads:[~2018-03-15 12:51 UTC | newest]

Thread overview: 2+ 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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).