public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Daniel Ritz <daniel.ritz@gmx.ch>
To: "Rafael J. Wysocki" <rjw@sisk.pl>
Cc: Andrew Morton <akpm@osdl.org>,
	linux-kernel@vger.kernel.org, Hugh Dickins <hugh@veritas.com>
Subject: Re: 2.6.13-mm2
Date: Sun, 18 Sep 2005 23:49:16 +0200	[thread overview]
Message-ID: <200509182349.17632.daniel.ritz@gmx.ch> (raw)
In-Reply-To: <200509121209.47736.rjw@sisk.pl>

On Monday 12 September 2005 12.09, Rafael J. Wysocki wrote:
> On Monday, 12 of September 2005 12:06, Rafael J. Wysocki wrote:
> > Hi,
> > 
> > (continuing the unfinished message)
> > 
> > On Sunday, 11 of September 2005 22:08, Daniel Ritz wrote:
> > > On Sunday 11 September 2005 21.36, Andrew Morton wrote:
> > > > "Rafael J. Wysocki" <rjw@sisk.pl> wrote:
> > > > >
> > > > > > 
> > > > >  > ftp://ftp.kernel.org/pub/linux/kernel/people/akpm/patches/2.6/2.6.13/2.6.13-mm2/
> > > > >  > 
> > > > >  > (kernel.org propagation is slow.  There's a temp copy at
> > > > >  > http://www.zip.com.au/~akpm/linux/patches/stuff/2.6.13-mm2.bz2)
> > > > > 
> > > > >  Could you please reintroduce the yenta-free_irq-on-suspend.patch (attached)
> > > > >  into -mm?  My box does not resume from disk without it.
> > > > 
> > > > No probs.
> > > > 
> > > > Daniel, do you remember why we decided to drop it?  What should we do about
> > > > this?  Thanks.
> > > > 
> > > 
> > > yeah, there was a long discussion about it. see:
> > > 	http://marc.theaimsgroup.com/?t=112275164900002&r=1&w=4
> > > the reason being that it breaks APM suspend on Hugh Dickins' (added to cc:) laptop.
> > > Linus was quite clear about why reverting...
> > > 	http://marc.theaimsgroup.com/?l=linux-kernel&m=112278810115252&w=4
> > > 
> > > we should look at both problems in detail:
> > > - with APM it seems to break because the bridge gives interrupt before the
> > >   handler is installed.
> > > - with ACPI i think some _other_ device gives the interrupts too early. but
> > >   when all devices on the interrupt unregister the irq is disabled and the
> > >   problem is hidden.
> > > 
> > > i don't think we can do mutch about the APM case...
> > > 
> > > so Rafael, your /proc/interrupts, lspci -vvv and dmesg, please.
> > 
> > rafael@albercik:~> cat /proc/interrupts
> ]-- snip --[
> 
> BTW, please have a look at:
> http://bugzilla.kernel.org/show_bug.cgi?id=4416#c36
> and
> http://bugzilla.kernel.org/show_bug.cgi?id=4416#c37
> 

interesting. i'd say we get interrupt storms from usb which then hurt when
yenta has it's handler installed but usb has not. usb/hcd-pci.c frees the
irq on suspend...so it may be enough not to do that (survives suspend-to-ram
and suspend-to-disk here. yes, restore too :)

could you give that a tree w/o any free_irq-patches for yenta and co?

rgds
-daniel

diff --git a/drivers/usb/core/hcd-pci.c b/drivers/usb/core/hcd-pci.c
--- a/drivers/usb/core/hcd-pci.c
+++ b/drivers/usb/core/hcd-pci.c
@@ -242,7 +242,9 @@ int usb_hcd_pci_suspend (struct pci_dev 
 	case HC_STATE_SUSPENDED:
 		/* no DMA or IRQs except when HC is active */
 		if (dev->current_state == PCI_D0) {
+#if 0
 			free_irq (hcd->irq, hcd);
+#endif
 			pci_save_state (dev);
 			pci_disable_device (dev);
 		}
@@ -374,6 +376,7 @@ int usb_hcd_pci_resume (struct pci_dev *
 
 	hcd->state = HC_STATE_RESUMING;
 	hcd->saw_irq = 0;
+#if 0
 	retval = request_irq (dev->irq, usb_hcd_irq, SA_SHIRQ,
 				hcd->irq_descr, hcd);
 	if (retval < 0) {
@@ -382,6 +385,7 @@ int usb_hcd_pci_resume (struct pci_dev *
 		usb_hc_died (hcd);
 		return retval;
 	}
+#endif
 
 	retval = hcd->driver->resume (hcd);
 	if (!HC_IS_RUNNING (hcd->state)) {

  reply	other threads:[~2005-09-18 21:49 UTC|newest]

Thread overview: 84+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-09-08 12:30 2.6.13-mm2 Andrew Morton
2005-09-08 13:12 ` 2.6.13-mm2 Benoit Boissinot
2005-09-08 13:48 ` 2.6.13-mm2 Christoph Hellwig
2005-09-08 14:30 ` 2.6.13-mm2 Martin J. Bligh
2005-09-09  0:39   ` 2.6.13-mm2 Andi Kleen
2005-09-09 10:41     ` 2.6.13-mm2 Andrew Morton
2005-09-09 10:46       ` 2.6.13-mm2 Andi Kleen
2005-09-08 15:11 ` 2.6.13-mm2 high memory support borken? Michal Piotrowski
2005-09-09  9:29   ` Andrew Morton
2005-09-08 17:20 ` 2.6.13-mm2 Michael Thonke
2005-09-08 19:39   ` 2.6.13-mm2 Andrew Morton
2005-09-10  7:02     ` 2.6.13-mm2 Michael Thonke
2005-09-09  1:47 ` 2.6.13-mm2 Grant Coady
2005-09-09  9:43   ` 2.6.13-mm2 Andrew Morton
2005-09-09 13:45     ` 2.6.13-mm2 Grant Coady
2005-09-10  6:33       ` 2.6.13-mm2 Marko Kohtala
2005-09-09  2:52 ` 2.6.13-mm2 - drivers/char/speakup/speakup doesn't compile (+warnings from other things) Damir Perisa
2005-09-09 12:18   ` Alan Cox
2005-09-09 20:57 ` 2.6.13-mm2 (general protection fault) Dominik Karall
2005-09-10 11:45 ` 2.6.13-mm2 Manuel Lauss
2005-09-10 12:42   ` 2.6.13-mm2 Antonino A. Daplas
2005-09-10 13:46     ` 2.6.13-mm2 Manuel Lauss
2005-09-10 20:21       ` 2.6.13-mm2 Antonino A. Daplas
2005-09-10 21:26       ` 2.6.13-mm2 Antonino A. Daplas
2005-09-10 18:43 ` 2.6.13-mm2 Dominik Karall
2005-09-10 22:12   ` 2.6.13-mm2 Andrew Morton
2005-09-10 23:46 ` 2.6.13-mm2 J.A. Magallon
2005-09-10 23:56   ` 2.6.13-mm2 Andrew Morton
2005-09-11  0:07     ` 2.6.13-mm2 Patrick McHardy
2005-09-11  0:49       ` 2.6.13-mm2 J.A. Magallon
2005-09-11  0:58         ` 2.6.13-mm2 J.A. Magallon
2005-09-11  1:03           ` 2.6.13-mm2 Patrick McHardy
2005-09-11  1:22             ` 2.6.13-mm2 J.A. Magallon
2005-09-11  1:25               ` 2.6.13-mm2 Patrick McHardy
2005-09-11 17:03 ` 2.6.13-mm2 Rafael J. Wysocki
2005-09-11 19:36   ` 2.6.13-mm2 Andrew Morton
2005-09-11 20:03     ` 2.6.13-mm2 Hugh Dickins
2005-09-12 19:19       ` 2.6.13-mm2 Rafael J. Wysocki
2005-09-11 20:08     ` 2.6.13-mm2 Daniel Ritz
2005-09-12 10:04       ` 2.6.13-mm2 Rafael J. Wysocki
2005-09-12 10:06       ` 2.6.13-mm2 Rafael J. Wysocki
2005-09-12 10:09         ` 2.6.13-mm2 Rafael J. Wysocki
2005-09-18 21:49           ` Daniel Ritz [this message]
2005-09-19  3:07             ` 2.6.13-mm2 Hugh Dickins
2005-09-19 15:56               ` 2.6.13-mm2 Daniel Ritz
2005-09-23 16:52             ` 2.6.13-mm2 Rafael J. Wysocki
2005-09-28 20:05               ` 2.6.13-mm2 Daniel Ritz
2005-09-28 20:23                 ` [linux-usb-devel] 2.6.13-mm2 David Brownell
2005-09-28 20:37                   ` Rafael J. Wysocki
2005-09-28 20:56                     ` David Brownell
2005-09-28 21:34                       ` Rafael J. Wysocki
2005-09-28 22:04                         ` David Brownell
2005-09-28 22:32                           ` Daniel Ritz
2005-09-29  0:09                             ` David Brownell
2005-09-29 15:36                               ` Linus Torvalds
2005-09-29 16:31                                 ` David Brownell
2005-09-29 19:39                                 ` Daniel Ritz
2005-09-30 16:33                               ` Linus Torvalds
2005-09-30 17:48                                 ` David Brownell
2005-09-29  2:54                             ` Alan Stern
2005-09-28 20:45                   ` Daniel Ritz
2005-09-28 21:07                     ` David Brownell
2005-09-28 21:47                       ` Rafael J. Wysocki
2005-09-28 22:07                       ` Daniel Ritz
2005-09-28 21:10                     ` Alan Stern
2005-09-29 15:22                 ` 2.6.13-mm2 Linus Torvalds
2005-09-12  3:07 ` 2.6.13-mm2 Martin J. Bligh
2005-09-12  5:01   ` 2.6.13-mm2 Andi Kleen
2005-09-12  6:09     ` 2.6.13-mm2 Martin J. Bligh
2005-09-12  7:16       ` 2.6.13-mm2 Andi Kleen
2005-09-12 18:06     ` 2.6.13-mm2 Martin J. Bligh
2005-09-12 18:19       ` 2.6.13-mm2 Dave Hansen
2005-09-12 18:51       ` 2.6.13-mm2 Andi Kleen
2005-09-12 22:46         ` 2.6.13-mm2 Martin J. Bligh
2005-09-13  0:08           ` 2.6.13-mm2 Andrew Morton
2005-09-13  4:00             ` 2.6.13-mm2 Martin J. Bligh
2005-09-12  3:10 ` 2.6.13-mm2 Martin J. Bligh
     [not found] <4KtRD-7Nt-13@gated-at.bofh.it>
2005-09-08 23:23 ` 2.6.13-mm2 Ronny V. Vindenes
2005-09-08 23:34   ` 2.6.13-mm2 Andrew Morton
2005-09-09  0:26     ` 2.6.13-mm2 Parag Warudkar
2005-09-09  0:55       ` 2.6.13-mm2 Roland McGrath
  -- strict thread matches above, loose matches on Subject: below --
2005-09-17  0:36 2.6.13-mm2 Chuck Ebbert
2005-09-17  4:17 ` 2.6.13-mm2 Parag Warudkar
2005-09-17  4:30   ` 2.6.13-mm2 Parag Warudkar

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=200509182349.17632.daniel.ritz@gmx.ch \
    --to=daniel.ritz@gmx.ch \
    --cc=akpm@osdl.org \
    --cc=hugh@veritas.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=rjw@sisk.pl \
    /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