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

From: Ingo Molnar
Date: Fri Mar 28 2014 - 03:17:30 EST



* Feng Tang <feng.tang@xxxxxxxxx> 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.

NAK!

If the HPET is unreliable on a specific platform then any of the
following solutions would address the problem (in order of
preference):

- the hardware should not expose it. Why waste silicon on something
that does not work?

- or the firmware should not expose it. Why expose something that
does not work?

- or the kernel should have a quirk to reliably disable it. Why
should we crash or misbehave if a driver is built into the
kernel?

tweaking a default is _NOT_ a solution for an unreliable hpet.

Thanks,

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