Re: [PATCH v4 1/4] Produce system time from correlated clocksource
From: Richard Cochran
Date: Tue Oct 13 2015 - 04:31:26 EST
On Tue, Oct 13, 2015 at 09:51:02AM +0200, Thomas Gleixner wrote:
>
> You are restricting the problem space to this particular use
> case. There are other use cases where PTP is not available or not the
> relevant reference, but you still want to correlate time domains to
> ART.
They may well be other use cases, but they have not been identified
here. The PTP to media clock problem has a very simple solution. You
do not need a history of system time stamps to solve it.
Even if you wanted to correlate the system time's UTC with the media
clock, still you don't need any shadow history for that. Just feed
(ART, UTC) pairs into the DSP at a regular rate, and let the DSP do
the math. This does not need to be part of the central time keeping
code at all.
Thanks,
Richard
--
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/