From: Gavin Shan <gwshan@linux.vnet.ibm.com>
To: Michael Ellerman <mpe@ellerman.id.au>
Cc: Gavin Shan <gwshan@linux.vnet.ibm.com>, linuxppc-dev@ozlabs.org
Subject: Re: [PATCH 4/4] drivers/pci/hotplug: Support surprise hotplug
Date: Wed, 21 Sep 2016 22:20:48 +1000 [thread overview]
Message-ID: <20160921122047.GA9104@gwshan> (raw)
In-Reply-To: <8737ktao99.fsf@concordia.ellerman.id.au>
On Wed, Sep 21, 2016 at 02:08:18PM +1000, Michael Ellerman wrote:
>Gavin Shan <gwshan@linux.vnet.ibm.com> writes:
>
>> This supports PCI surprise hotplug. The design is highlighted as
>> below:
>>
>> * The PCI slot's surprise hotplug capability is exposed through
>> device node property "ibm,slot-surprise-pluggable", meaning
>> PCI surprise hotplug will be disabled if skiboot doesn't support
>> it yet.
>> * The interrupt because of presence or link state change is raised
>> on surprise hotplug event. One event is allocated and queued to
>> the PCI slot for workqueue to pick it up and process in serialized
>> fashion. The code flow for surprise hotplug is same to that for
>> managed hotplug except: the affected PEs are put into frozen state
>> to avoid unexpected EEH error reporting in surprise hot remove path.
>>
>> Signed-off-by: Gavin Shan <gwshan@linux.vnet.ibm.com>
>> ---
>> arch/powerpc/include/asm/pnv-pci.h | 9 ++
>> drivers/pci/hotplug/pnv_php.c | 219 +++++++++++++++++++++++++++++++++++++
>
>Can you please resend this and Cc linux-pci and Bjorn, thanks.
>
Thanks for the tips that I should have followed last time when posting the patches.
This series was resent and Bjorn/linux-pci are copied. Please ignore this copy.
Thanks,
Gavin
>cheers
>
next prev parent reply other threads:[~2016-09-21 12:20 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-09-15 2:07 [PATCH 0/4] powerpc/powernv: PCI Surprise Hotplug Support Gavin Shan
2016-09-15 2:07 ` [PATCH 1/4] powerpc/eeh: Allow to freeze PE in eeh_pe_set_option() Gavin Shan
2016-09-15 2:07 ` [PATCH 2/4] powerpc/eeh: Export eeh_pe_state_mark() Gavin Shan
2016-09-15 2:07 ` [PATCH 3/4] powerpc/powernv: Unfreeze PE on allocation Gavin Shan
2016-09-15 2:07 ` [PATCH 4/4] drivers/pci/hotplug: Support surprise hotplug Gavin Shan
2016-09-21 4:08 ` Michael Ellerman
2016-09-21 12:20 ` Gavin Shan [this message]
-- strict thread matches above, loose matches on Subject: below --
2016-09-21 12:15 [PATCH 0/4] powerpc/powernv: PCI Surprise Hotplug Support Gavin Shan
2016-09-21 12:15 ` [PATCH 4/4] drivers/pci/hotplug: Support surprise hotplug Gavin Shan
2016-09-21 16:57 ` Bjorn Helgaas
2016-09-22 10:51 ` Michael Ellerman
2016-09-26 13:08 ` Gavin Shan
2016-09-26 13:11 ` Bjorn Helgaas
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20160921122047.GA9104@gwshan \
--to=gwshan@linux.vnet.ibm.com \
--cc=linuxppc-dev@ozlabs.org \
--cc=mpe@ellerman.id.au \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).