Received: by 2002:ac0:aed5:0:0:0:0:0 with SMTP id t21csp3981424imb; Wed, 6 Mar 2019 02:15:36 -0800 (PST) X-Google-Smtp-Source: APXvYqxusIDD2S1jtYRubMjAygBYZdC/yGySEJVJ5IH6pdjWziR2yfPORzCk7R5dgYJ/Mv+OUv+r X-Received: by 2002:a62:ee13:: with SMTP id e19mr6502422pfi.224.1551867336107; Wed, 06 Mar 2019 02:15:36 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1551867336; cv=none; d=google.com; s=arc-20160816; b=dTL0J78Hp2oB+3QJMjFBzsdR2zEMfjcU445/BhfEzQuphP1CDuhWNy+oS6Vv8exP4C HQv4RbQXCVmbUHz1ygHYdXQ78B5akBrgEW+hXG+OUY2jrvSHl4JX59cQLMYime0YkmN0 e/NRvbGsCyJeNPVBdMjcYYKmCPOiAlraILsFC1Oj79jXgmAPRmzWPeRJK+1nTfbrnhqA XhUFrNmt7Leh1iHN7NugfbeuX4WHCtvPk7sm21BL4WVoRL91JUWdM/ujO67StXDdZ5cd i49oUa9zL1X8QAAL1BOJbYFj+rJbuL3aufW0UHDqoicCcfvUbzFnan+cOAG/KhzpGlZE QF8Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:user-agent:references :message-id:in-reply-to:subject:cc:to:from:date; bh=XEEuven+oOAcmmgw0XkApaxBJ/rZHcVQFLYmyipzo0A=; b=UXH+kBTiv/CbIFWOlqmNBU/ADJdmR04xAOicu0qOOv2MM5Mvbpy7sXgNeHF9ZsE7hC mKmDBq3wfxK26PGj24fxFLiztrtprBibARvZbFiSxeq9n+hB+Ya+qgr5nMgbzI+Xzxgq ZCXLZjmnzxSSHTsnQ0HTNIk7QuyzWXgpboBAsRPbeXMNGbkd+O9dIU7JGxBJMkw3hAl0 ujz2yO/nv7fiO34hps5rfTQgiXz8oTHRM64jQX6xHLO0/2Tr+/YUkZGwjjzsT/xqArOO iaDK7u99745mCmzLshbJySsTgoAynQTjVjLtPb2fEVmWlrlhIeiPivBf7K7n2FfMf21T Lipg== ARC-Authentication-Results: i=1; mx.google.com; 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 j64si1060835pge.260.2019.03.06.02.15.19; Wed, 06 Mar 2019 02:15:36 -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; 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 S1730180AbfCFKOx (ORCPT + 99 others); Wed, 6 Mar 2019 05:14:53 -0500 Received: from Galois.linutronix.de ([146.0.238.70]:49403 "EHLO Galois.linutronix.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1730122AbfCFKOw (ORCPT ); Wed, 6 Mar 2019 05:14:52 -0500 Received: from p5492e5b8.dip0.t-ipconnect.de ([84.146.229.184] helo=nanos) by Galois.linutronix.de with esmtpsa (TLS1.2:DHE_RSA_AES_256_CBC_SHA256:256) (Exim 4.80) (envelope-from ) id 1h1TZR-0000sJ-TL; Wed, 06 Mar 2019 11:14:42 +0100 Date: Wed, 6 Mar 2019 11:14:41 +0100 (CET) From: Thomas Gleixner To: Hans de Goede cc: Borislav Petkov , "Lendacky, Thomas" , Linux Kernel Mailing List , "Rafael J. Wysocki" Subject: Re: False positive "do_IRQ: #.55 No irq handler for vector" messages on AMD ryzen based laptops In-Reply-To: Message-ID: References: <95e76875-f6b2-cbea-cd74-dc14ee77b2f8@redhat.com> <13dbe818-a364-4cd4-3ac4-78bd7e8d28e3@amd.com> <9f17f1aa-f258-fb18-0736-04a5c03cf40e@redhat.com> <57b32bc1-8ef2-1e1e-a70f-04444f5919a2@amd.com> <6fbcd261-f9e2-1685-1ef7-f148007aab9d@redhat.com> <51078b59-161a-0e13-6d8d-87d37c3375f2@redhat.com> <62f91d1a-4dc7-9628-5c87-5ffca0cd1a0f@amd.com> <92a886e1-1eca-7b94-2c62-9f42abc66bcf@redhat.com> <20190305195432.GI8256@zn.tnic> User-Agent: Alpine 2.21 (DEB 202 2017-01-01) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII X-Linutronix-Spam-Score: -1.0 X-Linutronix-Spam-Level: - X-Linutronix-Spam-Status: No , -1.0 points, 5.0 required, ALL_TRUSTED=-1,SHORTCIRCUIT=-0.0001 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hans, On Wed, 6 Mar 2019, Hans de Goede wrote: > On 05-03-19 20:54, Borislav Petkov wrote: > > On Tue, Mar 05, 2019 at 08:40:02PM +0100, Hans de Goede wrote: > > > Finger pointing at the firmware if there are multiple vendors involved > > > is really not going to help here. Esp. since most OEMs will just respond > > > with "the machine works fine with Windows" > > > > Yes, because windoze simply doesn't report that spurious IRQ, most > > likely. > > So maybe we need to lower the priority of the do_IRQ error from pr_emerg > to pr_err then ? That will stop throwing the errors in the users face each > boot on distros which have chosen to set the quiet loglevel to such a level > that pr_err messages are not shown on the console (*). Well, we rather try to understand and fix the issue. So if Tom's theory holds, then the patch below should cure it. Thanks, tglx 8<--------------------- --- a/arch/x86/kernel/apic/apic.c +++ b/arch/x86/kernel/apic/apic.c @@ -1642,6 +1642,7 @@ static void end_local_APIC_setup(void) */ void apic_ap_setup(void) { + clear_local_APIC(); setup_local_APIC(); end_local_APIC_setup(); }