linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [RFC PATCH 0/4] Allow Link state changes for Hot-Plug
@ 2013-11-19 22:39 Rajat Jain
  2013-11-21 13:16 ` Rajat Jain
  0 siblings, 1 reply; 3+ messages in thread
From: Rajat Jain @ 2013-11-19 22:39 UTC (permalink / raw)
  To: Linux-PCI, Linux-hotplug, linux-kernel
  Cc: Bjorn Helgaas, Guenter Roeck, Kenji Kaneshige, Alex Williamson,
	Yijing Wang, Paul Bolle, Eric W. Biederman, Rajat Jain,
	Rajat Jain, Guenter Roeck


Hello,

This patch set enables the use of PCI Express link up and link down events
for Hotplug or Unplug. The requirement of such a feature was originally
discussed here:

http://www.spinics.net/lists/linux-pci/msg05783.html
http://www.spinics.net/lists/hotplug/msg05801.html

Patch [1/4]: makes a function non-static for use by patch 2.
Patch [2/4]: Contains the bulk logic to allow link events to be used
             for hotplug and removal.
Patch [3/4]: Makes the pciehp_power_thread() lock free by making it
             look at a work info->req instead of slot->state.
Patch [4/4]: Introduce slot->hotplug_lock to serialize the hotplug
             operations.

I'd appreciate if you could please review and provide me with any comments.

Thanks,

Rajat

Rajat Jain (4):
  pciehp: Make check_link_active() non-static
  pciehp: Use link state change notifications for hot-plug and removal
  pciehp: Ensure all hotplug events are processed, even very fast ones.
  pciehp: Introduce hotplug_lock to serialize HP events on each slot

 drivers/pci/hotplug/pciehp.h      |    6 ++
 drivers/pci/hotplug/pciehp_core.c |   10 +-
 drivers/pci/hotplug/pciehp_ctrl.c |  181 ++++++++++++++++++++++++++++++++++---
 drivers/pci/hotplug/pciehp_hpc.c  |   63 +++++++++----
 4 files changed, 229 insertions(+), 31 deletions(-)

-- 
1.7.9.5


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [RFC PATCH 0/4] Allow Link state changes for Hot-Plug
  2013-11-19 22:39 [RFC PATCH 0/4] Allow Link state changes for Hot-Plug Rajat Jain
@ 2013-11-21 13:16 ` Rajat Jain
  2013-11-22  4:36   ` Bjorn Helgaas
  0 siblings, 1 reply; 3+ messages in thread
From: Rajat Jain @ 2013-11-21 13:16 UTC (permalink / raw)
  To: Linux-PCI, Linux-hotplug, linux-kernel
  Cc: Bjorn Helgaas, Guenter Roeck, Kenji Kaneshige, Alex Williamson,
	Yijing Wang, Paul Bolle, Eric W. Biederman, Rajat Jain,
	Rajat Jain, Guenter Roeck

Hello Bjorn / Folks,

Was wondering if you got a chance to look at this patchset?

Thanks & Best Regards,

Rajat Jain

On Tue, Nov 19, 2013 at 2:39 PM, Rajat Jain <rajatjain.linux@gmail.com> wrote:
>
> Hello,
>
> This patch set enables the use of PCI Express link up and link down events
> for Hotplug or Unplug. The requirement of such a feature was originally
> discussed here:
>
> http://www.spinics.net/lists/linux-pci/msg05783.html
> http://www.spinics.net/lists/hotplug/msg05801.html
>
> Patch [1/4]: makes a function non-static for use by patch 2.
> Patch [2/4]: Contains the bulk logic to allow link events to be used
>              for hotplug and removal.
> Patch [3/4]: Makes the pciehp_power_thread() lock free by making it
>              look at a work info->req instead of slot->state.
> Patch [4/4]: Introduce slot->hotplug_lock to serialize the hotplug
>              operations.
>
> I'd appreciate if you could please review and provide me with any comments.
>
> Thanks,
>
> Rajat
>
> Rajat Jain (4):
>   pciehp: Make check_link_active() non-static
>   pciehp: Use link state change notifications for hot-plug and removal
>   pciehp: Ensure all hotplug events are processed, even very fast ones.
>   pciehp: Introduce hotplug_lock to serialize HP events on each slot
>
>  drivers/pci/hotplug/pciehp.h      |    6 ++
>  drivers/pci/hotplug/pciehp_core.c |   10 +-
>  drivers/pci/hotplug/pciehp_ctrl.c |  181 ++++++++++++++++++++++++++++++++++---
>  drivers/pci/hotplug/pciehp_hpc.c  |   63 +++++++++----
>  4 files changed, 229 insertions(+), 31 deletions(-)
>
> --
> 1.7.9.5
>

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [RFC PATCH 0/4] Allow Link state changes for Hot-Plug
  2013-11-21 13:16 ` Rajat Jain
