lkml.org 
[lkml]   [2017]   [Dec]   [28]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] x86_64: use HPET in 64-bit mode to avoid a harware 32-bit wraparound bug
On Fri, 8 Dec 2017, Jiri Bohac wrote:

> This patch changes the HPET clockevent code to use the Timer 0 in 64-bit
> mode (if compiled for x86_64; doing this for 32-bit kernels would bring
> a performance penalty as a single read would require three 32-bit HPET
> accesses).

We tried that before and 64bit mode did not work on all tested platforms.

Aside of that your patch is broken because it does not check whether HPET
actually supports 64bit mode at all. The COUNT_SIZE_CAP bit is there for a
reason.

Thanks,

tglx

\
 
 \ /
  Last update: 2017-12-28 12:49    [W:0.139 / U:0.648 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site