From: Mika Westerberg <mika.westerberg@linux.intel.com>
To: Bjorn Helgaas <helgaas@kernel.org>
Cc: kilian.singer@quantumtechnology.info, linux-pci@vger.kernel.org,
Lukas Wunner <lukas@wunner.de>,
"Rafael J. Wysocki" <rafael.j.wysocki@intel.com>
Subject: Re: PCI: Revert "PCI: Add runtime PM support for PCIe ports"
Date: Wed, 25 Jan 2017 11:48:31 +0200 [thread overview]
Message-ID: <20170125094831.GP17297@lahna.fi.intel.com> (raw)
In-Reply-To: <20170124200103.GA14743@bhelgaas-glaptop.roam.corp.google.com>
On Tue, Jan 24, 2017 at 02:01:03PM -0600, Bjorn Helgaas wrote:
> On Mon, Jan 23, 2017 at 11:12:47PM +0200, Mika Westerberg wrote:
> > On Mon, Jan 23, 2017 at 02:33:35PM -0600, Bjorn Helgaas wrote:
> > > From my perspective (and I have not followed the whole 100 message
> > > thread), the bare bones of the situation are that 006d44e49a25 ("PCI:
> > > Add runtime PM support for PCIe ports") probably reduced power
> > > consumption on some machines. But it also made Kilian's system
> > > unresponsive when locking the screen.
> > >
> > > Given only those assumptions, a revert seems like a reasonable
> > > approach. I understand and agree that we want to save power, but
> > > not at the expense of making systems unresponsive.
> >
> > But even if you revert the runtime PM commit, the same thing happens
> > when the system is suspended.
>
> In other words, we always had bug A, and after adding 006d44e49a25, we
> have bug A and bug B. It is worthwhile to avoid B even if A still
> exists.
I meant the same PCI PM series also added support for powering down PCI
bridges when the system is suspended. So the same issue happens when the
system is suspended even if the runtime PM patch is reverted.
> Kilian tripped over B, and no doubt others have as well. Most others
> will be frustrated and unable to work around it. We're lucky Kilian
> was patient and sophisticated enough to track it down.
I agree. Thanks Kilian for the patience :)
> > > Maybe 006d44e49a25 actually fixed a functional problem in addition to
> > > saving power? I don't think the changelog mentions anything like
> > > that, but if that's the case, we should certainly consider that.
> > >
> > > We're at -rc5 already, so if we want something other than a revert,
> > > now is the time to propose it.
> >
> > Hmm, runtime PM patches went in for 4.9 IIRC. It is not a regression
> > introduced in v4.10 release cycle so I'm not sure why we are in such
> > hurry here?
> >
> > I understand that the issue should be fixed but not why it should be
> > fixed for v4.10 as it is not a regression introduced by v4.10-rc1.
>
> As far as I can tell, the downside of a revert is only that we'll
> consume a little more power. I'm not sure why we would release v4.10
> with a known issue that we can easily avoid.
I've been told that reverting the nouveau driver back to use ACPI _DSM
method causes other issues.
I would rather try to understand what is actually going on and why this
happens in the first place, even if it takes longer than when v4.10 is
released, if 3846fd9b8600 ("drm/probe-helpers: Drop locking from
poll_enable") does not solve the issue.
next prev parent reply other threads:[~2017-01-25 9:48 UTC|newest]
Thread overview: 115+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-12-27 23:57 PCI: Revert "PCI: Add runtime PM support for PCIe ports" Bjorn Helgaas
2016-12-28 9:17 ` Mika Westerberg
2016-12-28 11:29 ` Lukas Wunner
2016-12-28 16:18 ` Bjorn Helgaas
2016-12-29 9:58 ` Kilian Singer
2016-12-29 16:02 ` Kilian Singer
2016-12-29 16:20 ` Kilian Singer
2016-12-29 17:50 ` Lukas Wunner
2016-12-29 22:52 ` Kilian Singer
2016-12-29 23:02 ` Kilian Singer
2016-12-29 23:05 ` Kilian Singer
2016-12-29 23:48 ` Lukas Wunner
2016-12-29 23:20 ` Kilian Singer
2016-12-30 0:07 ` Lukas Wunner
2016-12-30 0:16 ` Kilian Singer
2016-12-30 0:24 ` Kilian Singer
2016-12-30 0:22 ` Rafael J. Wysocki
2016-12-30 0:39 ` Kilian Singer
2016-12-30 0:41 ` Rafael J. Wysocki
2016-12-30 0:45 ` Kilian Singer
2016-12-30 1:40 ` Rafael J. Wysocki
2016-12-30 1:50 ` Rafael J. Wysocki
2016-12-30 1:52 ` Rafael J. Wysocki
2016-12-30 13:37 ` Kilian Singer
2016-12-30 13:59 ` Kilian Singer
2016-12-30 14:44 ` Rafael J. Wysocki
2016-12-30 14:47 ` Rafael J. Wysocki
2017-01-02 12:22 ` Mika Westerberg
2017-01-03 17:12 ` Kilian Singer
2017-01-02 11:40 ` Lukas Wunner
2017-01-02 12:10 ` Mika Westerberg
2017-01-02 13:53 ` Mika Westerberg
2017-01-02 14:48 ` Mika Westerberg
2017-01-02 21:31 ` Rafael J. Wysocki
2017-01-03 9:51 ` Mika Westerberg
2017-01-03 15:15 ` Peter Wu
2017-01-03 16:11 ` Lukas Wunner
2017-01-03 16:31 ` Peter Wu
2017-01-03 16:44 ` Deucher, Alexander
2017-01-03 18:09 ` Lukas Wunner
2017-01-03 18:12 ` Bjorn Helgaas
2017-01-03 21:38 ` Rafael J. Wysocki
2017-01-03 21:52 ` Kilian Singer
2017-01-03 22:07 ` Rafael J. Wysocki
2017-01-03 22:25 ` Kilian Singer
2017-01-03 22:25 ` Bjorn Helgaas
2017-01-03 23:13 ` Rafael J. Wysocki
2017-01-04 0:05 ` Bjorn Helgaas
2017-01-04 1:09 ` Rafael J. Wysocki
2017-01-04 8:16 ` Lukas Wunner
2017-01-04 10:33 ` Kilian Singer
2017-01-04 12:29 ` Mika Westerberg
2017-01-04 15:50 ` Deucher, Alexander
2017-01-04 21:09 ` Peter Wu
2017-01-04 21:58 ` Rafael J. Wysocki
2017-01-04 23:21 ` David Airlie
2017-01-05 15:06 ` Lukas Wunner
2017-01-05 18:13 ` Peter Jones
2017-01-05 19:36 ` David Airlie
2017-01-09 15:11 ` Lyude Paul
2017-01-09 15:21 ` Hans de Goede
2017-01-09 18:48 ` Kilian Singer
2017-01-10 0:33 ` David Airlie
2017-01-10 9:17 ` Kilian Singer
2017-01-12 18:10 ` Lyude Paul
2017-01-24 4:59 ` Lukas Wunner
2017-01-24 19:09 ` Lyude Paul
2017-01-11 20:40 ` Lyude Paul
2017-01-12 1:13 ` Lyude Paul
2017-01-12 2:04 ` Lyude Paul
2017-01-12 2:12 ` Lukas Wunner
2017-01-17 15:55 ` Mika Westerberg
2017-01-17 18:06 ` Lyude Paul
2017-01-17 19:10 ` Bjorn Helgaas
2017-01-17 19:49 ` Lyude Paul
2017-01-07 11:45 ` Hans de Goede
2017-01-07 12:16 ` Lukas Wunner
2017-01-09 23:00 ` Peter Jones
2017-01-10 0:17 ` David Airlie
2017-01-10 1:24 ` Lukas Wunner
2017-01-10 2:15 ` David Airlie
2017-01-11 11:04 ` Hans de Goede
2017-01-11 13:24 ` Kilian Singer
2017-01-11 13:26 ` Hans de Goede
2017-01-11 16:24 ` Peter Jones
2017-01-11 19:20 ` Kilian Singer
2017-01-05 10:49 ` Mika Westerberg
2017-01-05 14:19 ` Rafael J. Wysocki
2017-01-05 14:20 ` Mika Westerberg
2017-01-05 14:23 ` Rafael J. Wysocki
2017-01-05 14:42 ` Lukas Wunner
2017-01-06 1:21 ` Rafael J. Wysocki
2017-01-07 6:50 ` Mika Westerberg
2017-01-07 11:35 ` Peter Wu
2017-01-07 12:19 ` Lukas Wunner
2017-01-07 12:36 ` Peter Wu
2017-01-08 14:05 ` Lukas Wunner
2017-01-04 21:55 ` Rafael J. Wysocki
2017-01-03 21:26 ` Rafael J. Wysocki
2017-01-03 17:37 ` Kilian Singer
2017-01-03 17:10 ` Kilian Singer
2017-01-03 16:59 ` Kilian Singer
2017-01-03 17:08 ` Kilian Singer
2016-12-30 0:19 ` Rafael J. Wysocki
2016-12-30 14:48 ` Rafael J. Wysocki
2017-01-17 14:56 ` Bjorn Helgaas
2017-01-17 15:49 ` Kilian Singer
2017-01-23 20:33 ` Bjorn Helgaas
2017-01-23 21:12 ` Mika Westerberg
2017-01-24 4:53 ` Lukas Wunner
2017-01-24 20:01 ` Bjorn Helgaas
2017-01-25 9:48 ` Mika Westerberg [this message]
2017-01-25 16:05 ` Kilian Singer
2017-01-25 16:31 ` Mika Westerberg
2017-01-25 17:58 ` Bjorn Helgaas
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=20170125094831.GP17297@lahna.fi.intel.com \
--to=mika.westerberg@linux.intel.com \
--cc=helgaas@kernel.org \
--cc=kilian.singer@quantumtechnology.info \
--cc=linux-pci@vger.kernel.org \
--cc=lukas@wunner.de \
--cc=rafael.j.wysocki@intel.com \
/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).