Messages in this thread | | | Date | Fri, 23 Feb 2007 14:10:07 -0800 | From | "john stultz-lkml" <> | Subject | Re: radeon breaks with clocksource_jiffies |
| |
On 2/23/07, David Miller <davem@davemloft.net> wrote: > > While probeing PLL information via radeon_get_pllinfo(), it does a > > "gettimeofday(); do_something(); gettimeofday();" type sequence > > explicitly with interrupts disabled, so ends up with a zero > > measurement which then results in a bunch of divisions by zero. > > > > We should decide whether gettimeofday() can be expected to advance with > > interrupts disabled, or that clocksource_jiffies is simply invalid because > > of this behavior. > > Actually, with clocksource based gettimeofday(), radeon built-in cannot > work at all. > > The reason is that the clocksource code will not jump over to a > clock source other than clocksource_jiffies until the late initcalls > are run, because of this code:
Check out the patch I sent out yesterday. It should resolve this problem.
thanks -john - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |