* PCIE support as loadable module
@ 2014-04-24 7:45 shiv prakash Agarwal
2014-04-25 8:50 ` Pratyush Anand
0 siblings, 1 reply; 3+ messages in thread
From: shiv prakash Agarwal @ 2014-04-24 7:45 UTC (permalink / raw)
To: linux-pci, Bjorn Helgaas, Pratyush Anand, Yinghai Lu,
Alex Williamson, Andrew Murray
Hi All,
Can we support PCIE driver as loadable module instead of including it in kernel?
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: PCIE support as loadable module
2014-04-24 7:45 PCIE support as loadable module shiv prakash Agarwal
@ 2014-04-25 8:50 ` Pratyush Anand
2014-04-25 10:28 ` Lucas Stach
0 siblings, 1 reply; 3+ messages in thread
From: Pratyush Anand @ 2014-04-25 8:50 UTC (permalink / raw)
To: shiv prakash Agarwal
Cc: linux-pci, Bjorn Helgaas, Yinghai Lu, Alex Williamson, Andrew Murray
On Thu, Apr 24, 2014 at 03:45:58PM +0800, shiv prakash Agarwal wrote:
> Hi All,
>
> Can we support PCIE driver as loadable module instead of including it in kernel?
I think it should work with current code. But, You will have to keep
all PCIe device (ep/card) driver also as module, and they must be
inserted only after host (RC) driver module.
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: PCIE support as loadable module
2014-04-25 8:50 ` Pratyush Anand
@ 2014-04-25 10:28 ` Lucas Stach
0 siblings, 0 replies; 3+ messages in thread
From: Lucas Stach @ 2014-04-25 10:28 UTC (permalink / raw)
To: Pratyush Anand
Cc: shiv prakash Agarwal, linux-pci, Bjorn Helgaas, Yinghai Lu,
Alex Williamson, Andrew Murray
Am Freitag, den 25.04.2014, 14:20 +0530 schrieb Pratyush Anand:
> On Thu, Apr 24, 2014 at 03:45:58PM +0800, shiv prakash Agarwal wrote:
> > Hi All,
> >
> > Can we support PCIE driver as loadable module instead of including it in kernel?
>
> I think it should work with current code. But, You will have to keep
> all PCIe device (ep/card) driver also as module, and they must be
> inserted only after host (RC) driver module.
Um, care to explain why?
I think the bus probing should only happen once the RC driver is there.
It shouldn't matter if device drivers are already registered at this
stage, their probe function will only be called when the bus gets
populated.
Regards,
Lucas
--
Pengutronix e.K. | Lucas Stach |
Industrial Linux Solutions | http://www.pengutronix.de/ |
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2014-04-25 10:29 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-04-24 7:45 PCIE support as loadable module shiv prakash Agarwal
2014-04-25 8:50 ` Pratyush Anand
2014-04-25 10:28 ` Lucas Stach
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.