[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <1362447288.2183.4.camel@jtkirshe-mobl>
Date: Mon, 04 Mar 2013 17:34:48 -0800
From: Jeff Kirsher <jeffrey.t.kirsher@...el.com>
To: Konstantin Khlebnikov <khlebnikov@...nvz.org>
Cc: linux-kernel@...r.kernel.org, e1000-devel@...ts.sourceforge.net,
"Rafael J. Wysocki" <rafael.j.wysocki@...el.com>,
Bruce Allan <bruce.w.allan@...el.com>
Subject: Re: [PATCH RESEND 2/3] e1000e: fix runtime power management
transitions
On Mon, 2013-02-25 at 09:19 +0400, Konstantin Khlebnikov wrote:
> 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.
>
> Signed-off-by: Konstantin Khlebnikov <khlebnikov@...nvz.org>
> Acked-by: Rafael J. Wysocki <rafael.j.wysocki@...el.com>
> Cc: e1000-devel@...ts.sourceforge.net
> Cc: Jeff Kirsher <jeffrey.t.kirsher@...el.com>
> Cc: Bruce Allan <bruce.w.allan@...el.com>
> ---
> drivers/net/ethernet/intel/e1000e/netdev.c | 78
> ++++++----------------------
> 1 file changed, 18 insertions(+), 60 deletions(-)
I have added this patch to my e1000e patch queue.
Download attachment "signature.asc" of type "application/pgp-signature" (837 bytes)
Powered by blists - more mailing lists