RE: [PATCH v3 2/2] PCI: hv: Retry PCI bus D0 entry when the first attempt failed with invalid device state

2020-05-11 Thread Wei Hu
.@vger.kernel.org; linux- > ker...@vger.kernel.org; Dexuan Cui ; Michael Kelley > > 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 ca

Re: [PATCH v3 2/2] PCI: hv: Retry PCI bus D0 entry when the first attempt failed with invalid device state

2020-05-11 Thread Lorenzo Pieralisi
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. >

RE: [PATCH v3 2/2] PCI: hv: Retry PCI bus D0 entry when the first attempt failed with invalid device state

2020-05-07 Thread Michael Kelley
From: Wei Hu Sent: Wednesday, May 6, 2020 10:03 PM > > 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. >

[PATCH v3 2/2] PCI: hv: Retry PCI bus D0 entry when the first attempt failed with invalid device state

2020-05-06 Thread Wei Hu
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