From: Pavel Machek <pavel@ucw.cz>
To: "Rafael J. Wysocki" <rafael@kernel.org>
Cc: "Ярослав Семченко" <ukrkyi@gmail.com>, "Greg KH" <greg@kroah.com>,
"kernel list" <linux-kernel@vger.kernel.org>,
"Thomas Martitz" <kugel@rockbox.org>,
"Ulf Hansson" <ulf.hansson@linaro.org>,
"Johan Hovold" <johan@kernel.org>,
"Rafael Wysocki" <rafael.j.wysocki@intel.com>,
"Rafael J. Wysocki" <rjw@rjwysocki.net>,
"Len Brown" <len.brown@intel.com>,
"Linux PM" <linux-pm@vger.kernel.org>
Subject: Re: REGRESSION - System does not resume from suspend
Date: Wed, 6 Feb 2019 23:32:31 +0100 [thread overview]
Message-ID: <20190206223231.GA13324@amd> (raw)
In-Reply-To: <CAJZ5v0gZmSfN2pk50sKYr-exbJy8m3dY4Xnz6pcKMcbAX92yfA@mail.gmail.com>
[-- Attachment #1: Type: text/plain, Size: 2516 bytes --]
On Wed 2019-02-06 23:19:18, Rafael J. Wysocki wrote:
> On Wed, Feb 6, 2019 at 10:20 PM Pavel Machek <pavel@ucw.cz> wrote:
> >
> > Hi!
> >
> > > Since kernel version 4.19, my computer is unable to resume from suspend to
> > > RAM. I've run git bisect and filed bug report at
> > > https://bugzilla.kernel.org/show_bug.cgi?id=201519
> > > three months ago, however, I received no reaction. Bug is still present in
> > > 5.0-rc5 kernel version. Is there any possibility to fix this?
> >
> > Thanks for all the work bisecting / etc... Note that you can get patch
> > reverted if it causes regression, but it needs to be done over
> > email. (If maintainer does not reply, up-to Linus).
> >
> > For the record, patch is:
> >
> > git bisect output:
> > c62ec4610c40bcc44f2d3d5ed1c312737279e2f3 is the first bad commit
> > commit c62ec4610c40bcc44f2d3d5ed1c312737279e2f3
> > Author: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
> > Date: Tue May 22 13:02:17 2018 +0200
> >
> > PM / core: Fix direct_complete handling for devices with no
> > callbacks
> > ...
> > Link: https://bugzilla.kernel.org/show_bug.cgi?id=199693
> > Fixes: 08810a4119aa (PM / core: Add NEVER_SKIP and
> > SMART_PREPARE driver flags)
> > Reported-by: Thomas Martitz <kugel@rockbox.org>
> > Tested-by: Thomas Martitz <kugel@rockbox.org>
> > Cc: 4.15+ <stable@vger.kernel.org> # 4.15+
> > Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
> > Reviewed-by: Ulf Hansson <ulf.hansson@linaro.org>
> > Reviewed-by: Johan Hovold <johan@kernel.org>
> >
> > And the patch was tagged for stable, which sounds like a lot of fun.
>
> Not really. This just restored previous behavior as the commit log says.
>
> If the system breaks after this one, it most likely didn't work before
> commit 08810a4119aa which was in 4.15 and c62ec4610c40bcc44f2 first
> appeared in 4.17-rc1.
>
> Unfortunately, it cannot be reverted without breaking other systems
> that used to work before commit 08810a4119aa.
So what is going on there?
If some devices need one behaviour and other devices need second
behaviour, we can just add the flag for the driver, right?
Because we know that Jaroslav's system can suspend, so this is fixable.
Jaroslav -- can you find out which device has problem?
Pavel
--
(english) http://www.livejournal.com/~pavelmachek
(cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html
[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 181 bytes --]
next prev parent reply other threads:[~2019-02-06 22:32 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <CAAuoowhNsaXjBSHM9ZGeO_uwGVXprc8TS0SENGA3fKbg1xCWMQ@mail.gmail.com>
2019-02-06 21:20 ` REGRESSION - System does not resume from suspend Pavel Machek
2019-02-06 22:19 ` Rafael J. Wysocki
2019-02-06 22:32 ` Pavel Machek [this message]
2019-02-06 22:44 ` Rafael J. Wysocki
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=20190206223231.GA13324@amd \
--to=pavel@ucw.cz \
--cc=greg@kroah.com \
--cc=johan@kernel.org \
--cc=kugel@rockbox.org \
--cc=len.brown@intel.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-pm@vger.kernel.org \
--cc=rafael.j.wysocki@intel.com \
--cc=rafael@kernel.org \
--cc=rjw@rjwysocki.net \
--cc=ukrkyi@gmail.com \
--cc=ulf.hansson@linaro.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