lkml.org 
[lkml]   [2019]   [Apr]   [19]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: Detecting x86 LAPIC timer frequency from CPUID data
On Fri, 19 Apr 2019, Jacob Pan wrote:
> On Fri, 19 Apr 2019 10:57:10 +0200 (CEST)
> Thomas Gleixner <tglx@linutronix.de> wrote:
> > On Fri, 19 Apr 2019, Daniel Drake wrote:
> > > 0x7FFFFF vs 0x7FFFFFFF, is that intentional?
> >
> > I don't think so. Looks like a failed copy and paste. Cc'ed Jacob, he
> > might know.
> >
> At the time of v2.6.35 both places use 0x7FFFFF. But later this patch
> increased the latter to 0x7FFFFFFF but forgot the first part. So I
> guess it is not exactly a failed copy and paste.
>
> commit 4aed89d6b515b9185351706ca95cd712c9d8d6a3
> Author: Pierre Tardy <pierre.tardy@intel.com>
> Date: Thu Jan 6 16:23:29 2011 +0100
>
> x86, lapic-timer: Increase the max_delta to 31 bits

Indeed. Thanks for digging that up!

tglx

\
 
 \ /
  Last update: 2019-04-19 22:53    [W:0.116 / U:0.136 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site