Received: by 10.213.65.68 with SMTP id h4csp1234272imn; Thu, 29 Mar 2018 00:22:41 -0700 (PDT) X-Google-Smtp-Source: AIpwx4+G7ZXmKOdm5yGtFkJmGRW887UsbgCAQ8s/L7EDDPEDuSzY7YwiyrBvY6hP9oO9E7PINyq3 X-Received: by 10.98.10.156 with SMTP id 28mr5479378pfk.33.1522308161778; Thu, 29 Mar 2018 00:22:41 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1522308161; cv=none; d=google.com; s=arc-20160816; b=F7fISJYlTKN24JFi5HaN9uV8qlJnuBh1QpFE/rlLT0bEHuX6CL0s/phPJYrS8oWbgn cXuVx6KD6R2Ia99iZuyYk8oizVTcwAHFHY5kAny7bCNDs4xBSVlYG1cTiwNZ5B65R07O ympdBOqDunP3FnbgLxwpbMLHCk0JO+4kUHF5Hk65UmWVialIvUv8wk3U7UJoxXKJ7f/n fcMY2EQUQgBnptasl7ek/kFy7GqELDr/kYqjIDvrnF0ZM63bA7jzU49kJCCMO3k/RVqx GGNilWe2FwAv3Bpr9oT0T5G7hOV9nmY51Nc0fPGAqzvry4ymYNMAouOIjMggTu98Kj+6 rW0A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:to:references:message-id :content-transfer-encoding:cc:date:in-reply-to:from:subject :mime-version:arc-authentication-results; bh=o374pqV6cWcxRlLqV7rYQRXtJo6+EmfWsPa7cumdgcg=; b=PgAzLhb9ahlmfvDPuumYh5mKs90w9IP421Bmw7eNdUcAUxpT3MVI1Z66pJyNrD4Bdc eIO8RfIQeEm/z3R3c3kLobzqhvbfk/IRqoNH7cGEMBFENyrERYbbXme+ALvx6+AJ8hK2 Z8G6hIc14/qcH8vYN0L57vGM2IPc+JvLA/kg+4twY9kBwFWHWQrOb1PgprXO9xJ3TPAr /gabJQCI40SvtZqW6lbKgIFZFzfl3wE/JrCxMo2vBaG5KtLwoEjlRsI+ZHz/fzk6K78+ k/2UXiot41VV4U0pTXJ7zN4sWn7Stxa32gQNYB27tZseMnz+J0oal6jrmrKLjwURifiZ 3qtA== 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=canonical.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id x5si1973213pgc.544.2018.03.29.00.22.26; Thu, 29 Mar 2018 00:22:41 -0700 (PDT) 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=canonical.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751183AbeC2HVc (ORCPT + 99 others); Thu, 29 Mar 2018 03:21:32 -0400 Received: from youngberry.canonical.com ([91.189.89.112]:33248 "EHLO youngberry.canonical.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750774AbeC2HVb (ORCPT ); Thu, 29 Mar 2018 03:21:31 -0400 Received: from mail-pf0-f198.google.com ([209.85.192.198]) by youngberry.canonical.com with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.76) (envelope-from ) id 1f1RsH-0001RG-RJ for linux-kernel@vger.kernel.org; Thu, 29 Mar 2018 07:21:29 +0000 Received: by mail-pf0-f198.google.com with SMTP id e13so3552649pfn.16 for ; Thu, 29 Mar 2018 00:21:29 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:subject:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; bh=o374pqV6cWcxRlLqV7rYQRXtJo6+EmfWsPa7cumdgcg=; b=OwCxKEr4i5JLVP+d1A6zcuIrmholIHj3OHYQ71odQky7web9zP6Yup9Z71zNOTdOUW SVv3dTpgB/qorh1lR615f/UVgNtztTFG6f+c3P/Sdt+veNmhIXOSTwXyJ57wKBQyUcMr dPg0dL7L5maQAKIcvzhQ/IWjGjigfWqmhuVt6RNyxGcoIKCZDst+lX22UzWUplt67/az bMubXZzpWMshh50oHyDKq7K4vqgpg3SQI3ZXJzgcW7XpuKgcslA9gk7jOjmYjo+CRphQ O79fUG10DIQU2yOWeg5TmaTgTUMza8GxpaobCqHi0SKia/cfq+GwRT6rSz6kfQqyaBr4 wrVQ== X-Gm-Message-State: AElRT7GNnBJgWb09WQXBylkzEUKa8A6WR3cBCDUmoXExyEpyrmLuYjUo IrYoR4Ji49X5a8ovR5zS0BpXV1F4viFUQRY3ab+pYikwrBhYjXTvcBr1nkb96KTgQlBPzhVSZN2 acvixfki2UQZOQ0i+gvPRFIMI0w55B0w1UNtw0Pksmw== X-Received: by 10.101.74.82 with SMTP id a18mr4750522pgu.312.1522308088266; Thu, 29 Mar 2018 00:21:28 -0700 (PDT) X-Received: by 10.101.74.82 with SMTP id a18mr4750505pgu.312.1522308087790; Thu, 29 Mar 2018 00:21:27 -0700 (PDT) Received: from [10.101.46.95] ([175.41.48.77]) by smtp.gmail.com with ESMTPSA id j83sm636032pfe.178.2018.03.29.00.21.25 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 29 Mar 2018 00:21:26 -0700 (PDT) Content-Type: text/plain; charset=utf-8; delsp=yes; format=flowed Mime-Version: 1.0 (Mac OS X Mail 11.3 \(3445.6.18\)) Subject: Re: `do_IRQ: 1.55 No irq handler for vector` on ASRock E350M1 From: Kai Heng Feng In-Reply-To: <13724e9f-a6f3-ece2-b007-741e45ef3660@amd.com> Date: Thu, 29 Mar 2018 15:21:22 +0800 Cc: "Morton, Eric" , Borislav Petkov , Thomas Gleixner , Paul Menzel , Paul Menzel , LKML , "Ghannam, Yazen" Content-Transfer-Encoding: 8bit Message-Id: References: <8bb6b660-ce08-37a7-d1ab-38a690595856@molgen.mpg.de> <20180223190950.GJ4981@pd.tnic> <61f2fc82-4eee-8678-c37a-dc300dde4edf@molgen.mpg.de> <20180226163102.GM4377@pd.tnic> <0337DBEF-58BD-447A-A828-DE1A7CEF21E4@amd.com> <13724e9f-a6f3-ece2-b007-741e45ef3660@amd.com> To: Tom Lendacky X-Mailer: Apple Mail (2.3445.6.18) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Tom & Thomas, > On Feb 27, 2018, at 12:42 AM, Tom Lendacky wrote: > > On 2/26/2018 10:37 AM, Morton, Eric wrote: >> Thomas, >> >> Yazen dug out PLAT-21393 as sounding like this issue. I haven't had a >> chance to digest it. > > Yes, internally to AMD, that was the bug that tracked the issue I was > referring to. There's also another user [1] affected by this issue. Ethernet r8169 failed to work after system suspend: [ 150.944101] do_IRQ: 3.37 No irq handler for vector [ 150.944105] r8169 0000:01:00.0 enp1s0: link down It's a regression started from v4.15-rc5. [1] https://bugs.launchpad.net/bugs/1752772 Kai-Heng > > Thanks, > Tom > >> Eric >> >> On 2/26/18, 10:31 AM, "Borislav Petkov" wrote: >> >> 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.