cpu hotplug strangeness in 2.6.24-rc2 (was Re: cpu hotplug support broken in 2.6.23-rc3)

2007-11-15 Thread Pavel Machek
Hi! > > > Plus I guess it would be nice to add CPU HOTPLUG into MAINTAINERS > > > file: > > > > > > > There is a list of maintainers in the Documentation/cpu-hotplug.txt, > > which includes maintainers for different platforms as well. > > > > It's a good idea to add that info to the MAINTAINER

Re: cpu hotplug support broken in 2.6.23-rc3

2007-10-02 Thread Pavel Machek
Hi! > > > Venki sent me an initial patch, but it has issues with the notify > > > ordering. Find below my "cache the broadcast flags" version for testing. > > > > Hmmpf, the flag is still cleared when the cpu goes offline. Need to take > > a closer look. > > I finally tracked it down. There were

Re: cpu hotplug support broken in 2.6.23-rc3

2007-09-15 Thread Andrew Morton
On Sat, 15 Sep 2007 15:28:23 +0200 Thomas Gleixner <[EMAIL PROTECTED]> wrote: > On Sat, 2007-09-15 at 03:18 -0700, Andrew Morton wrote: > > > http://git.kernel.org/?p=linux/kernel/git/tglx/linux-2.6-hrt.git;a=shortlog;h=for-2.6.23 > > > > > > > That patch fixes the resume-from-ram and suspend-to

Re: cpu hotplug support broken in 2.6.23-rc3

2007-09-15 Thread Thomas Gleixner
On Sat, 2007-09-15 at 03:18 -0700, Andrew Morton wrote: > > http://git.kernel.org/?p=linux/kernel/git/tglx/linux-2.6-hrt.git;a=shortlog;h=for-2.6.23 > > > > That patch fixes the resume-from-ram and suspend-to-ram regressions on the > Vaio. > > I dropped the timekeeping.c hunks because they are a

Re: cpu hotplug support broken in 2.6.23-rc3

2007-09-15 Thread Thomas Gleixner
On Sat, 2007-09-15 at 03:18 -0700, Andrew Morton wrote: > On Sat, 15 Sep 2007 11:49:41 +0200 Thomas Gleixner <[EMAIL PROTECTED]> wrote: > > I dropped the timekeeping.c hunks because they are an older version of > timekeeping-prevent-time-going-backwards-on-resume.patch which I already > had. Err,

Re: cpu hotplug support broken in 2.6.23-rc3

2007-09-15 Thread Andrew Morton
On Sat, 15 Sep 2007 11:49:41 +0200 Thomas Gleixner <[EMAIL PROTECTED]> wrote: > On Fri, 2007-09-14 at 15:15 +0200, Thomas Gleixner wrote: > > > Venki sent me an initial patch, but it has issues with the notify > > > ordering. Find below my "cache the broadcast flags" version for testing. > > > >

Re: cpu hotplug support broken in 2.6.23-rc3

2007-09-15 Thread Thomas Gleixner
Pavel, On Fri, 2007-09-14 at 15:15 +0200, Thomas Gleixner wrote: > > Venki sent me an initial patch, but it has issues with the notify > > ordering. Find below my "cache the broadcast flags" version for testing. > > Hmmpf, the flag is still cleared when the cpu goes offline. Need to take > a clos

RE: cpu hotplug support broken in 2.6.23-rc3

2007-09-14 Thread Thomas Gleixner
On Fri, 2007-09-14 at 11:49 -0700, Pallipadi, Venkatesh wrote: > >> > >> Is there a patch you want me to test? Or does Len have anything to > >> play with? > > > >Venki sent me an initial patch, but it has issues with the notify > >ordering. Find below my "cache the broadcast flags" version > >fo

RE: cpu hotplug support broken in 2.6.23-rc3

2007-09-14 Thread Pallipadi, Venkatesh
; kernel list; Len Brown >Subject: Re: cpu hotplug support broken in 2.6.23-rc3 > >Pavel, > >On Fri, 2007-09-14 at 14:38 +0200, Pavel Machek wrote: >> > I have an yet untested fix, which preserves the broadcast >state across >> > the offline state, but Len is lookin

Re: cpu hotplug support broken in 2.6.23-rc3

2007-09-14 Thread Thomas Gleixner
On Fri, 2007-09-14 at 14:50 +0200, Thomas Gleixner wrote: > Pavel, > > On Fri, 2007-09-14 at 14:38 +0200, Pavel Machek wrote: > > > I have an yet untested fix, which preserves the broadcast state across > > > the offline state, but Len is looking into it as well, whether we can > > > just reevalua

Re: cpu hotplug support broken in 2.6.23-rc3

2007-09-14 Thread Thomas Gleixner
Pavel, On Fri, 2007-09-14 at 14:38 +0200, Pavel Machek wrote: > > I have an yet untested fix, which preserves the broadcast state across > > the offline state, but Len is looking into it as well, whether we can > > just reevaluate the power states (and the broadcast flags) when a cpu > > becomes o

Re: cpu hotplug support broken in 2.6.23-rc3

2007-09-14 Thread Pavel Machek
Hi! > > > What was the last known to work version ? > > > > I'm afraid I only turned on HIGH_RES_TIMERS in 2.6.23-rc1 > > timeframe... so I'm not sure if it ever worked for me. > > > > I can confirm it is working in 2.6.23-rc5 with highres disabled, and > > broken with highres enabled. NOHZ turn

Re: cpu hotplug support broken in 2.6.23-rc3

2007-09-13 Thread Thomas Gleixner
On Tue, 2007-09-04 at 09:27 +0200, Pavel Machek wrote: > > On Mon, 2007-09-03 at 12:19 +0200, Rafael J. Wysocki wrote: > > > > Ok, so it gets weirder. I have now machine in "hung" state; other > > > > consoles still work, but there are no timers - sleep 1 hangs forever. > > > > > > > > sysrq-t s

Re: cpu hotplug support broken in 2.6.23-rc3

2007-09-04 Thread Pavel Machek
> On Mon, 2007-09-03 at 12:19 +0200, Rafael J. Wysocki wrote: > > > Ok, so it gets weirder. I have now machine in "hung" state; other > > > consoles still work, but there are no timers - sleep 1 hangs forever. > > > > > > sysrq-t shows kstopmachine hung in hrtimer_try_to_cancel. > > > > > > So I

Re: cpu hotplug support broken in 2.6.23-rc3

2007-09-03 Thread Thomas Gleixner
On Mon, 2007-09-03 at 12:19 +0200, Rafael J. Wysocki wrote: > > Ok, so it gets weirder. I have now machine in "hung" state; other > > consoles still work, but there are no timers - sleep 1 hangs forever. > > > > sysrq-t shows kstopmachine hung in hrtimer_try_to_cancel. > > > > So I indeed suspec

Re: highres timers break cpu hotplug in 2.6.23-rc5 [was Re: cpu hotplug support broken in 2.6.23-rc3]

2007-09-03 Thread Jeff Chua
On 9/3/07, Pavel Machek <[EMAIL PROTECTED]> wrote: > It gets weirder. With "nohz=off" on commandline, I have to press any > key (generate interrupt?) for echo 1 > online to finish. 2.6.23-rc5 > kernel... but hotplug/unplug works reliably now. > > With nohz=off highres=off I can unplug/replug cpus

Re: cpu hotplug support broken in 2.6.23-rc3

2007-09-03 Thread Pavel Machek
On Wed 2007-08-29 13:38:27, Gautham R Shenoy wrote: > Hi Pavel, > On Mon, Aug 27, 2007 at 12:43:50PM +0200, Pavel Machek wrote: > > Hi! > > > > Trying to do few onlines/offlines reliably hangs my machine (thinkpad > > x60, i386 architecture). > > > > That's strange. > > I've been running cpu o

highres timers break cpu hotplug in 2.6.23-rc5 [was Re: cpu hotplug support broken in 2.6.23-rc3]

2007-09-03 Thread Pavel Machek
Hi! > > Can you try 20-or-so tests? Mine hangs randomly, so it survived 4 or > > so cycles at one point. > > Mine still survives with this ... with sleep 1 ... > > # for((i=0; i<100; i++)); do echo $i; echo $((i % 2)) > >/sys/devices/system/cpu/cpu1/online; sleep 1; done > > and this as well ..

Re: cpu hotplug support broken in 2.6.23-rc3

2007-09-03 Thread Rafael J. Wysocki
On Monday, 3 September 2007 05:47, Pavel Machek wrote: > Hi! > > > > Can you try 20-or-so tests? Mine hangs randomly, so it survived 4 or > > > so cycles at one point. > > > > Mine still survives with this ... with sleep 1 ... > > > > # for((i=0; i<100; i++)); do echo $i; echo $((i % 2)) > > >/s

Re: cpu hotplug support broken in 2.6.23-rc3

2007-09-03 Thread Pavel Machek
Hi! > > Can you try 20-or-so tests? Mine hangs randomly, so it survived 4 or > > so cycles at one point. > > Mine still survives with this ... with sleep 1 ... > > # for((i=0; i<100; i++)); do echo $i; echo $((i % 2)) > >/sys/devices/system/cpu/cpu1/online; sleep 1; done > > and this as well ..

Re: cpu hotplug support broken in 2.6.23-rc3

2007-08-29 Thread Gautham R Shenoy
Hi Pavel, On Mon, Aug 27, 2007 at 12:43:50PM +0200, Pavel Machek wrote: > Hi! > > Trying to do few onlines/offlines reliably hangs my machine (thinkpad > x60, i386 architecture). > That's strange. I've been running cpu offline/online tests with kern bench, cpufreq-ondemand and a few rt-tasks

Re: cpu hotplug support broken in 2.6.23-rc3

