Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1266701

Re: [RFC PATCH] tsc: synchronize TSCs on buggy Intel Xeon E5 CPUs with offset error

From Josh Hunt <joshhunt00@gmail.com>
Newsgroups linux.kernel
Subject Re: [RFC PATCH] tsc: synchronize TSCs on buggy Intel Xeon E5 CPUs with offset error
Date 2015-11-10 19:30 +0100
Message-ID <qtlQ6-9M-29@gated-at.bofh.it> (permalink)
References <qt0Vk-2FZ-7@gated-at.bofh.it> <qt2Nt-4hc-33@gated-at.bofh.it> <qtlQ6-9M-31@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Tue, Nov 10, 2015 at 12:24 PM, Josh Hunt <joshhunt00@gmail.com> wrote:
>
> On Mon, Nov 9, 2015 at 4:02 PM, Peter Zijlstra <peterz@infradead.org> wrote:
>>
>> On Mon, Nov 09, 2015 at 01:59:02PM -0600, gratian.crisan@ni.com wrote:
>>
>> > The Intel Xeon E5 processor family suffers from errata[1] BT81:
>>
>> > +#ifdef CONFIG_X86_TSC
>> > +     /*
>> > +      * Xeon E5 BT81 errata: TSC is not affected by warm reset.
>> > +      * The TSC registers for CPUs other than CPU0 are not cleared by a warm
>> > +      * reset resulting in a constant offset error.
>> > +      */
>> > +     if ((c->x86 == 6) && (c->x86_model == 0x3f))
>> > +             set_cpu_bug(c, X86_BUG_TSC_OFFSET);
>> > +#endif
>>
>> That's hardly a family, that's just one, Haswell server.
>
>
> Are you actually observing this problem on this processor?
>
> The document you've referenced and the x86_model # above do not match up. The errata should be for Intel processors with an x86_model value of 0x2d by my calculations:
>
> Model: 1101b
> Extended Model: 0010b
>
> The calc from cpu_detect() is:
>                  if (c->x86 >= 0x6)
>                         c->x86_model += ((tfms >> 16) & 0xf) << 4;
>
> 0x3f is a different CPU.
> --
> Josh

Resending, as gmail inserted html and lkml dropped the previous reply...


-- 
Josh
--
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/

Back to linux.kernel | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

[RFC PATCH] tsc: synchronize TSCs on buggy Intel Xeon E5 CPUs with offset error gratian.crisan@ni.com - 2015-11-09 21:10 +0100
  Re: [RFC PATCH] tsc: synchronize TSCs on buggy Intel Xeon E5 CPUs  with offset error Peter Zijlstra <peterz@infradead.org> - 2015-11-09 23:10 +0100
    Re: [RFC PATCH] tsc: synchronize TSCs on buggy Intel Xeon E5 CPUs  with offset error Josh Hunt <joshhunt00@gmail.com> - 2015-11-10 19:30 +0100
      Re: [RFC PATCH] tsc: synchronize TSCs on buggy Intel Xeon E5 CPUs with offset error Gratian Crisan <gratian.crisan@ni.com> - 2015-11-10 20:50 +0100
        Re: [RFC PATCH] tsc: synchronize TSCs on buggy Intel Xeon E5 CPUs  with offset error Josh Hunt <joshhunt00@gmail.com> - 2015-11-10 21:50 +0100
          Re: [RFC PATCH] tsc: synchronize TSCs on buggy Intel Xeon E5 CPUs with offset error Gratian Crisan <gratian.crisan@ni.com> - 2015-11-11 17:00 +0100
            Re: [RFC PATCH] tsc: synchronize TSCs on buggy Intel Xeon E5 CPUs  with offset error Peter Zijlstra <peterz@infradead.org> - 2015-11-13 21:50 +0100
    Re: [RFC PATCH] tsc: synchronize TSCs on buggy Intel Xeon E5 CPUs  with offset error Dave Hansen <dave.hansen@intel.com> - 2015-11-13 22:20 +0100

csiph-web