Re: [patch] KVM: T60 resume fix

2007-03-05 Thread Ingo Molnar
* Michael S. Tsirkin <[EMAIL PROTECTED]> wrote: > > could you try 's2ram' from http://suspend.sf.net ? It's basically > > equivalent to 'echo mem > /sys/power/state', but you can usually also > > see the reason why it doesnt resume, on the vga console. (by default the > > kernel doesnt resume

Re: [patch] KVM: T60 resume fix

2007-03-05 Thread Michael S. Tsirkin
> Quoting Ingo Molnar <[EMAIL PROTECTED]>: > Subject: Re: [patch] KVM: T60 resume fix > > > * Michael S. Tsirkin <[EMAIL PROTECTED]> wrote: > > > > suspend/resume works fine now and there are no warning messages > > > whatsoever (with suspen

Re: [patch] KVM: T60 resume fix

2007-03-05 Thread Ingo Molnar
* Michael S. Tsirkin <[EMAIL PROTECTED]> wrote: > > suspend/resume works fine now and there are no warning messages > > whatsoever (with suspend simulation). Thanks Avi! > > I just tried Ingo's .config and it hangs on resume for me (with > suspend to memory). could you try 's2ram' from

Re: [patch] KVM: T60 resume fix

2007-03-05 Thread Michael S. Tsirkin
> suspend/resume works fine now and there are no warning messages > whatsoever (with suspend simulation). Thanks Avi! I just tried Ingo's .config and it hangs on resume for me (with suspend to memory). -- MST - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the

Re: [patch] KVM: T60 resume fix

2007-03-05 Thread Michael S. Tsirkin
> Quoting Avi Kivity <[EMAIL PROTECTED]>: > Subject: Re: [patch] KVM: T60 resume fix > > Ingo Molnar wrote: > > * Avi Kivity <[EMAIL PROTECTED]> wrote: > > > > > >>> suspend/resume works fine now and there are no warning messages

Re: [patch] KVM: T60 resume fix

2007-03-05 Thread Ingo Molnar
* Avi Kivity <[EMAIL PROTECTED]> wrote: > >it's just the simple hack below. > > Thanks, I'll put it to good use. Are you planning to upstream it? > Not for 2.6.21, presumably ;) it needs an essential cleanup: instead of modifying 'mem' behavior, it should be a 'testmem' thing and no acpi_

Re: [patch] KVM: T60 resume fix

2007-03-05 Thread Avi Kivity
Ingo Molnar wrote: * Avi Kivity <[EMAIL PROTECTED]> wrote: suspend/resume works fine now and there are no warning messages whatsoever (with suspend simulation). Thanks Avi! Where do I find this suspend simulation? Sounds like a great suspend debugging tool. it's just the

Re: [patch] KVM: T60 resume fix

2007-03-05 Thread Michael S. Tsirkin
> with this fix applied my laptop does not hang during resume. On the off chance that this is relevant, could you post your .config please? -- MST - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] More majordomo info at

Re: [patch] KVM: T60 resume fix

2007-03-05 Thread Ingo Molnar
* Avi Kivity <[EMAIL PROTECTED]> wrote: > > suspend/resume works fine now and there are no warning messages > > whatsoever (with suspend simulation). Thanks Avi! > > Where do I find this suspend simulation? Sounds like a great suspend > debugging tool. it's just the simple hack below.

Re: [patch] KVM: T60 resume fix

2007-03-05 Thread Avi Kivity
Ingo Molnar wrote: suspend/resume works fine now and there are no warning messages whatsoever (with suspend simulation). Thanks Avi! Where do I find this suspend simulation? Sounds like a great suspend debugging tool. -- Do not meddle in the internals of kernels, for they are subtle

Re: [patch] KVM: T60 resume fix

2007-03-05 Thread Ingo Molnar
* Ingo Molnar <[EMAIL PROTECTED]> wrote: > > Mainline now has DOWN_PREPARE and UP_CANCELED calling > > ->hardware_disable(), and ONLINE calling ->hardware_enabled(). What > > tree are you looking at? > > oh, i just hand-fixed it. I'll check current-git now. suspend/resume works fine now and

Re: [patch] KVM: T60 resume fix

2007-03-05 Thread Ingo Molnar
* Avi Kivity <[EMAIL PROTECTED]> wrote: > >> That is already CPU_ONLINE in my tree (and in the pull request sent > >> to Linus a couple of days ago). > > > > that solves the resume problem - but doesnt solve the CPU_DEAD issue > > of sending an IPI to an already offline CPU. Might be a better

Re: [patch] KVM: T60 resume fix

2007-03-05 Thread Avi Kivity
Ingo Molnar wrote: * Avi Kivity <[EMAIL PROTECTED]> wrote: my T60 laptop does not resume correctly due to KVM attempting to send an IPI to a CPU that might be down (or not up yet). (Doing so also triggers the send_IPI_mask_bitmask() warning in arch/i386/kernel/smp.c, line 732.) with

Re: [patch] KVM: T60 resume fix

