> On 15 Sep 2016, at 12:33, Richard Cochran <richardcoch...@gmail.com> wrote:
> 
> On Thu, Sep 15, 2016 at 09:56:24AM +0100, Kieran Tyrrell wrote:
> 
>> My signal delivery problem was a bug in the igb interrupt handler,
>> where I was assuming I could set a new trigger time for TT0 before
>> acknowledging the interrupt. Turns out I have to disable TT0,
>> acknowledge the interrupt, program the new trigger time, and then
>> re-enable TT0 for it to work. All timer signals are now delivered
>> synchronously and reliably.
> 
> So does this bug affect signal generation using TSINTR_TT0/1?
> 
> If so, that should be patched right away, before adding any new
> features.

I’m not sure, in the timer case it may only have been a problem when setting a 
new timer trigger time which has (by the time the registers were written and 
the interrupt acknowledged) already elapsed. I don’t have physical pins on my 
i210 card to attach a probe to, but I suppose this could be verified by adding 
debug to the interrupt handler. I’ll see if I can test this...


------------------------------------------------------------------------------
_______________________________________________
Linuxptp-devel mailing list
Linuxptp-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/linuxptp-devel

Reply via email to