Re: [Linuxptp-devel] [PATCH] PTP subsystem: implement POSIX timer interface

2016-09-12 Thread Richard Cochran
On Fri, Sep 09, 2016 at 10:39:09PM +0100, Kieran Tyrrell wrote: > a PTP hardware clock supporting timers (alarms) can now be used via the POSIX > timer (timer_create, timer_settime etc) interface > > Signed-off-by: Kieran Tyrrell > --- > drivers/ptp/ptp_clock.c | 233 > +++

Re: [Linuxptp-devel] [PATCH] igb: add timer (alarm) functionality

2016-09-12 Thread Richard Cochran
On Fri, Sep 09, 2016 at 10:42:15PM +0100, Kieran Tyrrell wrote: > @@ -5638,17 +5638,29 @@ static void igb_tsync_interrupt(struct igb_adapter > *adapter) > } > > if (tsicr & TSINTR_TT0) { > - spin_lock(&adapter->tmreg_lock); > - ts = timespec64_add(adapter->per

Re: [Linuxptp-devel] [PATCH] PTP subsystem: implement POSIX timer interface

2016-09-12 Thread Kieran Tyrrell
> On 12 Sep 2016, at 10:09, Richard Cochran wrote: > > On Fri, Sep 09, 2016 at 10:39:09PM +0100, Kieran Tyrrell wrote: >> a PTP hardware clock supporting timers (alarms) can now be used via the >> POSIX timer (timer_create, timer_settime etc) interface >> >> Signed-off-by: Kieran Tyrrell >> -

Re: [Linuxptp-devel] [PATCH] PTP subsystem: implement POSIX timer interface

2016-09-12 Thread Richard Cochran
On Mon, Sep 12, 2016 at 02:52:03PM +0100, Kieran Tyrrell wrote: > > The clock_gettime and timer_settime etc prototypes are declared in > struct posix_clock_operations in posix-clock.h, and used by > everything that implements a POSIX clock. The new interfaces that I > have defined between the PTP