Re: [PATCH v15 8/9] PCI/DPC: Unify and plumb error handling into DPC

2018-05-10 Thread Bjorn Helgaas
On Thu, May 10, 2018 at 07:56:00PM +0530, p...@codeaurora.org wrote: > On 2018-05-10 18:52, Bjorn Helgaas wrote: > > On Thu, May 03, 2018 at 01:03:57AM -0400, Oza Pawandeep wrote: > ... > > > -static pci_ers_result_t reset_link(struct pci_dev *dev) > > > +static pci_ers_result_t reset_link(struct

Re: [PATCH v15 8/9] PCI/DPC: Unify and plumb error handling into DPC

2018-05-10 Thread Bjorn Helgaas
On Thu, May 10, 2018 at 07:56:00PM +0530, p...@codeaurora.org wrote: > On 2018-05-10 18:52, Bjorn Helgaas wrote: > > On Thu, May 03, 2018 at 01:03:57AM -0400, Oza Pawandeep wrote: > ... > > > -static pci_ers_result_t reset_link(struct pci_dev *dev) > > > +static pci_ers_result_t reset_link(struct

Re: [PATCH v15 8/9] PCI/DPC: Unify and plumb error handling into DPC

2018-05-10 Thread poza
On 2018-05-10 18:52, Bjorn Helgaas wrote: On Thu, May 03, 2018 at 01:03:57AM -0400, Oza Pawandeep wrote: Current DPC driver does not do recovery, e.g. calling end-point's driver's callbacks, which sanitize the sw. DPC driver implements link_reset callback, and calls pci_do_recovery().

Re: [PATCH v15 8/9] PCI/DPC: Unify and plumb error handling into DPC

2018-05-10 Thread poza
On 2018-05-10 18:52, Bjorn Helgaas wrote: On Thu, May 03, 2018 at 01:03:57AM -0400, Oza Pawandeep wrote: Current DPC driver does not do recovery, e.g. calling end-point's driver's callbacks, which sanitize the sw. DPC driver implements link_reset callback, and calls pci_do_recovery().

Re: [PATCH v15 8/9] PCI/DPC: Unify and plumb error handling into DPC

2018-05-10 Thread Bjorn Helgaas
On Thu, May 03, 2018 at 01:03:57AM -0400, Oza Pawandeep wrote: > Current DPC driver does not do recovery, e.g. calling end-point's driver's > callbacks, which sanitize the sw. > > DPC driver implements link_reset callback, and calls pci_do_recovery(). > > Signed-off-by: Oza Pawandeep

Re: [PATCH v15 8/9] PCI/DPC: Unify and plumb error handling into DPC

2018-05-10 Thread Bjorn Helgaas
On Thu, May 03, 2018 at 01:03:57AM -0400, Oza Pawandeep wrote: > Current DPC driver does not do recovery, e.g. calling end-point's driver's > callbacks, which sanitize the sw. > > DPC driver implements link_reset callback, and calls pci_do_recovery(). > > Signed-off-by: Oza Pawandeep > > diff

[PATCH v15 8/9] PCI/DPC: Unify and plumb error handling into DPC

2018-05-02 Thread Oza Pawandeep
Current DPC driver does not do recovery, e.g. calling end-point's driver's callbacks, which sanitize the sw. DPC driver implements link_reset callback, and calls pci_do_recovery(). Signed-off-by: Oza Pawandeep diff --git a/drivers/pci/pcie/dpc.c b/drivers/pci/pcie/dpc.c

[PATCH v15 8/9] PCI/DPC: Unify and plumb error handling into DPC

2018-05-02 Thread Oza Pawandeep
Current DPC driver does not do recovery, e.g. calling end-point's driver's callbacks, which sanitize the sw. DPC driver implements link_reset callback, and calls pci_do_recovery(). Signed-off-by: Oza Pawandeep diff --git a/drivers/pci/pcie/dpc.c b/drivers/pci/pcie/dpc.c index 80ec384..aed7c9f