From: Wei Hu <weh@microsoft.com>
To: Bjorn Helgaas <helgaas@kernel.org>
Cc: KY Srinivasan <kys@microsoft.com>,
Haiyang Zhang <haiyangz@microsoft.com>,
Stephen Hemminger <sthemmin@microsoft.com>,
"wei.liu@kernel.org" <wei.liu@kernel.org>,
"lorenzo.pieralisi@arm.com" <lorenzo.pieralisi@arm.com>,
"robh@kernel.org" <robh@kernel.org>,
"bhelgaas@google.com" <bhelgaas@google.com>,
"linux-hyperv@vger.kernel.org" <linux-hyperv@vger.kernel.org>,
"linux-pci@vger.kernel.org" <linux-pci@vger.kernel.org>,
"linux-kernel@vger.kernel.org" <linux-kernel@vger.kernel.org>,
Dexuan Cui <decui@microsoft.com>,
Michael Kelley <mikelley@microsoft.com>
Subject: RE: [PATCH v2] PCI: hv: Fix a timing issue which causes kdump to fail occasionally
Date: Sat, 18 Jul 2020 03:46:19 +0000 [thread overview]
Message-ID: <SG2P153MB0377A7193C7038BD1512EACCBB7D0@SG2P153MB0377.APCP153.PROD.OUTLOOK.COM> (raw)
In-Reply-To: <20200717201124.GA767548@bjorn-Precision-5520>
> -----Original Message-----
> From: Bjorn Helgaas <helgaas@kernel.org>
> Sent: Saturday, July 18, 2020 4:11 AM
> 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; lorenzo.pieralisi@arm.com; 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 v2] PCI: hv: Fix a timing issue which causes kdump to fail
> occasionally
>
> On Fri, Jul 17, 2020 at 10:55:28AM +0800, Wei Hu wrote:
> > Kdump could fail sometime on HyperV guest over Accerlated Network
> > interface. This is because the retry in hv_pci_enter_d0() relies on an
> > asynchronous host event to arrive guest before calling
> > hv_send_resources_allocated(). This fixes the problem by moving retry
> > to hv_pci_probe(), removing this dependence and making the calling
> > sequence synchronous.
>
> Lorenzo, if you apply this, can you fix this typo?
>
> s/Accerlated/Accelerated/
>
> and maybe even
>
> s/HyperV/Hyper-V/
> s/This fixes the problem/Fix the problem/
> s/this dependence/this dependency/
>
> Not sure if "relies on ... event to arrive guest" means "relies on ...
> event arriving in the guest"? Or maybe "relies on ... event arriving before the
> guest calls ..."?
>
> This would probably all make perfect sense to me if I understood more about
> Hyper-V :)
>
> > v2: Adding Fixes tag according to Michael Kelley's review comment.
>
> There's no need to include this "v2" comment in the commit log. I think if you
> put it after a line containing only "---" (or maybe "--"?), it will be in the email
> but not in the commit log.
>
Thanks Bjorn. I will send out a v3 version shortly to correct all these.
Lorenzo, please pick up my v3 version if you have not started to apply it yet.
Thanks so much,
Wei
prev parent reply other threads:[~2020-07-18 3:46 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-07-17 2:55 [PATCH v2] PCI: hv: Fix a timing issue which causes kdump to fail occasionally Wei Hu
2020-07-17 20:11 ` Bjorn Helgaas
2020-07-18 3:46 ` Wei Hu [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=SG2P153MB0377A7193C7038BD1512EACCBB7D0@SG2P153MB0377.APCP153.PROD.OUTLOOK.COM \
--to=weh@microsoft.com \
--cc=bhelgaas@google.com \
--cc=decui@microsoft.com \
--cc=haiyangz@microsoft.com \
--cc=helgaas@kernel.org \
--cc=kys@microsoft.com \
--cc=linux-hyperv@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-pci@vger.kernel.org \
--cc=lorenzo.pieralisi@arm.com \
--cc=mikelley@microsoft.com \
--cc=robh@kernel.org \
--cc=sthemmin@microsoft.com \
--cc=wei.liu@kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).