lkml.org 
[lkml]   [2020]   [Jan]   [24]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [v3] x86/tsc: Unset TSC_KNOWN_FREQ and TSC_RELIABLE flags on Intel Bay Trail SoC
From
Date
Hans,

Hans de Goede <hdegoede@redhat.com> writes:

> Hi,
>
> Sorry for top posting, but this is a long and almost unreadable thread ...
>
> So it seems to me that a better fix would be to change the freq_desc_byt struct from:
>
> static const struct freq_desc freq_desc_byt = {
> 1, { 83300, 100000, 133300, 116700, 80000, 0, 0, 0 }
> };
>
> to:
>
> static const struct freq_desc freq_desc_byt = {
> 1, { 83333, 100000, 133300, 116700, 80000, 0, 0, 0 }
> };
>
> That should give us the right TSC frequency without needing to mess with
> the TSC_KNOWN_FREQ and TSC_RELIABLE flags.

Where does that number come from? Just math?

Thanks,

tglx


\
 
 \ /
  Last update: 2020-01-24 09:36    [W:0.178 / U:0.140 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site