Re: [PATCH 01/27] habanalabs/gaudi2: increase user interrupt grace time

2023-02-20 Thread Stanislaw Gruszka
On Sun, Feb 12, 2023 at 10:44:28PM +0200, Oded Gabbay wrote: > From: Ofir Bitton > > Currently we support scenarios where a timestamp registration request > of a certain offset is received during the interrupt handling of the > same offset. In this case we give a grace period of up to 100us for

RE: [PATCH 01/27] habanalabs/gaudi2: increase user interrupt grace time

2023-02-18 Thread Ofir Bitton
On Thu, Feb 16, 2023 at 16:24 PM, Oded Gabbay wrote: > > On Thu, Feb 16, 2023 at 12:53 PM Stanislaw Gruszka > wrote: > > > > On Sun, Feb 12, 2023 at 10:44:28PM +0200, Oded Gabbay wrote: > > > @@ -3178,11 +3181,12 @@ static int > > > ts_buff_get_kernel_ts_record(struct hl_mmap_mem_buf *buf, > > >

Re: [PATCH 01/27] habanalabs/gaudi2: increase user interrupt grace time

2023-02-16 Thread Oded Gabbay
On Thu, Feb 16, 2023 at 12:53 PM Stanislaw Gruszka wrote: > > On Sun, Feb 12, 2023 at 10:44:28PM +0200, Oded Gabbay wrote: > > @@ -3178,11 +3181,12 @@ static int ts_buff_get_kernel_ts_record(struct > > hl_mmap_mem_buf *buf, > > > > /* irq handling in the middle give it time

Re: [PATCH 01/27] habanalabs/gaudi2: increase user interrupt grace time

2023-02-16 Thread Stanislaw Gruszka
On Sun, Feb 12, 2023 at 10:44:28PM +0200, Oded Gabbay wrote: > @@ -3178,11 +3181,12 @@ static int ts_buff_get_kernel_ts_record(struct > hl_mmap_mem_buf *buf, > > /* irq handling in the middle give it time to finish */ >

[PATCH 01/27] habanalabs/gaudi2: increase user interrupt grace time

2023-02-12 Thread Oded Gabbay
From: Ofir Bitton Currently we support scenarios where a timestamp registration request of a certain offset is received during the interrupt handling of the same offset. In this case we give a grace period of up to 100us for the interrupt handler to finish. It seems that sometimes the interrupt