Received: by 10.223.185.116 with SMTP id b49csp4175608wrg; Mon, 26 Feb 2018 12:34:53 -0800 (PST) X-Google-Smtp-Source: AH8x226r937rqf0ggBuxfhDo6VNz1VmKCWuQP3BjSa7Y7LfP3fXf5KR8SFMYm8JcoOLELToPnbUh X-Received: by 2002:a17:902:74c3:: with SMTP id f3-v6mr11857621plt.444.1519677293448; Mon, 26 Feb 2018 12:34:53 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1519677293; cv=none; d=google.com; s=arc-20160816; b=TIqllRKp2xrLtbaAd/pXTpYJsU5t4sIdQtS4Dqx+SqTyOnYOxyBjazj3Zj7v+juamr 2cyCIjhdQMIUG61H/BFPNd+uE5Ir+zAn4tZJpNisCMohPuUGOJ+oTSPE4LZNqojX64ik tG+uLcZcjuNXWmYdKCZVfDOoK0WxpJ9hlhBLrOxOiQr5vvtKM+97M+AaggVdzM9TcyiA NpvLZSFQYLW27BwsdsTWBpUy/0A/EAFz8KuBM8L4Xdzj8hECLyg/oR3nJhKpa17ifw1A Sq1Vaka9/gJe7zinfK0E9Bl9YNnSXiLnHp8yHd/Tqfgo5RynHwQDTqErD8d1XkzCAc0r voCg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :references:in-reply-to:mime-version:dkim-signature :arc-authentication-results; bh=cdcvUjf9uSrqUaCDZfyxWoVhMoPH0/dHv1r/9kUwBSI=; b=xoBaAjhU+s7B52b+rF2AveJ1mZQ2JVPcaoUvbLNe770vWM3KbnghurlMJ3CoyjcxkI uVMcBwDB6p4S0c7l643CG1Zq1KJgyKzBFc9mZuJoBf/kIl9SffIy2N397aanOvLI6W0l PIaHeO+4WDlI1digHkPqo5dUnSPnbg2dHcs4xZO90p7Eez5ImdENf/up2JfBIQ/sbwfu Fq+ZBcHLLWHdo1XDrPOI2AeH0wDRVOWL7kbGmdMjiWVGFAybuezgJeTIDQPN+WtWDqEx ZESuQRR96+qoIwUUO/zbBUrbOvxztGaDl+M910DQ01TmRYPSgLR6krXV1Zoo0q85cCGa zkXw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=i30F8wiS; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id 63si5964948pgg.395.2018.02.26.12.34.37; Mon, 26 Feb 2018 12:34:53 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=i30F8wiS; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754085AbeBZUdI (ORCPT + 99 others); Mon, 26 Feb 2018 15:33:08 -0500 Received: from mail-pf0-f193.google.com ([209.85.192.193]:38356 "EHLO mail-pf0-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753831AbeBZUdF (ORCPT ); Mon, 26 Feb 2018 15:33:05 -0500 Received: by mail-pf0-f193.google.com with SMTP id d26so6996881pfn.5 for ; Mon, 26 Feb 2018 12:33:04 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=cdcvUjf9uSrqUaCDZfyxWoVhMoPH0/dHv1r/9kUwBSI=; b=i30F8wiSbNe5d47LMlY/ZkhigNG2Q7aor/WgsJawCaKHkJaipDiKGnKK1G1PI4X+a1 d1S9v7qmMI2FWRb1nQLZc6kb73T5yhlU9VGlJuAoJxy8/MbyT3ZeN8SXy+tZki2vIXFj F/5CXi0+8CAIMcm/qzRIJcl7fDbuKis8hOu0WXCRzjfzdfSapy7zr+0KWf2ZLYHol4ll wDdECXt5IBDPk0T01win5vIJT6OXEvkkbZeQsZx93khlesmdICUcCj/bZKjKzdTWvjKc vipqsvEvdINAsSFcQjpKK5+7ezzSlTFgcc4Hl9aGgq0RhZHtbkUqRa7GGZ6xcx87y6BF Es/Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=cdcvUjf9uSrqUaCDZfyxWoVhMoPH0/dHv1r/9kUwBSI=; b=UkbltQz2jDQdwzMxM57WWEl4xlI2GOlPrH3FN6pTM29qlRUAH+9ro2SfKjJp/M23rV mLn3cdFCdAqju079MyA1vtF3Ps76HEESbrEU5GhoXVFKvSlJxBL79A6d/WQyqn6/OpND qik5Djz7rY3DFbAXgXR7yC8Bsdle01h6apoML31rnLtu3/RenWngCKK0yqnrM17EcYZO NFc058G1+8UepdssKV+3JXHh/as07mRX/Gqr84czjTVp8xYqmI4awASOIZf8pP38Q0q7 D6QbkMreaeh4EYEbbWV8FKcduj6l6yioYGh5BTB9u1pORs/YcKJClYOvwehJDpdnnEZl UJrA== X-Gm-Message-State: APf1xPAYtMZwifAnCyUpd8yuBt65oycOhSy4YcnUHezwTnCau3+TsA79 DfbbFm8AYghd++4vSC9+sbwksMvB0MR6gZYT5Ts= X-Received: by 10.98.14.200 with SMTP id 69mr11673314pfo.168.1519677184519; Mon, 26 Feb 2018 12:33:04 -0800 (PST) MIME-Version: 1.0 Received: by 10.100.163.168 with HTTP; Mon, 26 Feb 2018 12:32:44 -0800 (PST) In-Reply-To: <20180223121456.GZ25201@hirez.programming.kicks-ass.net> References: <20180223121456.GZ25201@hirez.programming.kicks-ass.net> From: Cong Wang Date: Mon, 26 Feb 2018 12:32:44 -0800 Message-ID: Subject: Re: Long standing kernel warning: perfevents: irq loop stuck! To: Peter Zijlstra Cc: Andi Kleen , "Liang, Kan" , jolsa@redhat.com, bigeasy@linutronix.de, "H. Peter Anvin" , Ingo Molnar , Thomas Gleixner , x86 , LKML Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Feb 23, 2018 at 4:14 AM, Peter Zijlstra wrote: > 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? I have no idea how to reproduce it. It has been reported so many times from so many different machines via ABRT. > > And I'm taking that the patch 'works' for you? I don't try it yet, because according to Ingo himself, that patch is not complete: " Also, I'd apply the quirk not just to Haswell, but Nehalem, Westmere and Ivy Bridge as well, I have seen it as early as on a Nehalem prototype box. " I can try it if that patch makes sense for you and if you can make it complete. ;) > > 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. I will give it a try. Please let me know if you have an updated version of that patch I can apply on recent kernel (4.9), since it was made almost 3 years ago, otherwise I can apply it manually. It will take some time due to the deployment process of a new kernel. Thanks!