Re: [RFC PATCH 02/11] drivers/base: Add hotplug framework code

2012-12-13 Thread Toshi Kani
On Thu, 2012-12-13 at 10:24 -0800, Greg KH wrote: > On Thu, Dec 13, 2012 at 09:30:51AM -0700, Toshi Kani wrote: > > On Thu, 2012-12-13 at 04:24 +, Greg KH wrote: > > > On Wed, Dec 12, 2012 at 09:02:45PM -0700, Toshi Kani wrote: > > > > On Wed, 2012-12-12 at 15:54 -0800, Greg KH wrote: > > > >

Re: [RFC PATCH 02/11] drivers/base: Add hotplug framework code

2012-12-13 Thread Greg KH
On Thu, Dec 13, 2012 at 09:30:51AM -0700, Toshi Kani wrote: > On Thu, 2012-12-13 at 04:24 +, Greg KH wrote: > > On Wed, Dec 12, 2012 at 09:02:45PM -0700, Toshi Kani wrote: > > > On Wed, 2012-12-12 at 15:54 -0800, Greg KH wrote: > > > > On Wed, Dec 12, 2012 at 04:17:14PM -0700, Toshi Kani

Re: [RFC PATCH 02/11] drivers/base: Add hotplug framework code

2012-12-13 Thread Toshi Kani
On Thu, 2012-12-13 at 04:24 +, Greg KH wrote: > On Wed, Dec 12, 2012 at 09:02:45PM -0700, Toshi Kani wrote: > > On Wed, 2012-12-12 at 15:54 -0800, Greg KH wrote: > > > On Wed, Dec 12, 2012 at 04:17:14PM -0700, Toshi Kani wrote: > > > > Added hotplug.c, which is the hotplug framework code. > >

Re: [RFC PATCH 02/11] drivers/base: Add hotplug framework code

2012-12-13 Thread Toshi Kani
On Thu, 2012-12-13 at 04:24 +, Greg KH wrote: On Wed, Dec 12, 2012 at 09:02:45PM -0700, Toshi Kani wrote: On Wed, 2012-12-12 at 15:54 -0800, Greg KH wrote: On Wed, Dec 12, 2012 at 04:17:14PM -0700, Toshi Kani wrote: Added hotplug.c, which is the hotplug framework code. Again,

Re: [RFC PATCH 02/11] drivers/base: Add hotplug framework code

2012-12-13 Thread Greg KH
On Thu, Dec 13, 2012 at 09:30:51AM -0700, Toshi Kani wrote: On Thu, 2012-12-13 at 04:24 +, Greg KH wrote: On Wed, Dec 12, 2012 at 09:02:45PM -0700, Toshi Kani wrote: On Wed, 2012-12-12 at 15:54 -0800, Greg KH wrote: On Wed, Dec 12, 2012 at 04:17:14PM -0700, Toshi Kani wrote:

Re: [RFC PATCH 02/11] drivers/base: Add hotplug framework code

2012-12-13 Thread Toshi Kani
On Thu, 2012-12-13 at 10:24 -0800, Greg KH wrote: On Thu, Dec 13, 2012 at 09:30:51AM -0700, Toshi Kani wrote: On Thu, 2012-12-13 at 04:24 +, Greg KH wrote: On Wed, Dec 12, 2012 at 09:02:45PM -0700, Toshi Kani wrote: On Wed, 2012-12-12 at 15:54 -0800, Greg KH wrote: On Wed, Dec

Re: [RFC PATCH 02/11] drivers/base: Add hotplug framework code

2012-12-12 Thread Greg KH
On Wed, Dec 12, 2012 at 09:02:45PM -0700, Toshi Kani wrote: > On Wed, 2012-12-12 at 15:54 -0800, Greg KH wrote: > > On Wed, Dec 12, 2012 at 04:17:14PM -0700, Toshi Kani wrote: > > > Added hotplug.c, which is the hotplug framework code. > > > > Again, better naming please. > > Yes, I will change

Re: [RFC PATCH 02/11] drivers/base: Add hotplug framework code

2012-12-12 Thread Toshi Kani
On Wed, 2012-12-12 at 15:54 -0800, Greg KH wrote: > On Wed, Dec 12, 2012 at 04:17:14PM -0700, Toshi Kani wrote: > > Added hotplug.c, which is the hotplug framework code. > > Again, better naming please. Yes, I will change it to be more specific, something like "sys_hotplug.c". Thanks, -Toshi

Re: [RFC PATCH 02/11] drivers/base: Add hotplug framework code