@ 2013-11-22  4:36   ` Bjorn Helgaas
  0 siblings, 0 replies; 3+ messages in thread
From: Bjorn Helgaas @ 2013-11-22  4:36 UTC (permalink / raw)
  To: Rajat Jain
  Cc: Linux-PCI, Linux-hotplug, linux-kernel, Guenter Roeck,
	Kenji Kaneshige, Alex Williamson, Yijing Wang, Paul Bolle,
	Eric W. Biederman, Rajat Jain, Guenter Roeck

I haven't had a chance yet, sorry.

On Thu, Nov 21, 2013 at 6:16 AM, Rajat Jain <rajatjain.linux@gmail.com> wrote:
> Hello Bjorn / Folks,
>
> Was wondering if you got a chance to look at this patchset?
>
> Thanks & Best Regards,
>
> Rajat Jain
>
> On Tue, Nov 19, 2013 at 2:39 PM, Rajat Jain <rajatjain.linux@gmail.com> wrote:
>>
>> Hello,
>>
>> This patch set enables the use of PCI Express link up and link down events
>> for Hotplug or Unplug. The requirement of such a feature was originally
>> discussed here:
>>
>> http://www.spinics.net/lists/linux-pci/msg05783.html
>> http://www.spinics.net/lists/hotplug/msg05801.html
>>
>> Patch [1/4]: makes a function non-static for use by patch 2.
>> Patch [2/4]: Contains the bulk logic to allow link events to be used
>>              for hotplug and removal.
>> Patch [3/4]: Makes the pciehp_power_thread() lock free by making it
>>              look at a work info->req instead of slot->state.
>> Patch [4/4]: Introduce slot->hotplug_lock to serialize the hotplug
>>              operations.
>>
>> I'd appreciate if you could please review and provide me with any comments.
>>
>> Thanks,
>>
>> Rajat
>>
>> Rajat Jain (4):
>>   pciehp: Make check_link_active() non-static
>>   pciehp: Use link state change notifications for hot-plug and removal
>>   pciehp: Ensure all hotplug events are processed, even very fast ones.
>>   pciehp: Introduce hotplug_lock to serialize HP events on each slot
>>
>>  drivers/pci/hotplug/pciehp.h      |    6 ++
>>  drivers/pci/hotplug/pciehp_core.c |   10 +-
>>  drivers/pci/hotplug/pciehp_ctrl.c |  181 ++++++++++++++++++++++++++++++++++---
>>  drivers/pci/hotplug/pciehp_hpc.c  |   63 +++++++++----
>>  4 files changed, 229 insertions(+), 31 deletions(-)
>>
>> --
>> 1.7.9.5
>>

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2013-11-22  4:37 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-11-19 22:39 [RFC PATCH 0/4] Allow Link state changes for Hot-Plug Rajat Jain
2013-11-21 13:16 ` Rajat Jain
2013-11-22  4:36   ` Bjorn Helgaas

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).