[PATCH 01/27] habanalabs/gaudi2: increase user interrupt grace time
Oded Gabbay
ogabbay at kernel.org
Thu Feb 16 14:24:26 UTC 2023
On Thu, Feb 16, 2023 at 12:53 PM Stanislaw Gruszka
<stanislaw.gruszka at linux.intel.com> 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 to finish */
> > spin_unlock_irqrestore(wait_list_lock, flags);
> > - usleep_range(1, 10);
> > + usleep_range(100, 1000);
> > if (++iter_counter == MAX_TS_ITER_NUM) {
> > dev_err(buf->mmg->dev,
> > - "handling registration interrupt took too long!!\n");
> > - return -EINVAL;
> > + "Timestamp offest processing reached timeout of %lld ms\n",
>
> Typo in offest, you can use './scripts/checkpatch.pl --codespell'
> to coughs some of those.
Thanks, I'll fix it in the patch in the tree.
@Ofir Bitton Can you please take care adding the codespell to our CI ?
Thanks,
Oded
>
> Regards
> Stanislaw
>
More information about the dri-devel
mailing list