2007-03-05 Thread Ingo Molnar
* Avi Kivity <[EMAIL PROTECTED]> wrote: > > my T60 laptop does not resume correctly due to KVM attempting to > > send an IPI to a CPU that might be down (or not up yet). (Doing so > > also triggers the send_IPI_mask_bitmask() warning in > > arch/i386/kernel/smp.c, line 732.) > > > >with this

Re: [patch] KVM: T60 resume fix

2007-03-05 Thread Ingo Molnar
* Avi Kivity [EMAIL PROTECTED] wrote: my T60 laptop does not resume correctly due to KVM attempting to send an IPI to a CPU that might be down (or not up yet). (Doing so also triggers the send_IPI_mask_bitmask() warning in arch/i386/kernel/smp.c, line 732.) with this fix applied my

Re: [patch] KVM: T60 resume fix

2007-03-05 Thread Avi Kivity
Ingo Molnar wrote: * Avi Kivity [EMAIL PROTECTED] wrote: my T60 laptop does not resume correctly due to KVM attempting to send an IPI to a CPU that might be down (or not up yet). (Doing so also triggers the send_IPI_mask_bitmask() warning in arch/i386/kernel/smp.c, line 732.) with this

Re: [patch] KVM: T60 resume fix

2007-03-05 Thread Ingo Molnar
* Avi Kivity [EMAIL PROTECTED] wrote: That is already CPU_ONLINE in my tree (and in the pull request sent to Linus a couple of days ago). that solves the resume problem - but doesnt solve the CPU_DEAD issue of sending an IPI to an already offline CPU. Might be a better idea to do

Re: [patch] KVM: T60 resume fix

2007-03-05 Thread Ingo Molnar
* Ingo Molnar [EMAIL PROTECTED] wrote: Mainline now has DOWN_PREPARE and UP_CANCELED calling -hardware_disable(), and ONLINE calling -hardware_enabled(). What tree are you looking at? oh, i just hand-fixed it. I'll check current-git now. suspend/resume works fine now and there are

Re: [patch] KVM: T60 resume fix

2007-03-05 Thread Avi Kivity
Ingo Molnar wrote: suspend/resume works fine now and there are no warning messages whatsoever (with suspend simulation). Thanks Avi! Where do I find this suspend simulation? Sounds like a great suspend debugging tool. -- Do not meddle in the internals of kernels, for they are subtle

Re: [patch] KVM: T60 resume fix

2007-03-05 Thread Ingo Molnar
* Avi Kivity [EMAIL PROTECTED] wrote: suspend/resume works fine now and there are no warning messages whatsoever (with suspend simulation). Thanks Avi! Where do I find this suspend simulation? Sounds like a great suspend debugging tool. it's just the simple hack below. Ingo

Re: [patch] KVM: T60 resume fix

2007-03-05 Thread Avi Kivity
Ingo Molnar wrote: * Avi Kivity [EMAIL PROTECTED] wrote: suspend/resume works fine now and there are no warning messages whatsoever (with suspend simulation). Thanks Avi! Where do I find this suspend simulation? Sounds like a great suspend debugging tool. it's just the

Re: [patch] KVM: T60 resume fix

2007-03-05 Thread Ingo Molnar
* Avi Kivity [EMAIL PROTECTED] wrote: it's just the simple hack below. Thanks, I'll put it to good use. Are you planning to upstream it? Not for 2.6.21, presumably ;) it needs an essential cleanup: instead of modifying 'mem' behavior, it should be a 'testmem' thing and no acpi_ flag.

Re: [patch] KVM: T60 resume fix

2007-03-05 Thread Michael S. Tsirkin
Quoting Avi Kivity [EMAIL PROTECTED]: Subject: Re: [patch] KVM: T60 resume fix Ingo Molnar wrote: * Avi Kivity [EMAIL PROTECTED] wrote: suspend/resume works fine now and there are no warning messages whatsoever (with suspend simulation). Thanks Avi! Where do I find

Re: [patch] KVM: T60 resume fix

2007-03-05 Thread Michael S. Tsirkin
with this fix applied my laptop does not hang during resume. On the off chance that this is relevant, could you post your .config please? -- MST - To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to [EMAIL PROTECTED] More majordomo info at

Re: [patch] KVM: T60 resume fix

2007-03-05 Thread Michael S. Tsirkin
suspend/resume works fine now and there are no warning messages whatsoever (with suspend simulation). Thanks Avi! I just tried Ingo's .config and it hangs on resume for me (with suspend to memory). -- MST - To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of

Re: [patch] KVM: T60 resume fix

2007-03-05 Thread Ingo Molnar
* Michael S. Tsirkin [EMAIL PROTECTED] wrote: suspend/resume works fine now and there are no warning messages whatsoever (with suspend simulation). Thanks Avi! I just tried Ingo's .config and it hangs on resume for me (with suspend to memory). could you try 's2ram' from

Re: [patch] KVM: T60 resume fix

2007-03-05 Thread Michael S. Tsirkin
Quoting Ingo Molnar [EMAIL PROTECTED]: Subject: Re: [patch] KVM: T60 resume fix * Michael S. Tsirkin [EMAIL PROTECTED] wrote: suspend/resume works fine now and there are no warning messages whatsoever (with suspend simulation). Thanks Avi! I just tried Ingo's .config

