[Top] [All Lists]

Re: PCI Section mismatch error in linux-next.

To: Bjorn Helgaas <>
Subject: Re: PCI Section mismatch error in linux-next.
From: Thierry Reding <>
Date: Fri, 17 Aug 2012 23:07:18 +0200
Cc: David Daney <>, Ralf Baechle <>,, linux-mips <>
In-reply-to: <>
List-archive: <>
List-help: <>
List-id: linux-mips <>
List-owner: <>
List-post: <>
List-software: Ecartis version 1.0.0
List-subscribe: <>
List-unsubscribe: <>
References: <> <> <> <> <> <> <>
User-agent: Mutt/1.5.21 (2010-09-15)
On Fri, Aug 17, 2012 at 10:48:39PM +0200, Thierry Reding wrote:
> On Fri, Aug 17, 2012 at 02:39:34PM -0600, Bjorn Helgaas wrote:
> > Well, maybe you just need to turn on CONFIG_HOTPLUG.  How would that
> > affect you?  I think we would still have to change some __inits to
> > __devinit, including pcibios_update_irq(), but it might be more
> > manageable.
> You said that depending on HOTPLUG wouldn't be enough because it would
> exclude reenumeration at runtime if HOTPLUG wasn't defined. Also it is
> theoretically possible to build a kernel without HOTPLUG but have the
> enumeration start after init because of deferred probing. Those cases
> won't work if we keep __init or __devinit respectively, right?

Another possibility would be to make PCI select HOTPLUG or depend on it.
That way it would be made sure that __devinit wouldn't cause all the
functions to be discarded after init.

Also, using PCI without HOTPLUG is sort of contradictory.


Attachment: pgp2fIQrQv6y7.pgp
Description: PGP signature

<Prev in Thread] Current Thread [Next in Thread>