Re: [PATCH] x86: hpet: Don't default CONFIG_HPET_TIMER to be y for X86_64

From: Feng Tang
Date: Thu Mar 27 2014 - 22:49:14 EST


On Thu, Mar 27, 2014 at 12:52:57PM -0700, Andy Lutomirski wrote:
> On 03/27/2014 04:02 AM, Clemens Ladisch wrote:
> > Feng Tang wrote:
> >> On many new phone/tablet platforms like Baytrail/Merrifield etc,
> >> the HPET are either defeatured or has some problem to be used
> >> as a reliable timer. As these platforms also have X86_64, we
> >> should not make HPET_TIMER default y for all X86_64.
>
> Wouldn't it be better to fix the hpet driver so that the hpet doesn't
> used on these platforms?
>
> >
> > The help text still says:
> > | You can safely choose Y here. [...]
> > | Choose N to continue using the legacy 8254 timer.
> >
> > Are these statements still true for those platforms?
>
> They aren't true for modern desktop and server platforms -- the TSC is
> used regardless of hpet availability.

The way of using TSC varies depends on the generations of platforms.
Thomas Gleixner once gave a very good description, which link I personally
bookmarked, and would share here:
https://lkml.org/lkml/2013/5/8/202

Thanks,
Feng

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/