2007-08-28 Thread Jeff Chua
On 8/28/07, Pavel Machek <[EMAIL PROTECTED]> wrote: > Can you try 20-or-so tests? Mine hangs randomly, so it survived 4 or > so cycles at one point. Mine still survives with this ... with sleep 1 ... # for((i=0; i<100; i++)); do echo $i; echo $((i % 2)) >/sys/devices/system/cpu/cpu1/online; slee

Re: cpu hotplug support broken in 2.6.23-rc3

2007-08-28 Thread Akinobu Mita
2007/8/28, Rafael J. Wysocki <[EMAIL PROTECTED]>: > On Monday, 27 August 2007 23:58, Pavel Machek wrote: > > On Mon 2007-08-27 23:59:31, Rafael J. Wysocki wrote: > > > On Monday, 27 August 2007 23:32, Pavel Machek wrote: > > > > On Mon 2007-08-27 22:36:57, Jeff Chua wrote: > > > > > On 8/27/07, Pav

Re: cpu hotplug support broken in 2.6.23-rc3

2007-08-28 Thread Rafael J. Wysocki
On Monday, 27 August 2007 23:58, Pavel Machek wrote: > On Mon 2007-08-27 23:59:31, Rafael J. Wysocki wrote: > > On Monday, 27 August 2007 23:32, Pavel Machek wrote: > > > On Mon 2007-08-27 22:36:57, Jeff Chua wrote: > > > > On 8/27/07, Pavel Machek <[EMAIL PROTECTED]> wrote: > > > > > On Mon 2007-0

Re: cpu hotplug support broken in 2.6.23-rc3

2007-08-27 Thread Pavel Machek
On Mon 2007-08-27 23:59:31, Rafael J. Wysocki wrote: > On Monday, 27 August 2007 23:32, Pavel Machek wrote: > > On Mon 2007-08-27 22:36:57, Jeff Chua wrote: > > > On 8/27/07, Pavel Machek <[EMAIL PROTECTED]> wrote: > > > > On Mon 2007-08-27 12:43:50, Pavel Machek wrote: > > > > > Hi! > > > > > > >

Re: cpu hotplug support broken in 2.6.23-rc3

2007-08-27 Thread Rafael J. Wysocki
On Monday, 27 August 2007 23:32, Pavel Machek wrote: > On Mon 2007-08-27 22:36:57, Jeff Chua wrote: > > On 8/27/07, Pavel Machek <[EMAIL PROTECTED]> wrote: > > > On Mon 2007-08-27 12:43:50, Pavel Machek wrote: > > > > Hi! > > > > > > > > Trying to do few onlines/offlines reliably hangs my machine (

Re: cpu hotplug support broken in 2.6.23-rc3

2007-08-27 Thread Pavel Machek
On Mon 2007-08-27 22:36:57, Jeff Chua wrote: > On 8/27/07, Pavel Machek <[EMAIL PROTECTED]> wrote: > > On Mon 2007-08-27 12:43:50, Pavel Machek wrote: > > > Hi! > > > > > > Trying to do few onlines/offlines reliably hangs my machine (thinkpad > > > x60, i386 architecture). > > I just 3 cycles of o

Re: cpu hotplug support broken in 2.6.23-rc3

2007-08-27 Thread Michal Piotrowski
Hi, On 27/08/07, Jeff Chua <[EMAIL PROTECTED]> wrote: > On 8/27/07, Pavel Machek <[EMAIL PROTECTED]> wrote: > > On Mon 2007-08-27 12:43:50, Pavel Machek wrote: > > > Hi! > > > > > > Trying to do few onlines/offlines reliably hangs my machine (thinkpad > > > x60, i386 architecture). > > I just 3 cy

Re: cpu hotplug support broken in 2.6.23-rc3

2007-08-27 Thread Jeff Chua
On 8/27/07, Pavel Machek <[EMAIL PROTECTED]> wrote: > On Mon 2007-08-27 12:43:50, Pavel Machek wrote: > > Hi! > > > > Trying to do few onlines/offlines reliably hangs my machine (thinkpad > > x60, i386 architecture). I just 3 cycles of on-line/off-line on 2.6.23-rc3 on ThinkPad x60s, and my system

Re: cpu hotplug support broken in 2.6.23-rc3

2007-08-27 Thread Pavel Machek
On Mon 2007-08-27 12:43:50, Pavel Machek wrote: > Hi! > > Trying to do few onlines/offlines reliably hangs my machine (thinkpad > x60, i386 architecture). > > Plus I guess it would be nice to add CPU HOTPLUG into MAINTAINERS > file: > > [EMAIL PROTECTED]:/data/l/linux$ grep CPU MAINTAINERS > CPU

cpu hotplug support broken in 2.6.23-rc3

2007-08-27 Thread Pavel Machek
Hi! Trying to do few onlines/offlines reliably hangs my machine (thinkpad x60, i386 architecture). Plus I guess it would be nice to add CPU HOTPLUG into MAINTAINERS file: [EMAIL PROTECTED]:/data/l/linux$ grep CPU MAINTAINERS CPU FREQUENCY DRIVERS CPUID/MSR DRIVER CPUSETS i386 SETUP CODE / CPU ER