* Re: [PATCH 04/11] PCI/hotplug: Needn't remove EEH cache again
[not found] ` <1374632701-20972-5-git-send-email-shangw@linux.vnet.ibm.com>
@ 2013-07-24 18:02 ` Bjorn Helgaas
2013-07-24 21:47 ` Benjamin Herrenschmidt
0 siblings, 1 reply; 2+ messages in thread
From: Bjorn Helgaas @ 2013-07-24 18:02 UTC (permalink / raw)
To: Gavin Shan, linux-pci@vger.kernel.org
Cc: linuxppc-dev, Benjamin Herrenschmidt
[+cc linux-pci]
On Tue, Jul 23, 2013 at 8:24 PM, Gavin Shan <shangw@linux.vnet.ibm.com> wrote:
> Since pcibios_release_device() called by pci_stop_and_remove_bus_device()
> has removed the EEH cache, we needn't do that again.
>
> Cc: Bjorn Helgaas <bhelgaas@google.com>
> Acked-by: Bjorn Helgaas <bhelgaas@google.com>
> Signed-off-by: Gavin Shan <shangw@linux.vnet.ibm.com>
I'll be happy to merge this if you want, or since you have my Ack
already, you can merge it with the rest of the series. I didn't get
the rest of the series, so I don't know if it depends on this.
Just let me know what you want me to do.
> ---
> drivers/pci/hotplug/rpadlpar_core.c | 1 -
> 1 files changed, 0 insertions(+), 1 deletions(-)
>
> diff --git a/drivers/pci/hotplug/rpadlpar_core.c b/drivers/pci/hotplug/rpadlpar_core.c
> index b29e20b..bb7af78 100644
> --- a/drivers/pci/hotplug/rpadlpar_core.c
> +++ b/drivers/pci/hotplug/rpadlpar_core.c
> @@ -388,7 +388,6 @@ int dlpar_remove_pci_slot(char *drc_name, struct device_node *dn)
> /* Remove the EADS bridge device itself */
> BUG_ON(!bus->self);
> pr_debug("PCI: Now removing bridge device %s\n", pci_name(bus->self));
> - eeh_remove_bus_device(bus->self, true);
> pci_stop_and_remove_bus_device(bus->self);
>
> return 0;
> --
> 1.7.5.4
>
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [PATCH 04/11] PCI/hotplug: Needn't remove EEH cache again
2013-07-24 18:02 ` [PATCH 04/11] PCI/hotplug: Needn't remove EEH cache again Bjorn Helgaas
@ 2013-07-24 21:47 ` Benjamin Herrenschmidt
0 siblings, 0 replies; 2+ messages in thread
From: Benjamin Herrenschmidt @ 2013-07-24 21:47 UTC (permalink / raw)
To: Bjorn Helgaas; +Cc: Gavin Shan, linux-pci@vger.kernel.org, linuxppc-dev
On Wed, 2013-07-24 at 12:02 -0600, Bjorn Helgaas wrote:
> [+cc linux-pci]
>
> On Tue, Jul 23, 2013 at 8:24 PM, Gavin Shan <shangw@linux.vnet.ibm.com> wrote:
> > Since pcibios_release_device() called by pci_stop_and_remove_bus_device()
> > has removed the EEH cache, we needn't do that again.
> >
> > Cc: Bjorn Helgaas <bhelgaas@google.com>
> > Acked-by: Bjorn Helgaas <bhelgaas@google.com>
> > Signed-off-by: Gavin Shan <shangw@linux.vnet.ibm.com>
>
> I'll be happy to merge this if you want, or since you have my Ack
> already, you can merge it with the rest of the series. I didn't get
> the rest of the series, so I don't know if it depends on this.
>
> Just let me know what you want me to do.
Already merged :-)
Thanks !
Cheers,
Ben.
> > ---
> > drivers/pci/hotplug/rpadlpar_core.c | 1 -
> > 1 files changed, 0 insertions(+), 1 deletions(-)
> >
> > diff --git a/drivers/pci/hotplug/rpadlpar_core.c b/drivers/pci/hotplug/rpadlpar_core.c
> > index b29e20b..bb7af78 100644
> > --- a/drivers/pci/hotplug/rpadlpar_core.c
> > +++ b/drivers/pci/hotplug/rpadlpar_core.c
> > @@ -388,7 +388,6 @@ int dlpar_remove_pci_slot(char *drc_name, struct device_node *dn)
> > /* Remove the EADS bridge device itself */
> > BUG_ON(!bus->self);
> > pr_debug("PCI: Now removing bridge device %s\n", pci_name(bus->self));
> > - eeh_remove_bus_device(bus->self, true);
> > pci_stop_and_remove_bus_device(bus->self);
> >
> > return 0;
> > --
> > 1.7.5.4
> >
> --
> To unsubscribe from this list: send the line "unsubscribe linux-pci" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at http://vger.kernel.org/majordomo-info.html
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2013-07-24 21:48 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <1374632701-20972-1-git-send-email-shangw@linux.vnet.ibm.com>
[not found] ` <1374632701-20972-5-git-send-email-shangw@linux.vnet.ibm.com>
2013-07-24 18:02 ` [PATCH 04/11] PCI/hotplug: Needn't remove EEH cache again Bjorn Helgaas
2013-07-24 21:47 ` Benjamin Herrenschmidt
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox