[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <alpine.LFD.1.00.0801171542390.2957@woody.linux-foundation.org>
Date: Thu, 17 Jan 2008 15:48:16 -0800 (PST)
From: Linus Torvalds <torvalds@...ux-foundation.org>
To: Daniel Walker <dwalker@...sta.com>
cc: linux-kernel@...r.kernel.org,
Maxim Levitsky <maximlevitsky@...il.com>,
Mauro Carvalho Chehab <mchehab@...radead.org>
Subject: Re: [PATCH] fix wrong sized spinlock flags argument
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
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists