public inbox for linux-acpi@vger.kernel.org
 help / color / mirror / Atom feed
* Re: [linux-pm] [2.6.30-rc1-git2 regressions] Hibernation broken and (minor but annoying) audio problem
       [not found]   ` <200904101439.43480.rjw@sisk.pl>
@ 2009-04-11  2:35     ` Len Brown
  2009-04-11 18:11       ` Linus Torvalds
  0 siblings, 1 reply; 7+ messages in thread
From: Len Brown @ 2009-04-11  2:35 UTC (permalink / raw)
  To: Rafael J. Wysocki
  Cc: Linus Torvalds, Takashi Iwai, pm list, Arjan van de Ven, LKML,
	Andrew Morton, linux-acpi

fastboot also causes the S3 regression here:

http://bugzilla.kernel.org/show_bug.cgi?id=12936

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [linux-pm] [2.6.30-rc1-git2 regressions] Hibernation broken and (minor but annoying) audio problem
  2009-04-11  2:35     ` [linux-pm] [2.6.30-rc1-git2 regressions] Hibernation broken and (minor but annoying) audio problem Len Brown
@ 2009-04-11 18:11       ` Linus Torvalds
  2009-04-11 19:00         ` Heinz Diehl
  2009-04-11 19:16         ` Arjan van de Ven
  0 siblings, 2 replies; 7+ messages in thread
From: Linus Torvalds @ 2009-04-11 18:11 UTC (permalink / raw)
  To: Len Brown
  Cc: Rafael J. Wysocki, Takashi Iwai, pm list, Arjan van de Ven, LKML,
	Andrew Morton, linux-acpi



On Fri, 10 Apr 2009, Len Brown wrote:
>
> fastboot also causes the S3 regression here:
> 
> http://bugzilla.kernel.org/show_bug.cgi?id=12936

Looks like the same issue. Does my one-liner fix that case too?

		Linus

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [linux-pm] [2.6.30-rc1-git2 regressions] Hibernation broken and (minor but annoying) audio problem
  2009-04-11 18:11       ` Linus Torvalds
@ 2009-04-11 19:00         ` Heinz Diehl
  2009-04-11 19:16         ` Arjan van de Ven
  1 sibling, 0 replies; 7+ messages in thread
From: Heinz Diehl @ 2009-04-11 19:00 UTC (permalink / raw)
  To: Linus Torvalds
  Cc: Rafael J. Wysocki, Takashi Iwai, pm list, Arjan van de Ven, LKML,
	Andrew Morton, linux-acpi

On 11.04.2009, Linus Torvalds wrote: 

[Len Brown:]
> > fastboot also causes the S3 regression here:
> > http://bugzilla.kernel.org/show_bug.cgi?id=12936
 
> Looks like the same issue. Does my one-liner fix that case too?

http://bugzilla.kernel.org/show_bug.cgi?id=13063

Your one-liner fixes this bug, too. Without the revertion mentioned in the
bugreport applied!

Regards,
Heinz.

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [linux-pm] [2.6.30-rc1-git2 regressions] Hibernation broken and (minor but annoying) audio problem
  2009-04-11 18:11       ` Linus Torvalds
  2009-04-11 19:00         ` Heinz Diehl
@ 2009-04-11 19:16         ` Arjan van de Ven
  2009-04-11 19:50           ` Linus Torvalds
  1 sibling, 1 reply; 7+ messages in thread
From: Arjan van de Ven @ 2009-04-11 19:16 UTC (permalink / raw)
  To: Linus Torvalds
  Cc: Len Brown, Rafael J. Wysocki, Takashi Iwai, pm list, LKML,
	Andrew Morton, linux-acpi

Linus Torvalds wrote:
> 
> On Fri, 10 Apr 2009, Len Brown wrote:
>> fastboot also causes the S3 regression here:
>>
>> http://bugzilla.kernel.org/show_bug.cgi?id=12936
> 
> Looks like the same issue. Does my one-liner fix that case too?
Now that I've been able to scan most of my mail; it looks like the one-liner should just go in.
Restricting module loading from async work to only non-blocking is not a big deal,
and it seems that userspace in various distros is really broken (and breaks on scsi already today),
but that is not something we can really fix quickly.
The sad part is that the userland is unlikely get fixed unless it shows breakage, and we can't break it (obviously).

I don't know of any good other solutions; right now it's mostly the partition scan (which is already mostly async on
scsi since a really long time, just in practice fast enough unless you have a big server).

