Re: [linux-pm] [3/6] 2.6.21-rc4: known regressions

2007-03-29 Thread Maxim Levitsky
On Friday 30 March 2007 03:09:14 David Brownell wrote: > On Thursday 29 March 2007 4:29 pm, Maxim Levitsky wrote: > > On Friday 30 March 2007 00:33:35 David Brownell wrote: > > > On Wednesday 28 March 2007 2:27 pm, Maxim wrote: > > > > > So the only way out is to emulate RTC using HPET, >

Re: [linux-pm] [3/6] 2.6.21-rc4: known regressions

2007-03-29 Thread David Brownell
On Thursday 29 March 2007 4:29 pm, Maxim Levitsky wrote: > On Friday 30 March 2007 00:33:35 David Brownell wrote: > > On Wednesday 28 March 2007 2:27 pm, Maxim wrote: > > > So the only way out is to emulate RTC using HPET, > > > It is done this way in old rtc driver, rtc-cmos should do the

Re: [linux-pm] [3/6] 2.6.21-rc4: known regressions

2007-03-29 Thread Maxim Levitsky
On Friday 30 March 2007 00:33:35 David Brownell wrote: > On Wednesday 28 March 2007 2:27 pm, Maxim wrote: > > On Wednesday 28 March 2007 22:59:26 David Brownell wrote: > > > When HPET is active it eats RTC IRQ, > > Only when HPET timers 0 and 1 are set up for "Legacy Replacement Mode". > In

Re: [linux-pm] [3/6] 2.6.21-rc4: known regressions

2007-03-29 Thread David Brownell
On Wednesday 28 March 2007 2:27 pm, Maxim wrote: > On Wednesday 28 March 2007 22:59:26 David Brownell wrote: > When HPET is active it eats RTC IRQ, Only when HPET timers 0 and 1 are set up for "Legacy Replacement Mode". In the more sensible "Standard Mode", they have their own IRQs. >

Re: [linux-pm] [3/6] 2.6.21-rc4: known regressions

2007-03-29 Thread David Brownell
On Wednesday 28 March 2007 2:27 pm, Maxim wrote: On Wednesday 28 March 2007 22:59:26 David Brownell wrote: When HPET is active it eats RTC IRQ, Only when HPET timers 0 and 1 are set up for Legacy Replacement Mode. In the more sensible Standard Mode, they have their own IRQs. So

Re: [linux-pm] [3/6] 2.6.21-rc4: known regressions

2007-03-29 Thread Maxim Levitsky
On Friday 30 March 2007 00:33:35 David Brownell wrote: On Wednesday 28 March 2007 2:27 pm, Maxim wrote: On Wednesday 28 March 2007 22:59:26 David Brownell wrote: When HPET is active it eats RTC IRQ, Only when HPET timers 0 and 1 are set up for Legacy Replacement Mode. In the more

Re: [linux-pm] [3/6] 2.6.21-rc4: known regressions

2007-03-29 Thread David Brownell
On Thursday 29 March 2007 4:29 pm, Maxim Levitsky wrote: On Friday 30 March 2007 00:33:35 David Brownell wrote: On Wednesday 28 March 2007 2:27 pm, Maxim wrote: So the only way out is to emulate RTC using HPET, It is done this way in old rtc driver, rtc-cmos should do the same.

Re: [linux-pm] [3/6] 2.6.21-rc4: known regressions

2007-03-29 Thread Maxim Levitsky
On Friday 30 March 2007 03:09:14 David Brownell wrote: On Thursday 29 March 2007 4:29 pm, Maxim Levitsky wrote: On Friday 30 March 2007 00:33:35 David Brownell wrote: On Wednesday 28 March 2007 2:27 pm, Maxim wrote: So the only way out is to emulate RTC using HPET,

Re: [linux-pm] [3/6] 2.6.21-rc4: known regressions

2007-03-28 Thread Maxim
On Wednesday 28 March 2007 22:42:00 Linus Torvalds wrote: > > On Wed, 28 Mar 2007, David Brownell wrote: > > > > On Wednesday 28 March 2007 9:38 am, Linus Torvalds wrote: > > > > > It's a *device*, dammit. It should save and resume like one (probably as > > > a > > > system device). The

Re: [linux-pm] [3/6] 2.6.21-rc4: known regressions

2007-03-28 Thread Maxim
On Wednesday 28 March 2007 22:59:26 David Brownell wrote: > On Wednesday 28 March 2007 1:19 pm, Maxim wrote: > > On Wednesday 28 March 2007 21:38:55 David Brownell wrote: > > > > > > > Also, making HPET use the legacy mode seems like a step backwards. > > > It is not 'legacy' mode, > > It

Re: [linux-pm] [3/6] 2.6.21-rc4: known regressions

