Re: [PATCH] pci: add kernel config option for disabling common PCI quirks

2016-12-22 Thread Bjorn Helgaas
On Thu, Dec 22, 2016 at 06:54:51AM +0100, John Crispin wrote: > On 21/12/2016 15:26, Christoph Hellwig wrote: > > On Wed, Dec 21, 2016 at 02:11:25PM +0100, John Crispin wrote: > >> I can turn it into an enable patch that is selected by default. > >> > >> The current patch disables all those quirks

Re: [PATCH] pci: add kernel config option for disabling common PCI quirks

2016-12-21 Thread John Crispin
On 21/12/2016 15:26, Christoph Hellwig wrote: > On Wed, Dec 21, 2016 at 02:11:25PM +0100, John Crispin wrote: >> I can turn it into an enable patch that is selected by default. >> >> The current patch disables all those quirks that are used for x86/PC >> style machines and hence are not required

Re: [PATCH] pci: add kernel config option for disabling common PCI quirks

2016-12-21 Thread Christoph Hellwig
On Wed, Dec 21, 2016 at 02:11:25PM +0100, John Crispin wrote: > I can turn it into an enable patch that is selected by default. > > The current patch disables all those quirks that are used for x86/PC > style machines and hence are not required in the embedded world. Maybe we'll just need to reor

Re: [PATCH] pci: add kernel config option for disabling common PCI quirks

2016-12-21 Thread John Crispin
On 21/12/2016 13:22, Christoph Hellwig wrote: > On Wed, Dec 21, 2016 at 08:53:04AM +0100, John Crispin wrote: >> This patch has been lingering inside the OpenWrt for some years. I am not >> sure if this is the best way to remove the quirks from the build. Let me >> know if you prefer a different

Re: [PATCH] pci: add kernel config option for disabling common PCI quirks

2016-12-21 Thread Christoph Hellwig
On Wed, Dec 21, 2016 at 08:53:04AM +0100, John Crispin wrote: > This patch has been lingering inside the OpenWrt for some years. I am not > sure if this is the best way to remove the quirks from the build. Let me > know if you prefer a different way of solving this. As a start negative options (_D

Re: [PATCH] pci: add kernel config option for disabling common PCI quirks

2016-12-21 Thread Lukas Wunner
On Wed, Dec 21, 2016 at 08:53:04AM +0100, John Crispin wrote: > From: Gabor Juhos > > These quirks do not effect small small plastic routers. These routers tend > to have very little flash space. This patch adds a new option that allows > us to build a kernel without including the common quirks,

[PATCH] pci: add kernel config option for disabling common PCI quirks

2016-12-20 Thread John Crispin
From: Gabor Juhos These quirks do not effect small small plastic routers. These routers tend to have very little flash space. This patch adds a new option that allows us to build a kernel without including the common quirks, thus saving us valuable flash space. When building an image for a MIPS/