Received: by 10.223.185.116 with SMTP id b49csp620904wrg; Fri, 23 Feb 2018 04:16:29 -0800 (PST) X-Google-Smtp-Source: AH8x224l4DVnVAeKxXEwwUr3sH5aRBX/VUiJ34PChxawsXm9DHSu/jOlstyn7x7HCQ9uPsvi6xKq X-Received: by 2002:a17:902:aa0b:: with SMTP id be11-v6mr1545352plb.250.1519388189350; Fri, 23 Feb 2018 04:16:29 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1519388189; cv=none; d=google.com; s=arc-20160816; b=NWGVy6udLGdVr3vT3OPCvmvXFHRgsUKTX1YpV6eO2HvDazRasFHGaWlB/v6x1zX7zP stsLn/XZbHt+SnHUsTd+36MmW3v83t3ARM/7lkzNP3YacQtYrbbN5FkPd0WfWUP3U4bj Js59bGwFN4QSMzTkaxcC2QyQfbcLOBH7s7PlPvJAs9T702N3QN5UWXfFDhVJBkLBPluD Sv24N7dN++pStTMNhU8kVLwSBas6Ce/YpTIYLL+lnDKV1ie7ZBtMDg9+whkpJhpbUp4y 29Th18hykUzUe2lnU8xd61/If8PgIYZHN6tdEWnZOSCV8hcn80CFIUg7Li/oal9IJnUe 7jeQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature:arc-authentication-results; bh=6yxCbL0p3/T89KDlT0ot41lSSzkYIAmaOvKK2lScktU=; b=eKz3916yDso8Z9jzQUgN3cxurM+REBXVE+KimNUz73AlDkaVPmc7wI8Bor4M3T4qym C92N26uBgho18WTXBssYkP5PAQHc6saOQ4pW/+3CLCI0xpzups/9gwcjJF1Hi1qN5Ot3 5zHXszgvLkeg/FIu/NfEsykb2d5/N2R0oJtnlgC13HpdhDQLy7BFNC5wmvqCEuOldfII 9fpjxcYipkZ1RlXkhO9dcdonzXG3Gl3lGdDVizyhtmMOhm2bP8Og4rVtWC+sSlE9fbsh kcRL/w+m00qIoAphcIRkhdDVBlWz9KKmJ0ic9WP/Z0WeZUB/4E0lCZtBvrPsiq0LqOE9 ekYw== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@infradead.org header.s=merlin.20170209 header.b=mR7aX0fA; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id a71si1441500pge.378.2018.02.23.04.16.14; Fri, 23 Feb 2018 04:16:29 -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=fail header.i=@infradead.org header.s=merlin.20170209 header.b=mR7aX0fA; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751410AbeBWMPL (ORCPT + 99 others); Fri, 23 Feb 2018 07:15:11 -0500 Received: from merlin.infradead.org ([205.233.59.134]:34050 "EHLO merlin.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751338AbeBWMPJ (ORCPT ); Fri, 23 Feb 2018 07:15:09 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=merlin.20170209; h=In-Reply-To:Content-Type:MIME-Version: References:Message-ID:Subject:Cc:To:From:Date:Sender:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id: List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=6yxCbL0p3/T89KDlT0ot41lSSzkYIAmaOvKK2lScktU=; b=mR7aX0fAI3tSCU/9s0kjqNVbM 3MriN2kwjsRvlUJ48i+dsWPs2RStLExFwWFEUi6vPXxwag8j0tXyMKQ9BJwzTn+FtbZ0NsgmbYZPD jf3veAHxieVmdK1lVuoVliHdJFpEc3R1V4glcw3HEgCeUPEjglMLvpkuXgfF+Pk4v4dYyXQOv6nwF usOj9OLL2+eJl8ZZXPeal/cRt/n8jvH9HZGVHLe9OSQPK0gvtbyPif2EP8kw+rSdbtnPRMpLoMEju 4dinlRuDemJG5dXSgm1KEB1GsqFGx1tgLWgZCjylZg2TFO0Thi+BKIzWG0VUa2OObJ2ZM7BsBKPz5 LBY88vohg==; Received: from j217100.upc-j.chello.nl ([24.132.217.100] helo=hirez.programming.kicks-ass.net) by merlin.infradead.org with esmtpsa (Exim 4.89 #1 (Red Hat Linux)) id 1epCFd-0008VG-Ci; Fri, 23 Feb 2018 12:14:57 +0000 Received: by hirez.programming.kicks-ass.net (Postfix, from userid 1000) id 22619202A062D; Fri, 23 Feb 2018 13:14:56 +0100 (CET) Date: Fri, 23 Feb 2018 13:14:56 +0100 From: Peter Zijlstra To: Cong Wang Cc: Andi Kleen , "Liang, Kan" , jolsa@redhat.com, bigeasy@linutronix.de, "H. Peter Anvin" , Ingo Molnar , Thomas Gleixner , x86 , LKML Subject: Re: Long standing kernel warning: perfevents: irq loop stuck! Message-ID: <20180223121456.GZ25201@hirez.programming.kicks-ass.net> References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.9.2 (2017-12-15) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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.