(The __init thing in modules is separate and easy to fix, but without the other stuff being fixed there's no point)



^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [2.6.30-rc1-git2 regressions] Hibernation broken and (minor but annoying) audio problem
  2009-04-11 19:16         ` Arjan van de Ven
@ 2009-04-11 19:50           ` Linus Torvalds
  2009-04-11 20:11             ` [linux-pm] " Arjan van de Ven
  2009-04-11 20:18             ` Arkadiusz Miskiewicz
  0 siblings, 2 replies; 7+ messages in thread
From: Linus Torvalds @ 2009-04-11 19:50 UTC (permalink / raw)
  To: Arjan van de Ven
  Cc: Arkadiusz Miskiewicz, Takashi Iwai, LKML, linux-acpi,
	Vegard Nossum, pm list, Andrew Morton, Heinz Diehl



On Sat, 11 Apr 2009, Arjan van de Ven wrote:
>
> Now that I've been able to scan most of my mail; it looks like the one-liner
> should just go in.

Ok, I committed my one-liner, and then also reverted the ACPI battery 
workaround of removing __init, since the one-liner should fix that too.

Cc'ing the people involved with that commit, just so that they know to 
test to make sure the alternate fix really did fix it for them (I'm pretty 
sure it does, but still a good idea to verify or at least let people know 
that a previous fix got reverted)

			Linus

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [linux-pm] [2.6.30-rc1-git2 regressions] Hibernation broken and (minor but annoying) audio problem
  2009-04-11 19:50           ` Linus Torvalds
@ 2009-04-11 20:11             ` Arjan van de Ven
  2009-04-11 20:18             ` Arkadiusz Miskiewicz
  1 sibling, 0 replies; 7+ messages in thread
From: Arjan van de Ven @ 2009-04-11 20:11 UTC (permalink / raw)
  To: Linus Torvalds
  Cc: Len Brown, Rafael J. Wysocki, Takashi Iwai, pm list, LKML,
	Andrew Morton, linux-acpi, Heinz Diehl, Arkadiusz Miskiewicz,
	Vegard Nossum

Linus Torvalds wrote:
> 
> On Sat, 11 Apr 2009, Arjan van de Ven wrote:
>> Now that I've been able to scan most of my mail; it looks like the one-liner
>> should just go in.
> 
> Ok, I committed my one-liner, and then also reverted the ACPI battery 
> workaround of removing __init, since the one-liner should fix that too.
> 
> Cc'ing the people involved with that commit, just so that they know to 
> test to make sure the alternate fix really did fix it for them (I'm pretty 
> sure it does, but still a good idea to verify or at least let people know 
> that a previous fix got reverted)

longer term I would like to work on two things
1) Fix the __init thing by just only freeing when appropriate, but not having to wait for it
2) Find a way for userland to trigger a sync
    - for all storage probing
    - for just async work
    - "global sync", which includes all driver init
    We can then have insmod/modprobe use this always, unless a flag is set
    (so say, udev, can load a slew of modules, and then sync only on the last one)

and then after a year or two we can maybe remove the sync from the module loader ;(

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [linux-pm] [2.6.30-rc1-git2 regressions] Hibernation broken and (minor but annoying) audio problem
  2009-04-11 19:50           ` Linus Torvalds
  2009-04-11 20:11             ` [linux-pm] " Arjan van de Ven
@ 2009-04-11 20:18             ` Arkadiusz Miskiewicz
  1 sibling, 0 replies; 7+ messages in thread
From: Arkadiusz Miskiewicz @ 2009-04-11 20:18 UTC (permalink / raw)
  To: Linus Torvalds
  Cc: Arjan van de Ven, Len Brown, Rafael J. Wysocki, Takashi Iwai,
	pm list, LKML, Andrew Morton, linux-acpi, Heinz Diehl,
	Vegard Nossum

On Saturday 11 of April 2009, Linus Torvalds wrote:
> On Sat, 11 Apr 2009, Arjan van de Ven wrote:
> > Now that I've been able to scan most of my mail; it looks like the
> > one-liner should just go in.
>
> Ok, I committed my one-liner, and then also reverted the ACPI battery
> workaround of removing __init, since the one-liner should fix that too.

Tested - works here|.

> 			Linus


-- 
Arkadiusz Miśkiewicz        PLD/Linux Team
arekm / maven.pl            http://ftp.pld-linux.org/

--
To unsubscribe from this list: send the line "unsubscribe linux-acpi" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2009-04-11 20:18 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <200904100057.43827.rjw@sisk.pl>
     [not found] ` <alpine.LFD.2.00.0904091605080.4583@localhost.localdomain>
     [not found]   ` <200904101439.43480.rjw@sisk.pl>
2009-04-11  2:35     ` [linux-pm] [2.6.30-rc1-git2 regressions] Hibernation broken and (minor but annoying) audio problem Len Brown
2009-04-11 18:11       ` Linus Torvalds
2009-04-11 19:00         ` Heinz Diehl
2009-04-11 19:16         ` Arjan van de Ven
2009-04-11 19:50           ` Linus Torvalds
2009-04-11 20:11             ` [linux-pm] " Arjan van de Ven
2009-04-11 20:18             ` Arkadiusz Miskiewicz

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox