[lkml]   [2009]   [Jun]   [16]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: [PATCH] Convert alpha to use arch_gettimeoffset()
john stultz wrote:
> On Fri, 2009-06-12 at 00:03 -0700, Richard Henderson wrote:
>> john stultz wrote:
>>> I suspect the alpha arch could even be further improved to provide and
>>> rpcc() based clocksource, but not having the hardware, I don't feel
>>> comfortable attempting the more complicated conversion (but I'd be glad
>>> to help if anyone else is interested).
>> Unfortunately this isn't possible. The rpcc value is only 32-bits wide,
>> and so rolls over in approx 3 to 4 seconds. Thus all the contortions to
>> try and use the truncated value for sub 1 second adjustments.
> That's actually ok. The ACPI PM clocksource on x86 is only 24 bits wide
> and wraps every 5 seconds. The generic timekeeping code handles the
> wrapping and accumulation for you.
> Might you create a patch that does this conversion and apply it on top
> of mine?
Unfortunately I don't have working hardware anymore. Perhaps Ivan will
be able to help here.


 \ /
  Last update: 2009-06-16 19:47    [W:0.049 / U:3.924 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site