Re: [PATCH] fix wrong sized spinlock flags argument

!MAILaRCHIVE_VOTE_RePLACE
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Daniel Walker <dwalker@...>
Cc: <linux-kernel@...>, Maxim Levitsky <maximlevitsky@...>, Mauro Carvalho Chehab <mchehab@...>
Date: Thursday, January 17, 2008 - 7:48 pm

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:

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
--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[PATCH] fix wrong sized spinlock flags argument, Daniel Walker, (Thu Jan 17, 4:52 pm)
Re: [PATCH] fix wrong sized spinlock flags argument, Linus Torvalds, (Thu Jan 17, 7:48 pm)
Re: [PATCH] fix wrong sized spinlock flags argument, Daniel Walker, (Thu Jan 17, 8:05 pm)
Re: [PATCH] fix wrong sized spinlock flags argument, Mauro Carvalho Chehab, (Fri Jan 18, 6:13 am)