Messages in this thread | | | From | Wei Hu <> | Subject | RE: [PATCH v3 2/2] PCI: hv: Retry PCI bus D0 entry when the first attempt failed with invalid device state | Date | Mon, 11 May 2020 14:11:21 +0000 |
| |
> -----Original Message----- > From: Lorenzo Pieralisi <lorenzo.pieralisi@arm.com> > Sent: Monday, May 11, 2020 7:21 PM > To: Wei Hu <weh@microsoft.com> > Cc: KY Srinivasan <kys@microsoft.com>; Haiyang Zhang > <haiyangz@microsoft.com>; Stephen Hemminger <sthemmin@microsoft.com>; > wei.liu@kernel.org; robh@kernel.org; bhelgaas@google.com; linux- > hyperv@vger.kernel.org; linux-pci@vger.kernel.org; linux- > kernel@vger.kernel.org; Dexuan Cui <decui@microsoft.com>; Michael Kelley > <mikelley@microsoft.com> > Subject: Re: [PATCH v3 2/2] PCI: hv: Retry PCI bus D0 entry when the first > attempt failed with invalid device state > > On Thu, May 07, 2020 at 01:03:00PM +0800, Wei Hu wrote: > > In the case of kdump, the PCI device was not cleanly shut down before > > the kdump kernel starts. This causes the initial attempt of entering > > D0 state in the kdump kernel to fail with invalid device state > > returned from Hyper-V host. > > When this happens, explicitly call PCI bus exit and retry to enter the > > D0 state. > > > > Signed-off-by: Wei Hu <weh@microsoft.com> > > --- > > v2: Incorporate review comments from Michael Kelley, Dexuan Cui and > > Bjorn Helgaas > > > > drivers/pci/controller/pci-hyperv.c | 40 > > +++++++++++++++++++++++++++-- > > 1 file changed, 38 insertions(+), 2 deletions(-) > > Subject: exceeded 80 chars and commit log needed rewording and paragraphs > rewrapping. I did it this time but please pay attention to commit log content > (and format).
Got it. Thanks much for correcting it for me this time!
Wei
> > Thanks, > Lorenzo >
| |