[lkml]   [2010]   [May]   [24]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRE: [PATCH] x86: Export tsc related information in sysfs
> Sorry, this is sort of mixing points
> Again, this is mixing the discussion.

Oops, sorry, missed that. :-}

> Maybe something like a tsc_long_calibration=1 option would allow for
> this?

Sounds good to me. If it's non-obvious what value to choose for
the new calibration, maybe specifying it in MS (per MAX_QUICK_PIT_MS
in arch/x86/kernel/tsc.c) would be nice.

> However, I really do like the idea of pulling the stamped value from
> the MSR and if its close to what we quickly calibrated, use that.

On a quick sample of two machines looking at the TSC calibration
done by Xen (which exposes the equivalent of tsc_khz), it appears
that the stamped value is different from the calibration by about
1000ppm. YMMV.

 \ /
  Last update: 2010-05-25 02:05    [W:0.039 / U:38.492 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site