[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <1368855636.2235.136.camel@jtkirshe-mobl>
Date: Fri, 17 May 2013 22:40:36 -0700
From: Jeff Kirsher <jeffrey.t.kirsher@...el.com>
To: Konstantin Khlebnikov <khlebnikov@...nvz.org>,
"Allan, Bruce W" <bruce.w.allan@...el.com>
Cc: Steven Rostedt <rostedt@...dmis.org>, linux-kernel@...r.kernel.org,
stable@...r.kernel.org, Bruce Allan <bruce.w.allan@...el.com>,
"Rafael J. Wysocki" <rafael.j.wysocki@...el.com>,
Borislav Petkov <bp@...e.de>,
Aaron Brown <aaron.f.brown@...el.com>
Subject: Re: [ 094/136 ] e1000e: fix runtime power management transitions
On Sat, 2013-05-18 at 09:35 +0400, Konstantin Khlebnikov wrote:
> Steven Rostedt wrote:
> > 3.6.11.4 stable review patch.
> > If anyone has any objections, please let me know.
>
> I don't think that 3.6.y needs this. That was fix for problem which appeared
> in 3.8 after some changes in PCI power management code. Probably it depends
> on these changes. If no one complains about problems we should leave it as is.
My thoughts are the same as Konstantin, but I would like Bruce Allan to
weigh in on this since he is the e1000e maintainer. Since it is late
Friday night, Bruce probably won't see this until Monday to respond.
> >
> > ------------------
> >
> > From: Konstantin Khlebnikov<khlebnikov@...nvz.org>
> >
> > [ Upstream commit 66148babe728f3e00e13c56f6b0ecf325abd80da ]
> >
> > This patch removes redundant actions from driver and fixes its interaction
> > with actions in pci-bus runtime power management code.
> >
> > It removes pci_save_state() from __e1000_shutdown() for normal adapters,
> > PCI bus callbacks pci_pm_*() will do all this for us. Now __e1000_shutdown()
> > switches to D3-state only quad-port adapters, because they needs quirk for
> > clearing false-positive error from downsteam pci-e port.
> >
> > pci_save_state() now called after clearing bus-master bit, thus __e1000_resume()
> > and e1000_io_slot_reset() must set it back after restoring configuration space.
> >
> > This patch set get_link_status before calling pm_runtime_put() in e1000_open()
> > to allow e1000_idle() get real link status and schedule first runtime suspend.
> >
> > This patch also enables wakeup for device if management mode is enabled
> > (like for WoL) as result pci_prepare_to_sleep() would setup wakeup without
> > special actions like custom 'enable_wakeup' sign.
> >
> > Cc: Bruce Allan<bruce.w.allan@...el.com>
> > Signed-off-by: Konstantin Khlebnikov<khlebnikov@...nvz.org>
> > Acked-by: Rafael J. Wysocki<rafael.j.wysocki@...el.com>
> > Tested-by: Borislav Petkov<bp@...e.de>
> > Tested-by: Aaron Brown<aaron.f.brown@...el.com>
> > Signed-off-by: Jeff Kirsher<jeffrey.t.kirsher@...el.com>
> > Signed-off-by: Steven Rostedt<rostedt@...dmis.org>
>
Download attachment "signature.asc" of type "application/pgp-signature" (837 bytes)
Powered by blists - more mailing lists