login
Login
/
Register
Search
Search this site:
Forums
News
Blogs
Features
Site
Home
»
Mailing list archives
»
linux-kernel
»
2008
»
August
»
30
Re: [PATCH] net: forcedeth use pci_choose_state instead of PCI_D3hot - v2
view
thread
Previous message: [
thread
] [
date
] [
author
]
Next message: [thread] [
date
] [
author
]
[view in full thread]
From: Simon Arlott
Subject:
Re: [PATCH] net: forcedeth use pci_choose_state instead of PCI_D3hot - v2
Date: Saturday, August 30, 2008 - 12:39 pm
On 19/08/08 22:09, Rafael J. Wysocki wrote:
quoted text
> On Tuesday, 19 of August 2008, Simon Arlott wrote: >> On 19/08/08 18:58, Rafael J. Wysocki wrote: >> > On Tuesday, 19 of August 2008, Simon Arlott wrote: >> >> On 18/08/08 23:08, Rafael J. Wysocki wrote: >> >> > On Monday, 18 of August 2008, Yinghai Lu wrote: >> >> >> On Mon, Aug 18, 2008 at 3:22 AM, Rafael J. Wysocki <rjw@sisk.pl> wrote: >> >> >> >> >> >> >> > > drivers/net/forcedeth.c | 8 +++++--- >> >> >> >> > > 1 file changed, 5 insertions(+), 3 deletions(-) >> >> >> >> > > >> >> >> >> > > Index: linux-2.6/drivers/net/forcedeth.c >> >> >> >> > > =================================================================== >> >> >> >> > > --- linux-2.6.orig/drivers/net/forcedeth.c >> >> >> >> > > +++ linux-2.6/drivers/net/forcedeth.c >> >> >> >> > > @@ -5975,10 +5975,12 @@ static void nv_shutdown(struct pci_dev * >> >> >> >> > > if (netif_running(dev)) >> >> >> >> > > nv_close(dev); >> >> >> >> > > >> >> >> >> > > - pci_enable_wake(pdev, PCI_D3hot, np->wolenabled); >> >> >> >> > > - pci_enable_wake(pdev, PCI_D3cold, np->wolenabled); >> >> >> >> > > pci_disable_device(pdev); >> >> >> >> > > - pci_set_power_state(pdev, PCI_D3hot); >> >> >> >> > > + if (system_state == SYSTEM_POWER_OFF) { >> >> >> >> > > + if (pci_enable_wake(pdev, PCI_D3cold, np->wolenabled)) >> >> >> >> > > + pci_enable_wake(pdev, PCI_D3hot, np->wolenabled); >> >> >> >> > > + pci_set_power_state(pdev, PCI_D3hot); >> >> >> >> > > + } >> >> >> >> > > } >> >> >> >> > > #else >> >> >> >> > > #define nv_suspend NULL >> >> >> >> > > >> >> >> >> > >> >> >> >> >> >> > Does the last patch work for you BTW? >> >> >> > >> >> >> >> >> >> it works. >> >> > >> >> > OK, thanks for testing. >> >> > >> >> > I think we can use it as a quick fix for 2.6.27. Do you agree? >> >> > >> >> > Still, it would be helpful to verify if this is the same MSI issue reported by >> >> > Simon. >> >> >> >> I tried to test that patch but even without it standby/resume has stopped working: >> > >> > Which kernel is this? >> >> linus-2.6 a7f5aaf36ded825477c4d7167cc6eb1bcdc63191 >> >> I've reverted to 2b12a4c524812fb3f6ee590a02e65b95c8c32229 where standby/resume still >> works and applied the above patch plus the pci_enable_device patch. It still doesn't >> work after resume if MSI is enabled. > > My patch only affects the shutdown code path and is not related to > suspend/standby etc. > > Could you identify the commit that broke standby/resume for you between > 2b12a4c524812fb3f6ee590a02e65b95c8c32229 and > a7f5aaf36ded825477c4d7167cc6eb1bcdc63191 ? It looks like that should be > bisectable.
It appears to be working again as of ee096f75b69913dbad0e6f7f2572513de5c90002. -- Simon Arlott --
unsubscribe notice
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to
majordomo@vger.kernel.org
More majordomo info at
http://vger.kernel.org/majordomo-info.html
Please read the FAQ at
http://www.tux.org/lkml/
Previous message: [
thread
] [
date
] [
author
]
Next message: [thread] [
date
] [
author
]
Messages in current thread:
[PATCH] net: forcedeth use pci_choose_state instead of PCI ...
, Yinghai Lu
, (Sat Aug 16, 11:25 pm)
Re: [PATCH] net: forcedeth use pci_choose_state instead of ...
, Rafael J. Wysocki
, (Sun Aug 17, 6:02 am)
Re: [PATCH] net: forcedeth use pci_choose_state instead of ...
, Rafael J. Wysocki
, (Sun Aug 17, 9:55 am)
Re: [PATCH] net: forcedeth use pci_choose_state instead of ...
, Yinghai Lu
, (Sun Aug 17, 12:16 pm)
Re: [PATCH] net: forcedeth use pci_choose_state instead of ...
, Rafael J. Wysocki
, (Sun Aug 17, 12:29 pm)
Re: [PATCH] net: forcedeth use pci_choose_state instead of ...
, Rafael J. Wysocki
, (Sun Aug 17, 12:34 pm)
Re: [PATCH] net: forcedeth use pci_choose_state instead of ...
, Yinghai Lu
, (Sun Aug 17, 1:58 pm)
Re: [PATCH] net: forcedeth use pci_choose_state instead of ...
, Rafael J. Wysocki
, (Sun Aug 17, 2:47 pm)
Re: [PATCH] net: forcedeth use pci_choose_state instead of ...
, Rafael J. Wysocki
, (Mon Aug 18, 3:22 am)
Re: [PATCH] net: forcedeth use pci_choose_state instead of ...
, Yinghai Lu
, (Mon Aug 18, 2:50 pm)
Re: [PATCH] net: forcedeth use pci_choose_state instead of ...
, Rafael J. Wysocki
, (Mon Aug 18, 3:08 pm)
Re: [PATCH] net: forcedeth use pci_choose_state instead of ...
, Yinghai Lu
, (Mon Aug 18, 3:36 pm)
Re: [PATCH] net: forcedeth use pci_choose_state instead of ...
, Yinghai Lu
, (Mon Aug 18, 3:37 pm)
Re: [PATCH] net: forcedeth use pci_choose_state instead of ...
, Simon Arlott
, (Mon Aug 18, 3:42 pm)
Re: [PATCH] net: forcedeth use pci_choose_state instead of ...
, Rafael J. Wysocki
, (Tue Aug 19, 10:58 am)
Re: [PATCH] net: forcedeth use pci_choose_state instead of ...
, Simon Arlott
, (Tue Aug 19, 11:33 am)
[PATCH] forcedeth: Fix kexec regression
, Rafael J. Wysocki
, (Tue Aug 19, 11:45 am)
Re: [PATCH] forcedeth: Fix kexec regression
, Andrew Morton
, (Tue Aug 19, 1:37 pm)
Re: [PATCH] forcedeth: Fix kexec regression
, Rafael J. Wysocki
, (Tue Aug 19, 1:49 pm)
Re: [PATCH] net: forcedeth use pci_choose_state instead of ...
, Rafael J. Wysocki
, (Tue Aug 19, 2:09 pm)
Re: [PATCH] forcedeth: Fix kexec regression
, Eric W. Biederman
, (Wed Aug 20, 12:01 am)
Re: [PATCH] forcedeth: Fix kexec regression
, Rafael J. Wysocki
, (Wed Aug 20, 6:12 am)
Re: [PATCH] net: forcedeth use pci_choose_state instead of ...
, Simon Arlott
, (Sat Aug 30, 12:39 pm)
Navigation
Create content
Mailing list archives
Recent posts
Popular discussions
linux-kernel
:
Ingo Molnar
Re: [patch] e1000=y && e1000e=m regression fix
Greg Kroah-Hartman
[PATCH 20/36] Driver core: Call device_pm_add() after bus_add_device() in device_a...
Boaz Harrosh
how to use KBUILD_EXTRA_SYMBOLS
Pekka Enberg
Re: [PATCH] include/linux/slab.h: new KFREE() macro.
Brandeburg, Jesse
RE: [regression] e1000e broke e1000 (was: Re: [ANNOUNCE] e1000 toe1000e migration ...
git
:
Bill Lear
cpio command not found
Jing Xue
Re: git rm --cached
Fredrik Kuivinen
Re: fatal: unable to create '.git/index': File exists
Michael S. Tsirkin
git-kill: rewrite history removing a commit
Johannes Schindelin
Re: [PATCH 1/3 v2] Implement the patience diff algorithm
linux-netdev
:
Jamie Lokier
Re: POHMELFS high performance network filesystem. Transactions, failover, performa...
Johann Baudy
Packet mmap: TX RING and zero copy
Stephen Hemminger
Re: NAPI, rx_no_buffer_count, e1000, r8169 and other actors
Oliver Neukum
Re: [RFC] Patch to option HSO driver to the kernel
Paulius Zaleckas
Re: [RFC] Patch to option HSO driver to the kernel
openbsd-misc
:
Netmaffia.hu
Tini Lányok AKCIÓBAN OTTHON
Bryan Irvine
Re: DVD burn error: No space left on device
Tomas Bodzar
Re: OpenSMTPd actual development and integration
Siju George
This is what Linus Torvalds calls openBSD crowd
elitdostlar
Seks partneri arayan bayanlar bu adreste - 8878xs706x6438
git-commits-head
:
Linux Kernel Mailing List
powerpc/fsl_msi: enable msi allocation in all banks
Linux Kernel Mailing List
via82cxxx: add support for VT6415 PCIE PATA IDE Host Controller
Linux Kernel Mailing List
[ARM] mmp: avengers lite (pxa168) board bring up
Linux Kernel Mailing List
USB: remove duplicate entry in Option driver and Pl2303 driver for Huawei modem
Linux Kernel Mailing List
ARM: dma-mapping: remove dmac_clean_range and dmac_inv_range
Colocation donated by:
Syndicate