Re: [PATCH v2 RESEND 1/3] clocksource/vt8500: Use MIN_OSCR_DELTA from PXA

From: Roman Volkov
Date: Thu Dec 31 2015 - 18:38:08 EST


Ð Thu, 31 Dec 2015 23:33:45 +0100 (CET)
Thomas Gleixner <tglx@xxxxxxxxxxxxx> ÐÐÑÐÑ:

> Roman,
>
> On Thu, 31 Dec 2015, Roman Volkov wrote:
> > Since vt8500 and PXA timers are identical, use MIN_OSCR_DELTA from
> > PXA, which is bigger than existing value. It is required to
> > determine the minimum delay which hardware can generate.
>
> Now that brings up the obvious question:
>
> If the vt8500 and PXA timers are identical why has vt8500 it's own
> slightly different implementation and does not use the PXA timer?

Thomas,

I occasionally noticed that the PXA can be reused, when working on the
bugfix for vt8500. Another good question would be how exactly this code
can be reused. We may rework PXA driver to make it working under
vt8500, or include the C code from the vt8500 and get two slightly
different modules. You may look at our previous discussion with Alexey:

https://lkml.org/lkml/2015/12/21/437

Adding Robert and Bill to get more opinions. At this step, fixing the
vt8500 nanosleep bug is a priority.

Happy New Year,
Roman
--
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/