From: Wei Hu <w...@microsoft.com> Sent: Friday, July 17, 2020 8:48 PM > To: KY Srinivasan <k...@microsoft.com>; Haiyang Zhang > <haiya...@microsoft.com>; > Stephen Hemminger <sthem...@microsoft.com>; wei....@kernel.org; > lorenzo.pieral...@arm.com; r...@kernel.org; bhelg...@google.com; linux- > hyp...@vger.kernel.org; linux-...@vger.kernel.org; > linux-kernel@vger.kernel.org; Dexuan > Cui <de...@microsoft.com>; Michael Kelley <mikel...@microsoft.com> > Cc: Wei Hu <w...@microsoft.com> > Subject: [PATCH v3] PCI: hv: Fix a timing issue which causes kdump to fail > occasionally > > Kdump could fail sometime on Hyper-V guest over Accelerated Network > interface. This is because the retry in hv_pci_enter_d0() relies on > an asynchronous host event arriving before the guest calls > hv_send_resources_allocated(). Fix the problem by moving retry > to hv_pci_probe(), removing this dependency and making the calling > sequence synchronous. > > Fixes: c81992e7f4aa ("PCI: hv: Retry PCI bus D0 entry on invalid device > state") > Signed-off-by: Wei Hu <w...@microsoft.com> > --- > v2: Adding Fixes tag according to Michael Kelley's review comment. > v3: Fix couple typos and reword commit message to make it clearer. > Thanks the comments from Bjorn Helgaas. > > drivers/pci/controller/pci-hyperv.c | 66 ++++++++++++++--------------- > 1 file changed, 32 insertions(+), 34 deletions(-) >
I gave my Reviewed-by on the earlier v1 of this patch, but reiterating it here: Reviewed-by: Michael Kelley <mikel...@microsoft.com>