Re: Long standing kernel warning: perfevents: irq loop stuck!

From: Peter Zijlstra
Date: Fri Feb 23 2018 - 07:15:15 EST


On Thu, Feb 22, 2018 at 08:59:47PM -0800, Cong Wang wrote:
> Hello,
>
> We keep seeing the following kernel warning from 3.10 kernel to 4.9
> kernel, it exists for a rather long time.
>
> Google search shows there was a patch from Ingo:
> https://patchwork.kernel.org/patch/6308681/
>
> but it doesn't look like ever merged into mainline...
>
> I don't know how it is triggered. Please let me know if any other
> information I can provide.

What exact workload are you using to reproduce?

And I'm taking that the patch 'works' for you?

Given the HSD143 errata and its possible relevance, have you tried
changing the magic number to 32, does it then still fix things?

No real objection to the patch as such, it just needs a coherent comment
and a tested-by tag I think.