From: Linus Torvalds <torvalds@linux-foundation.org>
To: Daniel Walker <dwalker@mvista.com>
Cc: linux-kernel@vger.kernel.org,
Maxim Levitsky <maximlevitsky@gmail.com>,
Mauro Carvalho Chehab <mchehab@infradead.org>
Subject: Re: [PATCH] fix wrong sized spinlock flags argument
Date: Thu, 17 Jan 2008 15:48:16 -0800 (PST) [thread overview]
Message-ID: <alpine.LFD.1.00.0801171542390.2957@woody.linux-foundation.org> (raw)
In-Reply-To: <20080117205205.878723737@mvista.com>
Applied.
However, the patch itself didn't apply cleanly, because in my souce tree,
these two lines are in a different order:
On Thu, 17 Jan 2008, Daniel Walker wrote:
>
> pci_set_power_state(pci_dev, PCI_D0);
> pci_restore_state(pci_dev);
but I actually think your order is the *correct* one (because I'm not at
all sure that config space writes are even guaranteed to make a difference
when in D3cold).
So I wonder, did you have some other fix applied to your "original" tree
(it sure isn't original 2.6.23, since that whole suspend/resume code was
added later.
Maxim? Mauro? Pretty much all other drivers do
pci_set_power_state(pdev, PCI_D0);
pci_restore_state(pdev);
in that order, and I really do think that D3cold is allowed to not
actually react fully to all config space accesses (ie we have to re-write
them after bringing it out of D3)
Linus
next prev parent reply other threads:[~2008-01-17 23:49 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-01-17 20:52 Daniel Walker
2008-01-17 23:48 ` Linus Torvalds [this message]
2008-01-18 0:05 ` Daniel Walker
2008-01-18 10:13 ` Mauro Carvalho Chehab
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=alpine.LFD.1.00.0801171542390.2957@woody.linux-foundation.org \
--to=torvalds@linux-foundation.org \
--cc=dwalker@mvista.com \
--cc=linux-kernel@vger.kernel.org \
--cc=maximlevitsky@gmail.com \
--cc=mchehab@infradead.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
all inboxes | Powered by JetHome®