Re: [patch] KVM: T60 resume fix

2007-03-05 Thread Ingo Molnar
* Michael S. Tsirkin [EMAIL PROTECTED] wrote: could you try 's2ram' from http://suspend.sf.net ? It's basically equivalent to 'echo mem /sys/power/state', but you can usually also see the reason why it doesnt resume, on the vga console. (by default the kernel doesnt resume the t60's

Re: [patch] KVM: T60 resume fix

2007-03-03 Thread Junio C Hamano
Could you un-CC: git@vger.kernel.org from this thread, please? - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at

Re: [patch] KVM: T60 resume fix

2007-03-03 Thread Andrew Morton
On Sat, 03 Mar 2007 10:21:38 +0200 Avi Kivity <[EMAIL PROTECTED]> wrote: > Ingo Molnar wrote: > > Subject: [patch] KVM: T60 resume fix > > From: Ingo Molnar <[EMAIL PROTECTED]> > > > > my T60 laptop does not resume correctly due to KVM attempting to send

Re: [patch] KVM: T60 resume fix

2007-03-03 Thread Avi Kivity
Michael S. Tsirkin wrote: Quoting Ingo Molnar <[EMAIL PROTECTED]>: Subject: [patch] KVM: T60 resume fix From: Ingo Molnar <[EMAIL PROTECTED]> my T60 laptop does not resume correctly due to KVM attempting to send an IPI to a CPU that might be down (or not up yet). (Doing so a

Re: [patch] KVM: T60 resume fix

2007-03-03 Thread Avi Kivity
Ingo Molnar wrote: Subject: [patch] KVM: T60 resume fix From: Ingo Molnar <[EMAIL PROTECTED]> my T60 laptop does not resume correctly due to KVM attempting to send an IPI to a CPU that might be down (or not up yet). (Doing so also triggers the send_IPI_mask_bitmask() warning in arc

Re: [patch] KVM: T60 resume fix

2007-03-03 Thread Avi Kivity
Ingo Molnar wrote: Subject: [patch] KVM: T60 resume fix From: Ingo Molnar [EMAIL PROTECTED] my T60 laptop does not resume correctly due to KVM attempting to send an IPI to a CPU that might be down (or not up yet). (Doing so also triggers the send_IPI_mask_bitmask() warning in arch/i386/kernel

Re: [patch] KVM: T60 resume fix

2007-03-03 Thread Avi Kivity
Michael S. Tsirkin wrote: Quoting Ingo Molnar [EMAIL PROTECTED]: Subject: [patch] KVM: T60 resume fix From: Ingo Molnar [EMAIL PROTECTED] my T60 laptop does not resume correctly due to KVM attempting to send an IPI to a CPU that might be down (or not up yet). (Doing so also triggers

Re: [patch] KVM: T60 resume fix

2007-03-03 Thread Junio C Hamano
Could you un-CC: git@vger.kernel.org from this thread, please? - To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/

Re: [patch] KVM: T60 resume fix

2007-03-03 Thread Andrew Morton
On Sat, 03 Mar 2007 10:21:38 +0200 Avi Kivity [EMAIL PROTECTED] wrote: Ingo Molnar wrote: Subject: [patch] KVM: T60 resume fix From: Ingo Molnar [EMAIL PROTECTED] my T60 laptop does not resume correctly due to KVM attempting to send an IPI to a CPU that might be down (or not up yet

Re: [patch] KVM: T60 resume fix

2007-03-02 Thread Michael S. Tsirkin
> Quoting Ingo Molnar <[EMAIL PROTECTED]>: > Subject: [patch] KVM: T60 resume fix > From: Ingo Molnar <[EMAIL PROTECTED]> > > my T60 laptop does not resume correctly due to KVM attempting to send an > IPI to a CPU that might be down (or not up

[patch] KVM: T60 resume fix

2007-03-02 Thread Ingo Molnar
Subject: [patch] KVM: T60 resume fix From: Ingo Molnar <[EMAIL PROTECTED]> my T60 laptop does not resume correctly due to KVM attempting to send an IPI to a CPU that might be down (or not up yet). (Doing so also triggers the send_IPI_mask_bitmask() warning in arch/i386/kernel/smp.c, lin

[patch] KVM: T60 resume fix

2007-03-02 Thread Ingo Molnar
Subject: [patch] KVM: T60 resume fix From: Ingo Molnar [EMAIL PROTECTED] my T60 laptop does not resume correctly due to KVM attempting to send an IPI to a CPU that might be down (or not up yet). (Doing so also triggers the send_IPI_mask_bitmask() warning in arch/i386/kernel/smp.c, line 732

Re: [patch] KVM: T60 resume fix

2007-03-02 Thread Michael S. Tsirkin
Quoting Ingo Molnar [EMAIL PROTECTED]: Subject: [patch] KVM: T60 resume fix From: Ingo Molnar [EMAIL PROTECTED] my T60 laptop does not resume correctly due to KVM attempting to send an IPI to a CPU that might be down (or not up yet). (Doing so also triggers the send_IPI_mask_bitmask