Re: [PATCH 00/10] drivers/pci: avoid module_init in non-modular host/pci*

2015-12-15 Thread Paul Gortmaker
[Re: [PATCH 00/10] drivers/pci: avoid module_init in non-modular host/pci*] On 14/12/2015 (Mon 11:27) Arnd Bergmann wrote: > On Monday 14 December 2015 10:19:40 Thierry Reding wrote: > > > PCIe host driver that use fixup (DECLARE_PCI_FIXUP_*) can't use tristate. > > > Fixu

Re: [PATCH 00/10] drivers/pci: avoid module_init in non-modular host/pci*

2015-12-14 Thread Arnd Bergmann
On Monday 14 December 2015 10:19:40 Thierry Reding wrote: > > PCIe host driver that use fixup (DECLARE_PCI_FIXUP_*) can't use tristate. > > Fixup region is in kernel region and this region if not updated when > > loading a module. > > Interesting, I hadn't thought about that. I suppose this means

Re: [PATCH 00/10] drivers/pci: avoid module_init in non-modular host/pci*

2015-12-14 Thread Thierry Reding
On Mon, Dec 14, 2015 at 04:33:51PM +0800, Ley Foon Tan wrote: > On Mon, Dec 14, 2015 at 4:24 PM, Thierry Reding > wrote: > > On Mon, Dec 14, 2015 at 09:19:30AM +0100, Geert Uytterhoeven wrote: > >> Hi Paul, > >> > >> On Sun, Dec 13, 2015 at 2:41 AM, Paul Gortmaker > >>

Re: [PATCH 00/10] drivers/pci: avoid module_init in non-modular host/pci*

2015-12-14 Thread Geert Uytterhoeven
Hi Paul, On Sun, Dec 13, 2015 at 2:41 AM, Paul Gortmaker wrote: > This series of commits is a slice of a larger project to ensure > people don't have dead code for module removal in non-modular > drivers. Overall there was roughly 5k lines of dead code in the >

Re: [PATCH 00/10] drivers/pci: avoid module_init in non-modular host/pci*

2015-12-14 Thread Thierry Reding
On Mon, Dec 14, 2015 at 09:19:30AM +0100, Geert Uytterhoeven wrote: > Hi Paul, > > On Sun, Dec 13, 2015 at 2:41 AM, Paul Gortmaker > wrote: > > This series of commits is a slice of a larger project to ensure > > people don't have dead code for module removal in

Re: [PATCH 00/10] drivers/pci: avoid module_init in non-modular host/pci*

2015-12-14 Thread Ley Foon Tan
On Mon, Dec 14, 2015 at 4:24 PM, Thierry Reding wrote: > On Mon, Dec 14, 2015 at 09:19:30AM +0100, Geert Uytterhoeven wrote: >> Hi Paul, >> >> On Sun, Dec 13, 2015 at 2:41 AM, Paul Gortmaker >> wrote: >> > This series of commits is a slice

Re: [PATCH 00/10] drivers/pci: avoid module_init in non-modular host/pci*

2015-12-14 Thread Michal Simek
On 14.12.2015 09:24, Thierry Reding wrote: > On Mon, Dec 14, 2015 at 09:19:30AM +0100, Geert Uytterhoeven wrote: >> Hi Paul, >> >> On Sun, Dec 13, 2015 at 2:41 AM, Paul Gortmaker >> wrote: >>> This series of commits is a slice of a larger project to ensure >>> people

[PATCH 00/10] drivers/pci: avoid module_init in non-modular host/pci*

2015-12-12 Thread Paul Gortmaker
This series of commits is a slice of a larger project to ensure people don't have dead code for module removal in non-modular drivers. Overall there was roughly 5k lines of dead code in the kernel due to this. So far we've fixed several areas, like tty, x86, net, etc. and we continue to work on