2007-03-28 Thread David Brownell
On Wednesday 28 March 2007 1:42 pm, Linus Torvalds wrote: > > I won't disagree - it might well be much nicer to just show it in the > "real" device tree. I'm not 100% sure where in the tree it would go, > though. It should probably be "inside" the root entry, before any of the > PCI buses.

Re: [linux-pm] [3/6] 2.6.21-rc4: known regressions

2007-03-28 Thread David Brownell
On Wednesday 28 March 2007 1:19 pm, Maxim wrote: > On Wednesday 28 March 2007 21:38:55 David Brownell wrote: > > > > Also, making HPET use the legacy mode seems like a step backwards. > It is not 'legacy' mode, > It is a legacy replacement mode. Typo, sorry. > It this mode HPET takes

Re: [linux-pm] [3/6] 2.6.21-rc4: known regressions

2007-03-28 Thread Linus Torvalds
On Wed, 28 Mar 2007, David Brownell wrote: > > On Wednesday 28 March 2007 9:38 am, Linus Torvalds wrote: > > > It's a *device*, dammit. It should save and resume like one (probably as a > > system device). The "set_mode()" etc stuff is at a completely different > > (higher) conceptual level.

Re: [linux-pm] [3/6] 2.6.21-rc4: known regressions

2007-03-28 Thread Maxim
On Wednesday 28 March 2007 21:38:55 David Brownell wrote: > On Wednesday 28 March 2007 9:38 am, Linus Torvalds wrote: > > > It's a *device*, dammit. It should save and resume like one (probably as a > > system device). The "set_mode()" etc stuff is at a completely different > > (higher)

Re: [linux-pm] [3/6] 2.6.21-rc4: known regressions

2007-03-28 Thread David Brownell
On Wednesday 28 March 2007 9:38 am, Linus Torvalds wrote: > It's a *device*, dammit. It should save and resume like one (probably as a > system device). The "set_mode()" etc stuff is at a completely different > (higher) conceptual level. Agreed, except about "probably as a system device".

Re: [linux-pm] [3/6] 2.6.21-rc4: known regressions

2007-03-28 Thread David Brownell
On Wednesday 28 March 2007 9:38 am, Linus Torvalds wrote: It's a *device*, dammit. It should save and resume like one (probably as a system device). The set_mode() etc stuff is at a completely different (higher) conceptual level. Agreed, except about probably as a system device. Last I

Re: [linux-pm] [3/6] 2.6.21-rc4: known regressions

2007-03-28 Thread Maxim
On Wednesday 28 March 2007 21:38:55 David Brownell wrote: On Wednesday 28 March 2007 9:38 am, Linus Torvalds wrote: It's a *device*, dammit. It should save and resume like one (probably as a system device). The set_mode() etc stuff is at a completely different (higher) conceptual level.

Re: [linux-pm] [3/6] 2.6.21-rc4: known regressions

2007-03-28 Thread Linus Torvalds
On Wed, 28 Mar 2007, David Brownell wrote: On Wednesday 28 March 2007 9:38 am, Linus Torvalds wrote: It's a *device*, dammit. It should save and resume like one (probably as a system device). The set_mode() etc stuff is at a completely different (higher) conceptual level. Agreed,

Re: [linux-pm] [3/6] 2.6.21-rc4: known regressions

2007-03-28 Thread David Brownell
On Wednesday 28 March 2007 1:19 pm, Maxim wrote: On Wednesday 28 March 2007 21:38:55 David Brownell wrote: Also, making HPET use the legacy mode seems like a step backwards. It is not 'legacy' mode, It is a legacy replacement mode. Typo, sorry. It this mode HPET takes over IRQ0

Re: [linux-pm] [3/6] 2.6.21-rc4: known regressions

2007-03-28 Thread David Brownell
On Wednesday 28 March 2007 1:42 pm, Linus Torvalds wrote: I won't disagree - it might well be much nicer to just show it in the real device tree. I'm not 100% sure where in the tree it would go, though. It should probably be inside the root entry, before any of the PCI buses. Mixing

Re: [linux-pm] [3/6] 2.6.21-rc4: known regressions

2007-03-28 Thread Maxim
On Wednesday 28 March 2007 22:59:26 David Brownell wrote: On Wednesday 28 March 2007 1:19 pm, Maxim wrote: On Wednesday 28 March 2007 21:38:55 David Brownell wrote: Also, making HPET use the legacy mode seems like a step backwards. It is not 'legacy' mode, It is a legacy

Re: [linux-pm] [3/6] 2.6.21-rc4: known regressions

2007-03-28 Thread Maxim
On Wednesday 28 March 2007 22:42:00 Linus Torvalds wrote: On Wed, 28 Mar 2007, David Brownell wrote: On Wednesday 28 March 2007 9:38 am, Linus Torvalds wrote: It's a *device*, dammit. It should save and resume like one (probably as a system device). The set_mode() etc stuff is