2012-12-12 Thread Toshi Kani
On Wed, 2012-12-12 at 15:55 -0800, Greg KH wrote: > On Wed, Dec 12, 2012 at 04:17:14PM -0700, Toshi Kani wrote: > > --- a/drivers/base/Makefile > > +++ b/drivers/base/Makefile > > @@ -21,6 +21,7 @@ endif > > obj-$(CONFIG_SYS_HYPERVISOR) += hypervisor.o > > obj-$(CONFIG_REGMAP) += regmap/ >

Re: [RFC PATCH 02/11] drivers/base: Add hotplug framework code

2012-12-12 Thread Greg KH
On Wed, Dec 12, 2012 at 04:17:14PM -0700, Toshi Kani wrote: > --- a/drivers/base/Makefile > +++ b/drivers/base/Makefile > @@ -21,6 +21,7 @@ endif > obj-$(CONFIG_SYS_HYPERVISOR) += hypervisor.o > obj-$(CONFIG_REGMAP) += regmap/ > obj-$(CONFIG_SOC_BUS) += soc.o > +obj-$(CONFIG_HOTPLUG)+=

Re: [RFC PATCH 02/11] drivers/base: Add hotplug framework code

2012-12-12 Thread Greg KH
On Wed, Dec 12, 2012 at 04:17:14PM -0700, Toshi Kani wrote: > Added hotplug.c, which is the hotplug framework code. Again, better naming please. greg k-h -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More

[RFC PATCH 02/11] drivers/base: Add hotplug framework code

2012-12-12 Thread Toshi Kani
Added hotplug.c, which is the hotplug framework code. hp_register_handler() allows modules to register their hotplug handlers to the framework. hp_submit_req() provides the interface to submit a hotplug or online/offline request. The request is then put into hp_workqueue. hp_start_req() calls

[RFC PATCH 02/11] drivers/base: Add hotplug framework code

2012-12-12 Thread Toshi Kani
Added hotplug.c, which is the hotplug framework code. hp_register_handler() allows modules to register their hotplug handlers to the framework. hp_submit_req() provides the interface to submit a hotplug or online/offline request. The request is then put into hp_workqueue. hp_start_req() calls

Re: [RFC PATCH 02/11] drivers/base: Add hotplug framework code

2012-12-12 Thread Greg KH
On Wed, Dec 12, 2012 at 04:17:14PM -0700, Toshi Kani wrote: Added hotplug.c, which is the hotplug framework code. Again, better naming please. greg k-h -- To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to majord...@vger.kernel.org More majordomo

Re: [RFC PATCH 02/11] drivers/base: Add hotplug framework code

2012-12-12 Thread Greg KH
On Wed, Dec 12, 2012 at 04:17:14PM -0700, Toshi Kani wrote: --- a/drivers/base/Makefile +++ b/drivers/base/Makefile @@ -21,6 +21,7 @@ endif obj-$(CONFIG_SYS_HYPERVISOR) += hypervisor.o obj-$(CONFIG_REGMAP) += regmap/ obj-$(CONFIG_SOC_BUS) += soc.o +obj-$(CONFIG_HOTPLUG)+=

Re: [RFC PATCH 02/11] drivers/base: Add hotplug framework code

2012-12-12 Thread Toshi Kani
On Wed, 2012-12-12 at 15:55 -0800, Greg KH wrote: On Wed, Dec 12, 2012 at 04:17:14PM -0700, Toshi Kani wrote: --- a/drivers/base/Makefile +++ b/drivers/base/Makefile @@ -21,6 +21,7 @@ endif obj-$(CONFIG_SYS_HYPERVISOR) += hypervisor.o obj-$(CONFIG_REGMAP) += regmap/

Re: [RFC PATCH 02/11] drivers/base: Add hotplug framework code

2012-12-12 Thread Toshi Kani
On Wed, 2012-12-12 at 15:54 -0800, Greg KH wrote: On Wed, Dec 12, 2012 at 04:17:14PM -0700, Toshi Kani wrote: Added hotplug.c, which is the hotplug framework code. Again, better naming please. Yes, I will change it to be more specific, something like sys_hotplug.c. Thanks, -Toshi -- To

Re: [RFC PATCH 02/11] drivers/base: Add hotplug framework code

2012-12-12 Thread Greg KH
On Wed, Dec 12, 2012 at 09:02:45PM -0700, Toshi Kani wrote: On Wed, 2012-12-12 at 15:54 -0800, Greg KH wrote: On Wed, Dec 12, 2012 at 04:17:14PM -0700, Toshi Kani wrote: Added hotplug.c, which is the hotplug framework code. Again, better naming please. Yes, I will change it to be