Re: [PATCH] Finally eradicate CONFIG_HOTPLUG
Hi Peter, On Tue, 21 May 2013 12:13:49 +0200 Peter Stuge wrote: > > Are you changing the code to have HOTPLUG always -on- or -off- ? > > From the commit message I had expected always -on-. Yes, it has been that way for some time. > Stephen Rothwell wrote: > > --- a/include/asm-generic/vmlinux.lds.h > > +++ b/include/asm-generic/vmlinux.lds.h > > @@ -68,14 +68,6 @@ > > * are handled as text/data or they can be discarded (which > > * often happens at runtime) > > */ > > -#ifdef CONFIG_HOTPLUG > > -#define DEV_KEEP(sec)*(.dev##sec) > > -#define DEV_DISCARD(sec) > > -#else > > -#define DEV_KEEP(sec) > > -#define DEV_DISCARD(sec) *(.dev##sec) > > -#endif > > - > > #ifdef CONFIG_HOTPLUG_CPU > > #define CPU_KEEP(sec)*(.cpu##sec) > > #define CPU_DISCARD(sec) > > @@ -182,8 +174,6 @@ > > *(.data)\ > > *(.ref.data)\ > > *(.data..shared_aligned) /* percpu related */ \ > > - DEV_KEEP(init.data) \ > > - DEV_KEEP(exit.data) \ > .. > > @@ -503,7 +489,6 @@ > > /* init and exit section handling */ > > #define INIT_DATA \ > > *(.init.data) \ > > - DEV_DISCARD(init.data) \ > > Shouldn't the effect of one of the above remain? As far as I can tell, all references to devinit and devexit have now been removed from the kernel, so nothing will generate code in these sections any more, so the linker script no longer needs to deal with them at all. -- Cheers, Stephen Rothwells...@canb.auug.org.au pgpGv0xSUK7ab.pgp Description: PGP signature
Re: [PATCH] Finally eradicate CONFIG_HOTPLUG
On Tuesday, May 21, 2013 01:49:35 PM Stephen Rothwell wrote: > Ever since commit 45f035ab9b8f ("CONFIG_HOTPLUG should be always on"), > it has been basically impossible to build a kernel with CONFIG_HOTPLUG > turned off. Remove all the remaining references to it. Acked-by: Rafael J. Wysocki > Cc: linux-a...@vger.kernel.org > Cc: Russell King > Cc: linux-arm-ker...@lists.infradead.org > Cc: Doug Thompson > Cc: linux-e...@vger.kernel.org > Cc: Bjorn Helgaas > Cc: linux-...@vger.kernel.org > Cc: linux-pcm...@lists.infradead.org > Cc: Hans Verkuil > Cc: Steven Whitehouse > Cc: cluster-de...@redhat.com > Cc: Arnd Bergmann > Cc: Pavel Machek > Cc: "Rafael J. Wysocki" > Cc: linux...@vger.kernel.org > Cc: Andrew Morton > Cc: linux...@kvack.org > Signed-off-by: Stephen Rothwell > --- > Documentation/ABI/testing/sysfs-bus-pci | 5 + > Documentation/SubmitChecklist | 2 +- > Documentation/cpu-hotplug.txt | 2 +- > Documentation/hwmon/submitting-patches | 3 +-- > Documentation/kbuild/kconfig.txt| 2 +- > Documentation/usb/hotplug.txt | 6 +++--- > arch/arm/Kconfig| 2 +- > arch/arm/kernel/module.c| 8 > arch/arm/kernel/vmlinux.lds.S | 4 > arch/arm/mach-ixp4xx/Kconfig| 1 - > arch/blackfin/Kconfig | 2 +- > arch/cris/arch-v32/drivers/Kconfig | 1 - > arch/ia64/Kconfig | 1 - > arch/mips/Kconfig | 2 +- > arch/parisc/Kconfig | 1 - > arch/powerpc/Kconfig| 2 +- > arch/powerpc/mm/tlb_hash64.c| 4 ++-- > arch/s390/Kconfig | 1 - > arch/sh/Kconfig | 2 +- > arch/sparc/Kconfig | 1 - > arch/x86/Kconfig| 2 +- > drivers/base/Kconfig| 2 -- > drivers/char/pcmcia/Kconfig | 2 +- > drivers/edac/Kconfig| 2 +- > drivers/pci/Kconfig | 2 -- > drivers/pci/hotplug/Kconfig | 2 +- > drivers/pcmcia/Kconfig | 1 - > drivers/staging/media/go7007/go7007.txt | 1 - > fs/gfs2/Kconfig | 5 ++--- > include/asm-generic/vmlinux.lds.h | 20 > init/Kconfig| 3 --- > kernel/power/Kconfig| 1 - > mm/Kconfig | 2 +- > 33 files changed, 22 insertions(+), 75 deletions(-) > > diff --git a/Documentation/ABI/testing/sysfs-bus-pci > b/Documentation/ABI/testing/sysfs-bus-pci > index 1ce5ae3..5210a51 100644 > --- a/Documentation/ABI/testing/sysfs-bus-pci > +++ b/Documentation/ABI/testing/sysfs-bus-pci > @@ -64,7 +64,6 @@ Description: > Writing a non-zero value to this attribute will > force a rescan of all PCI buses in the system, and > re-discover previously removed devices. > - Depends on CONFIG_HOTPLUG. > > What:/sys/bus/pci/devices/.../msi_irqs/ > Date:September, 2011 > @@ -90,7 +89,6 @@ Contact:Linux PCI developers > Description: > Writing a non-zero value to this attribute will > hot-remove the PCI device and any of its children. > - Depends on CONFIG_HOTPLUG. > > What:/sys/bus/pci/devices/.../pci_bus/.../rescan > Date:May 2011 > @@ -99,7 +97,7 @@ Description: > Writing a non-zero value to this attribute will > force a rescan of the bus and all child buses, > and re-discover devices removed earlier from this > - part of the device tree. Depends on CONFIG_HOTPLUG. > + part of the device tree. > > What:/sys/bus/pci/devices/.../rescan > Date:January 2009 > @@ -109,7 +107,6 @@ Description: > force a rescan of the device's parent bus and all > child buses, and re-discover devices removed earlier > from this part of the device tree. > - Depends on CONFIG_HOTPLUG. > > What:/sys/bus/pci/devices/.../reset > Date:July 2009 > diff --git a/Documentation/SubmitChecklist b/Documentation/SubmitChecklist > index dc0e332..2b7e32d 100644 > --- a/Documentation/SubmitChecklist > +++ b/Documentation/SubmitChecklist > @@ -105,5 +105,5 @@ kernel patches. > same time, just various/random combinations of them]: > > CONFIG_SMP, CONFIG_SYSFS, CONFIG_PROC_FS, CONFIG_INPUT, CONFIG_PCI, > -CONFIG_BLOCK, CONFIG_PM, CONFIG_HOTPLUG, CONFIG_MAGIC_SYSRQ, > +CONFIG_BLOCK, CONFIG_PM, CONFIG_MAGIC_SYSRQ, > CONFIG_NET, CONFIG_INET=n (but latter with CONFIG_NET=y) > diff --git a/Documentation/cpu-hotplug.txt b/Documentation/cpu-hotplug.txt > index 9f40135..0efd1b9 100644 > --- a/Documentation/cpu-hotplug.txt
Re: [PATCH] Finally eradicate CONFIG_HOTPLUG
Em Tue, 21 May 2013 13:49:35 +1000 Stephen Rothwell escreveu: > Ever since commit 45f035ab9b8f ("CONFIG_HOTPLUG should be always on"), > it has been basically impossible to build a kernel with CONFIG_HOTPLUG > turned off. Remove all the remaining references to it. > > Cc: linux-a...@vger.kernel.org > Cc: Russell King > Cc: linux-arm-ker...@lists.infradead.org > Cc: Doug Thompson > Cc: linux-e...@vger.kernel.org > Cc: Bjorn Helgaas > Cc: linux-...@vger.kernel.org > Cc: linux-pcm...@lists.infradead.org > Cc: Hans Verkuil > Cc: Steven Whitehouse > Cc: cluster-de...@redhat.com > Cc: Arnd Bergmann > Cc: Pavel Machek > Cc: "Rafael J. Wysocki" > Cc: linux...@vger.kernel.org > Cc: Andrew Morton > Cc: linux...@kvack.org > Signed-off-by: Stephen Rothwell Acked-by: Mauro Carvalho Chehab Cheers, Mauro -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
Re: [PATCH] Finally eradicate CONFIG_HOTPLUG
Are you changing the code to have HOTPLUG always -on- or -off- ? From the commit message I had expected always -on-. Stephen Rothwell wrote: > --- a/include/asm-generic/vmlinux.lds.h > +++ b/include/asm-generic/vmlinux.lds.h > @@ -68,14 +68,6 @@ > * are handled as text/data or they can be discarded (which > * often happens at runtime) > */ > -#ifdef CONFIG_HOTPLUG > -#define DEV_KEEP(sec)*(.dev##sec) > -#define DEV_DISCARD(sec) > -#else > -#define DEV_KEEP(sec) > -#define DEV_DISCARD(sec) *(.dev##sec) > -#endif > - > #ifdef CONFIG_HOTPLUG_CPU > #define CPU_KEEP(sec)*(.cpu##sec) > #define CPU_DISCARD(sec) > @@ -182,8 +174,6 @@ > *(.data)\ > *(.ref.data)\ > *(.data..shared_aligned) /* percpu related */ \ > - DEV_KEEP(init.data) \ > - DEV_KEEP(exit.data) \ .. > @@ -503,7 +489,6 @@ > /* init and exit section handling */ > #define INIT_DATA\ > *(.init.data) \ > - DEV_DISCARD(init.data) \ Shouldn't the effect of one of the above remain? //Peter pgp2JVo9aO0rd.pgp Description: PGP signature
Re: [PATCH] Finally eradicate CONFIG_HOTPLUG
On Tue 21 May 2013 05:49:35 Stephen Rothwell wrote: > Ever since commit 45f035ab9b8f ("CONFIG_HOTPLUG should be always on"), > it has been basically impossible to build a kernel with CONFIG_HOTPLUG > turned off. Remove all the remaining references to it. > > Cc: linux-a...@vger.kernel.org > Cc: Russell King > Cc: linux-arm-ker...@lists.infradead.org > Cc: Doug Thompson > Cc: linux-e...@vger.kernel.org > Cc: Bjorn Helgaas > Cc: linux-...@vger.kernel.org > Cc: linux-pcm...@lists.infradead.org > Cc: Hans Verkuil > Cc: Steven Whitehouse > Cc: cluster-de...@redhat.com > Cc: Arnd Bergmann > Cc: Pavel Machek > Cc: "Rafael J. Wysocki" > Cc: linux...@vger.kernel.org > Cc: Andrew Morton > Cc: linux...@kvack.org > Signed-off-by: Stephen Rothwell For drivers/staging/media/go7007/go7007.txt: Acked-by: Hans Verkuil Regards, Hans -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
Re: [PATCH] Finally eradicate CONFIG_HOTPLUG
On Tue 21 May 2013 05:49:35 Stephen Rothwell wrote: Ever since commit 45f035ab9b8f (CONFIG_HOTPLUG should be always on), it has been basically impossible to build a kernel with CONFIG_HOTPLUG turned off. Remove all the remaining references to it. Cc: linux-a...@vger.kernel.org Cc: Russell King li...@arm.linux.org.uk Cc: linux-arm-ker...@lists.infradead.org Cc: Doug Thompson dougthomp...@xmission.com Cc: linux-e...@vger.kernel.org Cc: Bjorn Helgaas bhelg...@google.com Cc: linux-...@vger.kernel.org Cc: linux-pcm...@lists.infradead.org Cc: Hans Verkuil hans.verk...@cisco.com Cc: Steven Whitehouse swhit...@redhat.com Cc: cluster-de...@redhat.com Cc: Arnd Bergmann a...@arndb.de Cc: Pavel Machek pa...@ucw.cz Cc: Rafael J. Wysocki r...@sisk.pl Cc: linux...@vger.kernel.org Cc: Andrew Morton a...@linux-foundation.org Cc: linux...@kvack.org Signed-off-by: Stephen Rothwell s...@canb.auug.org.au For drivers/staging/media/go7007/go7007.txt: Acked-by: Hans Verkuil hans.verk...@cisco.com Regards, Hans -- To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
Re: [PATCH] Finally eradicate CONFIG_HOTPLUG
Are you changing the code to have HOTPLUG always -on- or -off- ? From the commit message I had expected always -on-. Stephen Rothwell wrote: --- a/include/asm-generic/vmlinux.lds.h +++ b/include/asm-generic/vmlinux.lds.h @@ -68,14 +68,6 @@ * are handled as text/data or they can be discarded (which * often happens at runtime) */ -#ifdef CONFIG_HOTPLUG -#define DEV_KEEP(sec)*(.dev##sec) -#define DEV_DISCARD(sec) -#else -#define DEV_KEEP(sec) -#define DEV_DISCARD(sec) *(.dev##sec) -#endif - #ifdef CONFIG_HOTPLUG_CPU #define CPU_KEEP(sec)*(.cpu##sec) #define CPU_DISCARD(sec) @@ -182,8 +174,6 @@ *(.data)\ *(.ref.data)\ *(.data..shared_aligned) /* percpu related */ \ - DEV_KEEP(init.data) \ - DEV_KEEP(exit.data) \ .. @@ -503,7 +489,6 @@ /* init and exit section handling */ #define INIT_DATA\ *(.init.data) \ - DEV_DISCARD(init.data) \ Shouldn't the effect of one of the above remain? //Peter pgp2JVo9aO0rd.pgp Description: PGP signature
Re: [PATCH] Finally eradicate CONFIG_HOTPLUG
Em Tue, 21 May 2013 13:49:35 +1000 Stephen Rothwell s...@canb.auug.org.au escreveu: Ever since commit 45f035ab9b8f (CONFIG_HOTPLUG should be always on), it has been basically impossible to build a kernel with CONFIG_HOTPLUG turned off. Remove all the remaining references to it. Cc: linux-a...@vger.kernel.org Cc: Russell King li...@arm.linux.org.uk Cc: linux-arm-ker...@lists.infradead.org Cc: Doug Thompson dougthomp...@xmission.com Cc: linux-e...@vger.kernel.org Cc: Bjorn Helgaas bhelg...@google.com Cc: linux-...@vger.kernel.org Cc: linux-pcm...@lists.infradead.org Cc: Hans Verkuil hans.verk...@cisco.com Cc: Steven Whitehouse swhit...@redhat.com Cc: cluster-de...@redhat.com Cc: Arnd Bergmann a...@arndb.de Cc: Pavel Machek pa...@ucw.cz Cc: Rafael J. Wysocki r...@sisk.pl Cc: linux...@vger.kernel.org Cc: Andrew Morton a...@linux-foundation.org Cc: linux...@kvack.org Signed-off-by: Stephen Rothwell s...@canb.auug.org.au Acked-by: Mauro Carvalho Chehab mche...@redhat.com Cheers, Mauro -- To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
Re: [PATCH] Finally eradicate CONFIG_HOTPLUG
On Tuesday, May 21, 2013 01:49:35 PM Stephen Rothwell wrote: Ever since commit 45f035ab9b8f (CONFIG_HOTPLUG should be always on), it has been basically impossible to build a kernel with CONFIG_HOTPLUG turned off. Remove all the remaining references to it. Acked-by: Rafael J. Wysocki rafael.j.wyso...@intel.com Cc: linux-a...@vger.kernel.org Cc: Russell King li...@arm.linux.org.uk Cc: linux-arm-ker...@lists.infradead.org Cc: Doug Thompson dougthomp...@xmission.com Cc: linux-e...@vger.kernel.org Cc: Bjorn Helgaas bhelg...@google.com Cc: linux-...@vger.kernel.org Cc: linux-pcm...@lists.infradead.org Cc: Hans Verkuil hans.verk...@cisco.com Cc: Steven Whitehouse swhit...@redhat.com Cc: cluster-de...@redhat.com Cc: Arnd Bergmann a...@arndb.de Cc: Pavel Machek pa...@ucw.cz Cc: Rafael J. Wysocki r...@sisk.pl Cc: linux...@vger.kernel.org Cc: Andrew Morton a...@linux-foundation.org Cc: linux...@kvack.org Signed-off-by: Stephen Rothwell s...@canb.auug.org.au --- Documentation/ABI/testing/sysfs-bus-pci | 5 + Documentation/SubmitChecklist | 2 +- Documentation/cpu-hotplug.txt | 2 +- Documentation/hwmon/submitting-patches | 3 +-- Documentation/kbuild/kconfig.txt| 2 +- Documentation/usb/hotplug.txt | 6 +++--- arch/arm/Kconfig| 2 +- arch/arm/kernel/module.c| 8 arch/arm/kernel/vmlinux.lds.S | 4 arch/arm/mach-ixp4xx/Kconfig| 1 - arch/blackfin/Kconfig | 2 +- arch/cris/arch-v32/drivers/Kconfig | 1 - arch/ia64/Kconfig | 1 - arch/mips/Kconfig | 2 +- arch/parisc/Kconfig | 1 - arch/powerpc/Kconfig| 2 +- arch/powerpc/mm/tlb_hash64.c| 4 ++-- arch/s390/Kconfig | 1 - arch/sh/Kconfig | 2 +- arch/sparc/Kconfig | 1 - arch/x86/Kconfig| 2 +- drivers/base/Kconfig| 2 -- drivers/char/pcmcia/Kconfig | 2 +- drivers/edac/Kconfig| 2 +- drivers/pci/Kconfig | 2 -- drivers/pci/hotplug/Kconfig | 2 +- drivers/pcmcia/Kconfig | 1 - drivers/staging/media/go7007/go7007.txt | 1 - fs/gfs2/Kconfig | 5 ++--- include/asm-generic/vmlinux.lds.h | 20 init/Kconfig| 3 --- kernel/power/Kconfig| 1 - mm/Kconfig | 2 +- 33 files changed, 22 insertions(+), 75 deletions(-) diff --git a/Documentation/ABI/testing/sysfs-bus-pci b/Documentation/ABI/testing/sysfs-bus-pci index 1ce5ae3..5210a51 100644 --- a/Documentation/ABI/testing/sysfs-bus-pci +++ b/Documentation/ABI/testing/sysfs-bus-pci @@ -64,7 +64,6 @@ Description: Writing a non-zero value to this attribute will force a rescan of all PCI buses in the system, and re-discover previously removed devices. - Depends on CONFIG_HOTPLUG. What:/sys/bus/pci/devices/.../msi_irqs/ Date:September, 2011 @@ -90,7 +89,6 @@ Contact:Linux PCI developers linux-...@vger.kernel.org Description: Writing a non-zero value to this attribute will hot-remove the PCI device and any of its children. - Depends on CONFIG_HOTPLUG. What:/sys/bus/pci/devices/.../pci_bus/.../rescan Date:May 2011 @@ -99,7 +97,7 @@ Description: Writing a non-zero value to this attribute will force a rescan of the bus and all child buses, and re-discover devices removed earlier from this - part of the device tree. Depends on CONFIG_HOTPLUG. + part of the device tree. What:/sys/bus/pci/devices/.../rescan Date:January 2009 @@ -109,7 +107,6 @@ Description: force a rescan of the device's parent bus and all child buses, and re-discover devices removed earlier from this part of the device tree. - Depends on CONFIG_HOTPLUG. What:/sys/bus/pci/devices/.../reset Date:July 2009 diff --git a/Documentation/SubmitChecklist b/Documentation/SubmitChecklist index dc0e332..2b7e32d 100644 --- a/Documentation/SubmitChecklist +++ b/Documentation/SubmitChecklist @@ -105,5 +105,5 @@ kernel patches. same time, just various/random combinations of them]: CONFIG_SMP, CONFIG_SYSFS, CONFIG_PROC_FS, CONFIG_INPUT, CONFIG_PCI, -CONFIG_BLOCK, CONFIG_PM, CONFIG_HOTPLUG, CONFIG_MAGIC_SYSRQ, +CONFIG_BLOCK, CONFIG_PM, CONFIG_MAGIC_SYSRQ, CONFIG_NET, CONFIG_INET=n (but latter with CONFIG_NET=y) diff --git
Re: [PATCH] Finally eradicate CONFIG_HOTPLUG
Hi Peter, On Tue, 21 May 2013 12:13:49 +0200 Peter Stuge pe...@stuge.se wrote: Are you changing the code to have HOTPLUG always -on- or -off- ? From the commit message I had expected always -on-. Yes, it has been that way for some time. Stephen Rothwell wrote: --- a/include/asm-generic/vmlinux.lds.h +++ b/include/asm-generic/vmlinux.lds.h @@ -68,14 +68,6 @@ * are handled as text/data or they can be discarded (which * often happens at runtime) */ -#ifdef CONFIG_HOTPLUG -#define DEV_KEEP(sec)*(.dev##sec) -#define DEV_DISCARD(sec) -#else -#define DEV_KEEP(sec) -#define DEV_DISCARD(sec) *(.dev##sec) -#endif - #ifdef CONFIG_HOTPLUG_CPU #define CPU_KEEP(sec)*(.cpu##sec) #define CPU_DISCARD(sec) @@ -182,8 +174,6 @@ *(.data)\ *(.ref.data)\ *(.data..shared_aligned) /* percpu related */ \ - DEV_KEEP(init.data) \ - DEV_KEEP(exit.data) \ .. @@ -503,7 +489,6 @@ /* init and exit section handling */ #define INIT_DATA \ *(.init.data) \ - DEV_DISCARD(init.data) \ Shouldn't the effect of one of the above remain? As far as I can tell, all references to devinit and devexit have now been removed from the kernel, so nothing will generate code in these sections any more, so the linker script no longer needs to deal with them at all. -- Cheers, Stephen Rothwells...@canb.auug.org.au pgpGv0xSUK7ab.pgp Description: PGP signature
[PATCH] Finally eradicate CONFIG_HOTPLUG
Ever since commit 45f035ab9b8f ("CONFIG_HOTPLUG should be always on"), it has been basically impossible to build a kernel with CONFIG_HOTPLUG turned off. Remove all the remaining references to it. Cc: linux-a...@vger.kernel.org Cc: Russell King Cc: linux-arm-ker...@lists.infradead.org Cc: Doug Thompson Cc: linux-e...@vger.kernel.org Cc: Bjorn Helgaas Cc: linux-...@vger.kernel.org Cc: linux-pcm...@lists.infradead.org Cc: Hans Verkuil Cc: Steven Whitehouse Cc: cluster-de...@redhat.com Cc: Arnd Bergmann Cc: Pavel Machek Cc: "Rafael J. Wysocki" Cc: linux...@vger.kernel.org Cc: Andrew Morton Cc: linux...@kvack.org Signed-off-by: Stephen Rothwell --- Documentation/ABI/testing/sysfs-bus-pci | 5 + Documentation/SubmitChecklist | 2 +- Documentation/cpu-hotplug.txt | 2 +- Documentation/hwmon/submitting-patches | 3 +-- Documentation/kbuild/kconfig.txt| 2 +- Documentation/usb/hotplug.txt | 6 +++--- arch/arm/Kconfig| 2 +- arch/arm/kernel/module.c| 8 arch/arm/kernel/vmlinux.lds.S | 4 arch/arm/mach-ixp4xx/Kconfig| 1 - arch/blackfin/Kconfig | 2 +- arch/cris/arch-v32/drivers/Kconfig | 1 - arch/ia64/Kconfig | 1 - arch/mips/Kconfig | 2 +- arch/parisc/Kconfig | 1 - arch/powerpc/Kconfig| 2 +- arch/powerpc/mm/tlb_hash64.c| 4 ++-- arch/s390/Kconfig | 1 - arch/sh/Kconfig | 2 +- arch/sparc/Kconfig | 1 - arch/x86/Kconfig| 2 +- drivers/base/Kconfig| 2 -- drivers/char/pcmcia/Kconfig | 2 +- drivers/edac/Kconfig| 2 +- drivers/pci/Kconfig | 2 -- drivers/pci/hotplug/Kconfig | 2 +- drivers/pcmcia/Kconfig | 1 - drivers/staging/media/go7007/go7007.txt | 1 - fs/gfs2/Kconfig | 5 ++--- include/asm-generic/vmlinux.lds.h | 20 init/Kconfig| 3 --- kernel/power/Kconfig| 1 - mm/Kconfig | 2 +- 33 files changed, 22 insertions(+), 75 deletions(-) diff --git a/Documentation/ABI/testing/sysfs-bus-pci b/Documentation/ABI/testing/sysfs-bus-pci index 1ce5ae3..5210a51 100644 --- a/Documentation/ABI/testing/sysfs-bus-pci +++ b/Documentation/ABI/testing/sysfs-bus-pci @@ -64,7 +64,6 @@ Description: Writing a non-zero value to this attribute will force a rescan of all PCI buses in the system, and re-discover previously removed devices. - Depends on CONFIG_HOTPLUG. What: /sys/bus/pci/devices/.../msi_irqs/ Date: September, 2011 @@ -90,7 +89,6 @@ Contact: Linux PCI developers Description: Writing a non-zero value to this attribute will hot-remove the PCI device and any of its children. - Depends on CONFIG_HOTPLUG. What: /sys/bus/pci/devices/.../pci_bus/.../rescan Date: May 2011 @@ -99,7 +97,7 @@ Description: Writing a non-zero value to this attribute will force a rescan of the bus and all child buses, and re-discover devices removed earlier from this - part of the device tree. Depends on CONFIG_HOTPLUG. + part of the device tree. What: /sys/bus/pci/devices/.../rescan Date: January 2009 @@ -109,7 +107,6 @@ Description: force a rescan of the device's parent bus and all child buses, and re-discover devices removed earlier from this part of the device tree. - Depends on CONFIG_HOTPLUG. What: /sys/bus/pci/devices/.../reset Date: July 2009 diff --git a/Documentation/SubmitChecklist b/Documentation/SubmitChecklist index dc0e332..2b7e32d 100644 --- a/Documentation/SubmitChecklist +++ b/Documentation/SubmitChecklist @@ -105,5 +105,5 @@ kernel patches. same time, just various/random combinations of them]: CONFIG_SMP, CONFIG_SYSFS, CONFIG_PROC_FS, CONFIG_INPUT, CONFIG_PCI, -CONFIG_BLOCK, CONFIG_PM, CONFIG_HOTPLUG, CONFIG_MAGIC_SYSRQ, +CONFIG_BLOCK, CONFIG_PM, CONFIG_MAGIC_SYSRQ, CONFIG_NET, CONFIG_INET=n (but latter with CONFIG_NET=y) diff --git a/Documentation/cpu-hotplug.txt b/Documentation/cpu-hotplug.txt index 9f40135..0efd1b9 100644 --- a/Documentation/cpu-hotplug.txt +++ b/Documentation/cpu-hotplug.txt @@ -128,7 +128,7 @@ A: When doing make defconfig, Enable CPU hotplug support "Processor type and Features" -> Support for Hotpluggable CPUs -Make sure that you have CONFIG_HOTPLUG, and CONFIG_SMP turned on as well. +Make sure that you have CONFIG_SMP turned on as well. You
[PATCH] Finally eradicate CONFIG_HOTPLUG
Ever since commit 45f035ab9b8f (CONFIG_HOTPLUG should be always on), it has been basically impossible to build a kernel with CONFIG_HOTPLUG turned off. Remove all the remaining references to it. Cc: linux-a...@vger.kernel.org Cc: Russell King li...@arm.linux.org.uk Cc: linux-arm-ker...@lists.infradead.org Cc: Doug Thompson dougthomp...@xmission.com Cc: linux-e...@vger.kernel.org Cc: Bjorn Helgaas bhelg...@google.com Cc: linux-...@vger.kernel.org Cc: linux-pcm...@lists.infradead.org Cc: Hans Verkuil hans.verk...@cisco.com Cc: Steven Whitehouse swhit...@redhat.com Cc: cluster-de...@redhat.com Cc: Arnd Bergmann a...@arndb.de Cc: Pavel Machek pa...@ucw.cz Cc: Rafael J. Wysocki r...@sisk.pl Cc: linux...@vger.kernel.org Cc: Andrew Morton a...@linux-foundation.org Cc: linux...@kvack.org Signed-off-by: Stephen Rothwell s...@canb.auug.org.au --- Documentation/ABI/testing/sysfs-bus-pci | 5 + Documentation/SubmitChecklist | 2 +- Documentation/cpu-hotplug.txt | 2 +- Documentation/hwmon/submitting-patches | 3 +-- Documentation/kbuild/kconfig.txt| 2 +- Documentation/usb/hotplug.txt | 6 +++--- arch/arm/Kconfig| 2 +- arch/arm/kernel/module.c| 8 arch/arm/kernel/vmlinux.lds.S | 4 arch/arm/mach-ixp4xx/Kconfig| 1 - arch/blackfin/Kconfig | 2 +- arch/cris/arch-v32/drivers/Kconfig | 1 - arch/ia64/Kconfig | 1 - arch/mips/Kconfig | 2 +- arch/parisc/Kconfig | 1 - arch/powerpc/Kconfig| 2 +- arch/powerpc/mm/tlb_hash64.c| 4 ++-- arch/s390/Kconfig | 1 - arch/sh/Kconfig | 2 +- arch/sparc/Kconfig | 1 - arch/x86/Kconfig| 2 +- drivers/base/Kconfig| 2 -- drivers/char/pcmcia/Kconfig | 2 +- drivers/edac/Kconfig| 2 +- drivers/pci/Kconfig | 2 -- drivers/pci/hotplug/Kconfig | 2 +- drivers/pcmcia/Kconfig | 1 - drivers/staging/media/go7007/go7007.txt | 1 - fs/gfs2/Kconfig | 5 ++--- include/asm-generic/vmlinux.lds.h | 20 init/Kconfig| 3 --- kernel/power/Kconfig| 1 - mm/Kconfig | 2 +- 33 files changed, 22 insertions(+), 75 deletions(-) diff --git a/Documentation/ABI/testing/sysfs-bus-pci b/Documentation/ABI/testing/sysfs-bus-pci index 1ce5ae3..5210a51 100644 --- a/Documentation/ABI/testing/sysfs-bus-pci +++ b/Documentation/ABI/testing/sysfs-bus-pci @@ -64,7 +64,6 @@ Description: Writing a non-zero value to this attribute will force a rescan of all PCI buses in the system, and re-discover previously removed devices. - Depends on CONFIG_HOTPLUG. What: /sys/bus/pci/devices/.../msi_irqs/ Date: September, 2011 @@ -90,7 +89,6 @@ Contact: Linux PCI developers linux-...@vger.kernel.org Description: Writing a non-zero value to this attribute will hot-remove the PCI device and any of its children. - Depends on CONFIG_HOTPLUG. What: /sys/bus/pci/devices/.../pci_bus/.../rescan Date: May 2011 @@ -99,7 +97,7 @@ Description: Writing a non-zero value to this attribute will force a rescan of the bus and all child buses, and re-discover devices removed earlier from this - part of the device tree. Depends on CONFIG_HOTPLUG. + part of the device tree. What: /sys/bus/pci/devices/.../rescan Date: January 2009 @@ -109,7 +107,6 @@ Description: force a rescan of the device's parent bus and all child buses, and re-discover devices removed earlier from this part of the device tree. - Depends on CONFIG_HOTPLUG. What: /sys/bus/pci/devices/.../reset Date: July 2009 diff --git a/Documentation/SubmitChecklist b/Documentation/SubmitChecklist index dc0e332..2b7e32d 100644 --- a/Documentation/SubmitChecklist +++ b/Documentation/SubmitChecklist @@ -105,5 +105,5 @@ kernel patches. same time, just various/random combinations of them]: CONFIG_SMP, CONFIG_SYSFS, CONFIG_PROC_FS, CONFIG_INPUT, CONFIG_PCI, -CONFIG_BLOCK, CONFIG_PM, CONFIG_HOTPLUG, CONFIG_MAGIC_SYSRQ, +CONFIG_BLOCK, CONFIG_PM, CONFIG_MAGIC_SYSRQ, CONFIG_NET, CONFIG_INET=n (but latter with CONFIG_NET=y) diff --git a/Documentation/cpu-hotplug.txt b/Documentation/cpu-hotplug.txt index 9f40135..0efd1b9 100644 --- a/Documentation/cpu-hotplug.txt +++ b/Documentation/cpu-hotplug.txt @@ -128,7 +128,7 @@ A: When doing make defconfig, Enable CPU hotplug