Received: by 10.223.185.116 with SMTP id b49csp3940200wrg; Mon, 26 Feb 2018 08:32:39 -0800 (PST) X-Google-Smtp-Source: AH8x2241P/49dCvdw/1c6ZEscs6gXXr7r/YyCHLZKHLnGKhrwKikHAqrSi4wuqBmkqoWyZhsJ1Ud X-Received: by 2002:a17:902:b613:: with SMTP id b19-v6mr11001179pls.173.1519662759755; Mon, 26 Feb 2018 08:32:39 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1519662759; cv=none; d=google.com; s=arc-20160816; b=cNKl5/AWb4JLsoN4cGJmHnjTUtmiVkE7WbgYbLmg0PkIMWolPEeUKHcA9F78AdMBsU v4rHSshaFNzR9r8UJrIW+XiOgfWH6urDIPpzB84wgK0L0C0p1LL9o0/nM4gJST8KAPAP +gDuPURSnmVvmvV9iOQvJRNkUy40A0nIKam99BI+rlYy15LdkFnKKvgB410tdfXGB/0p OQbhTAEV32t5xpYeJjk63Szt6KywbRNrebcau8nuKShlfpUtwoJaWrDmOhRAnlPO5eSS gp4mQppnr64id6Jk//oSx/OYDjnsbZU4vhrGHdxWHlY2SwEV04s3hCvdkmPhjc2O8+rb PKyg== 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:arc-authentication-results; bh=mNyTtCXCJmGFOJjH0EU2ESvSt8hjXTEl2dj+zlSW9ds=; b=zZpEEF4Ui/7++V5CEtfkExoxGifpXIJDkd0H2PycijrgdAKzbXS+DpMJDFoR4Zk68W M4IuyxlPwv6MioDgzrSGwLytU9ahoxBglImBYxxX9FPbs7m3jtQmPGia8TGYpAoM5XNJ RuhYz0dqsGfpxidR+JvPQdwwTS7rmvpOIWNH0L+neNdLp12N0WtNyEbyWtRF2dR54ixl +VTeMX7UoA6VBEIiEkM3CVS1/qnwAWdfPljlQDd+OIZUOt04aX4oSssIc3WJ3Ow3oCky VRsPYh+EU1QZ2zkzKDf0NQeJD8piHZ/IfPMqQ7uoTYR5n5zZ8z4M54+Bhrt9xGsD/LwS V8Yg== 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 m62si7013651pfm.41.2018.02.26.08.32.24; Mon, 26 Feb 2018 08:32:39 -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 S1752224AbeBZQb0 (ORCPT + 99 others); Mon, 26 Feb 2018 11:31:26 -0500 Received: from mail.skyhub.de ([5.9.137.197]:37934 "EHLO mail.skyhub.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752021AbeBZQbZ (ORCPT ); Mon, 26 Feb 2018 11:31:25 -0500 X-Virus-Scanned: Nedap ESD1 at mail.skyhub.de Received: from mail.skyhub.de ([127.0.0.1]) by localhost (blast.alien8.de [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id d3cTvVMXFjVb; Mon, 26 Feb 2018 17:31:23 +0100 (CET) Received: from pd.tnic (p200300EC2BCE210020411134B639594E.dip0.t-ipconnect.de [IPv6:2003:ec:2bce:2100:2041:1134:b639:594e]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.skyhub.de (SuperMail on ZX Spectrum 128k) with ESMTPSA id B6D311EC024C; Mon, 26 Feb 2018 17:31:23 +0100 (CET) Date: Mon, 26 Feb 2018 17:31:02 +0100 From: Borislav Petkov To: Tom Lendacky Cc: Thomas Gleixner , Paul Menzel , Paul Menzel , LKML , Yazen Ghannam Subject: Re: `do_IRQ: 1.55 No irq handler for vector` on ASRock E350M1 Message-ID: <20180226163102.GM4377@pd.tnic> References: <8bb6b660-ce08-37a7-d1ab-38a690595856@molgen.mpg.de> <20180223190950.GJ4981@pd.tnic> <61f2fc82-4eee-8678-c37a-dc300dde4edf@molgen.mpg.de> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.9.3 (2018-01-21) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Feb 26, 2018 at 10:14:10AM -0600, Tom Lendacky wrote: > On 2/24/2018 2:59 AM, Thomas Gleixner wrote: > > On Sat, 24 Feb 2018, Paul Menzel wrote: > >> Am 23.02.2018 um 20:09 schrieb Borislav Petkov: > >>> On Fri, Feb 23, 2018 at 07:18:34PM +0100, Thomas Gleixner wrote: > >>>> Borislav is seeing similar issues on larger AMD machines. The interrupt > >>>> seems to come from BIOS/microcode during bringup of secondary CPUs and we > >>>> have no idea why. > >>> > >>> Paul, can you boot 4.14 and grep your dmesg for something like: > >>> > >>> [ 0.000000] spurious 8259A interrupt: IRQ7. > > >>> ? > >> > >> No, I do not see that. Please find the logs attached. > > > > From your 4.14 log: > > > > Feb 19 09:48:06.843173 kodi kernel: CPU 0 irqstacks, hard=e9b0a000 soft=e9b0c000 > > Feb 19 09:48:06.843216 kodi kernel: spurious 8259A interrupt: IRQ7. > > I think I remember seeing something like this previously and it turned out > to be a BIOS bug. All the AP's were enabled to work with the legacy 8259 > interrupt controller. In an SMP system, only one processor in the system > should be configured to handle legacy 8259 interrupts (ExtINT delivery > mode - see Intel's SDM, Volume 3, section 10.5.1, Delivery Mode). Once > the BIOS was fixed, the spurious interrupt message went away. > > I believe at some point during UEFI, the APs were exposed to an ExtINT > interrupt. Since they were configured to handle ExtINT delivery mode and > interrupts were not yet enabled, the interrupt was left pending. When the > APs were started by the OS and interrupts were enabled, the interrupt > triggered. Since the original pending interrupt was handled by the BSP, > there was no longer an interrupt actually pending, so the 8259 responds > with IRQ 7 when queried by the OS. This occurred for each AP. Interesting - is this something that can happen on Zen too? Because I have such reports too. -- Regards/Gruss, Boris. Good mailing practices for 400: avoid top-posting and trim the reply.