From: Dongli Zhang <dongli.zhang@oracle.com>
To: Jiri Kosina <jikos@kernel.org>
Cc: Keith Busch <kbusch@kernel.org>, Jens Axboe <axboe@kernel.dk>,
Sagi Grimberg <sagi@grimberg.me>,
linux-kernel@vger.kernel.org, linux-nvme@lists.infradead.org,
Keith Busch <keith.busch@intel.com>,
Hannes Reinecke <hare@suse.de>, Christoph Hellwig <hch@lst.de>
Subject: Re: [5.2-rc1 regression]: nvme vs. hibernation
Date: Sat, 25 May 2019 07:58:49 +0800 [thread overview]
Message-ID: <92a15981-dfdc-0ac9-72ee-920555a3c1a4@oracle.com> (raw)
In-Reply-To: <nycvar.YFH.7.76.1905250023380.1962@cbobk.fhfr.pm>
Hi Jiri,
Looks this has been discussed in the past.
http://lists.infradead.org/pipermail/linux-nvme/2019-April/023234.html
I created a fix for a case but not good enough.
http://lists.infradead.org/pipermail/linux-nvme/2019-April/023277.html
Perhaps people would have better solution.
Dongli Zhang
On 05/25/2019 06:27 AM, Jiri Kosina wrote:
> On Fri, 24 May 2019, Keith Busch wrote:
>
>>> Something is broken in Linus' tree (4dde821e429) with respec to
>>> hibernation on my thinkpad x270, and it seems to be nvme related.
>>>
>>> I reliably see the warning below during hibernation, and then sometimes
>>> resume sort of works but the machine misbehaves here and there (seems like
>>> lost IRQs), sometimes it never comes back from the hibernated state.
>>>
>>> I will not have too much have time to look into this over weekend, so I am
>>> sending this out as-is in case anyone has immediate idea. Otherwise I'll
>>> bisect it on monday (I don't even know at the moment what exactly was the
>>> last version that worked reliably, I'll have to figure that out as well
>>> later).
>>
>> I believe the warning call trace was introduced when we converted nvme to
>> lock-less completions. On device shutdown, we'll check queues for any
>> pending completions, and we temporarily disable the interrupts to make
>> sure that queues interrupt handler can't run concurrently.
>
> Yeah, the completion changes were the primary reason why I brought this up
> with all of you guys in CC.
>
>> On hibernation, most CPUs are offline, and the interrupt re-enabling
>> is hitting this warning that says the IRQ is not associated with any
>> online CPUs.
>>
>> I'm sure we can find a way to fix this warning, but I'm not sure that
>> explains the rest of the symptoms you're describing though.
>
> It seems to be more or less reliable enough for bisect. I'll try that on
> monday and will let you know.
>
> Thanks,
>
next prev parent reply other threads:[~2019-05-25 0:00 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-05-24 15:22 Jiri Kosina
2019-05-24 15:44 ` Keith Busch
2019-05-24 22:27 ` Jiri Kosina
2019-05-24 23:58 ` Dongli Zhang [this message]
2019-05-27 9:29 ` Jiri Kosina
2019-05-27 11:15 ` Jiri Kosina
2019-05-28 15:21 ` "nosmt" breaks resuming from hibernation (was Re: [5.2-rc1 regression]: nvme vs. hibernation) Jiri Kosina
2019-05-28 19:22 ` Jiri Kosina
2019-05-29 8:56 ` Peter Zijlstra
2019-05-29 9:20 ` Jiri Kosina
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=92a15981-dfdc-0ac9-72ee-920555a3c1a4@oracle.com \
--to=dongli.zhang@oracle.com \
--cc=axboe@kernel.dk \
--cc=hare@suse.de \
--cc=hch@lst.de \
--cc=jikos@kernel.org \
--cc=kbusch@kernel.org \
--cc=keith.busch@intel.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-nvme@lists.infradead.org \
--cc=sagi@grimberg.me \
/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
all inboxes | Powered by JetHome®