From: Stefan Richter <stefanr@s5r6.in-berlin.de>
To: Adrian Bunk <bunk@stusta.de>
Cc: linux-kernel@vger.kernel.org
Subject: Re: Linux 2.6.16.28-rc2
Date: Wed, 23 Aug 2006 10:06:04 +0200 [thread overview]
Message-ID: <44EC0C6C.80502@s5r6.in-berlin.de> (raw)
In-Reply-To: <20060822230102.GC19896@stusta.de>
[-- Attachment #1: Type: text/plain, Size: 730 bytes --]
Adrian Bunk wrote:
> There are still several patches pending - they will go into 2.6.16.29.
[...]
> Robert Hancock:
> Fix broken suspend/resume in ohci1394
[...]
Alas this patch is a regression for PPC. Please apply patch "1394: fix
for recently added firewire patch that breaks things on ppc" by Danny
Tholen too. The latter patch is enqueued for 2.6.17.y and (so I hope)
for 2.6.18-rc which both contain Robert's patch. I attached Danny's
patch as I cannot safely send it inline right now.
_If_ you don't want to add Danny's patch until it actually appeared in
2.6.18-rc, please revert Robert's patch for the time being.
Thanks, and sorry for the mess.
--
Stefan Richter
-=====-=-==- =--- =-===
http://arcgraph.de/sr/
[-- Attachment #2: fix-for-recently-added-firewire-patch-that-breaks-things-on-ppc.patch --]
[-- Type: text/plain, Size: 1346 bytes --]
Subject: 1394: fix for recently added firewire patch that breaks things on ppc
From: Danny Tholen <obiwan@mailmij.org>
Recently a patch was added for preliminary suspend/resume handling on
!PPC_PMAC. However, this broke both suspend and firewire on powerpc
because it saves the pci state after the device has already been disabled.
This moves the save state to before the pmac specific code.
Signed-off-by: Danny Tholen <obiwan@mailmij.org>
Acked-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Stefan Richter <stefanr@s5r6.in-berlin.de>
---
drivers/ieee1394/ohci1394.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff -puN drivers/ieee1394/ohci1394.c~fix-for-recently-added-firewire-patch-that-breaks-things-on-ppc drivers/ieee1394/ohci1394.c
--- a/drivers/ieee1394/ohci1394.c~fix-for-recently-added-firewire-patch-that-breaks-things-on-ppc
+++ a/drivers/ieee1394/ohci1394.c
@@ -3552,6 +3552,8 @@ static int ohci1394_pci_resume (struct p
static int ohci1394_pci_suspend (struct pci_dev *pdev, pm_message_t state)
{
+ pci_save_state(pdev);
+
#ifdef CONFIG_PPC_PMAC
if (machine_is(powermac)) {
struct device_node *of_node;
@@ -3563,8 +3565,6 @@ static int ohci1394_pci_suspend (struct
}
#endif
- pci_save_state(pdev);
-
return 0;
}
_
next prev parent reply other threads:[~2006-08-23 8:10 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-08-22 23:01 Adrian Bunk
2006-08-23 2:23 ` Grant Coady
2006-08-23 8:06 ` Stefan Richter [this message]
2006-08-23 20:05 ` Adrian Bunk
2006-08-24 13:20 ` Pavel Machek
2006-08-24 13:36 ` Adrian Bunk
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=44EC0C6C.80502@s5r6.in-berlin.de \
--to=stefanr@s5r6.in-berlin.de \
--cc=bunk@stusta.de \
--cc=linux-kernel@vger.kernel.org \
/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
Powered by JetHome