Received: by 2002:a05:6a10:1d13:0:0:0:0 with SMTP id pp19csp694740pxb; Mon, 16 Aug 2021 15:31:58 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwjaufB4Ess88DbkA0TZ89xAmAm+7zdLMoJA3xvu5dwbcBIZQXd4rpr5LGRhffBodVVbrne X-Received: by 2002:a5d:85ca:: with SMTP id e10mr392865ios.193.1629153118387; Mon, 16 Aug 2021 15:31:58 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1629153118; cv=none; d=google.com; s=arc-20160816; b=R08ELhHiWQgOQG9qiILK3iIQGdhXuWcKM9OCOX7/r0OO8pYkiy6uu9l6wRTY9XdtBm t7IqXPrKjgt00Zbbby63NKC73oWZCvPWyNkwe1hg3Il6VJGFw5kMhbHxhaGVr3TwqvZh F226B5EhMhA/O2ZstE2Rs3P4u4MpgEympFEruu0cNOwz9PFtSIkZLg76g8l5ioCUtuv/ InL6YZOr8WTj+ZS4hqcih5+WxTpOWfX8gc07RpR7zEWijzQEBoXpCsHwtmhTZf6sfP2f L6ieuaV+x3tJtd7kiz1v6MhUN2diYGM6MhfOhVN35gEG0qcrmNM2lv+8t4TpbAFqxcLp gs4w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:user-agent:references:message-id :in-reply-to:subject:cc:to:from:date; bh=YKRpHkeMldmN3+S5jv9GOPpwS0nZZxfmKin4a55sIBo=; b=yExn0rg8Va8LkbKMGD/Rb4FjiAzj9rIxp5TfM0cIxA2B3ud1qN681lA6NuQadU53ik s7t9bqm/kdUudaQLxtHvulq/ozUkjEAz+3PsvFIebcHOFvh8xHnZyx71H2F8OQUTKcgW 7MmZlT87PbUTk1HS9fQZt7Q2DcvBfdodaP34WMEJKJYWN0vJqAtrwaq9yEihDMtEv4DT 7hnGVVBJBWF6dXPK9VcQ/xCi8u0T5DB7xf5SJhzd+2zpPi0sIw92Th2karruiDw7BpiK yl+S6nsA+KVZOzTMxe43f2bRu6X/XqSRLfEU/97rz5CSvon+3PxrKjNE1O4ddRTp9apj TZjw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id x9si267346jaf.48.2021.08.16.15.31.47; Mon, 16 Aug 2021 15:31:58 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232543AbhHPWbP (ORCPT + 99 others); Mon, 16 Aug 2021 18:31:15 -0400 Received: from angie.orcam.me.uk ([78.133.224.34]:33038 "EHLO angie.orcam.me.uk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232471AbhHPWbO (ORCPT ); Mon, 16 Aug 2021 18:31:14 -0400 Received: by angie.orcam.me.uk (Postfix, from userid 500) id C0FDB92009C; Tue, 17 Aug 2021 00:30:39 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by angie.orcam.me.uk (Postfix) with ESMTP id BBCE492009B; Tue, 17 Aug 2021 00:30:39 +0200 (CEST) Date: Tue, 17 Aug 2021 00:30:39 +0200 (CEST) From: "Maciej W. Rozycki" To: Nikolai Zhubr cc: Thomas Gleixner , Ingo Molnar , Borislav Petkov , "H. Peter Anvin" , Bjorn Helgaas , "Rafael J. Wysocki" , Len Brown , Pavel Machek , Paolo Bonzini , Sean Christopherson , Vitaly Kuznetsov , Wanpeng Li , Jim Mattson , Joerg Roedel , x86@kernel.org, linux-pci@vger.kernel.org, linux-pm@vger.kernel.org, kvm@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH 0/6] x86: PIRQ/ELCR-related fixes and updates In-Reply-To: <611993B1.4070302@gmail.com> Message-ID: References: <611993B1.4070302@gmail.com> User-Agent: Alpine 2.21 (DEB 202 2017-01-01) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Nikolai, > > Nikolai: for your system only 1/6 and 2/6 are required, though you are > > free to experiment with all the patches. Mind that 3/6 mechanically > > depends on the earlier change for the SIO PIRQ router referred above. In > > any case please use the debug patch for PCI code as well as the earlier > > patches for your other system and send the resulting bootstrap log for > > confirmation. > > Here is a new log with 1/6 and 2/6 applied: > > https://pastebin.com/0MgXAGtG > > It looks like something went a bit unexpected ("runtime IRQ mapping not > provided by arch"). Offhand it looks like your system does not supply a PIRQ table, not at least at the usual locations we look through. The presence of the table is reported like: PCI: IRQ init PCI: Interrupt Routing Table found at 0xfde10 [...] PCI: IRQ fixup while your system says: PCI: IRQ init PCI: IRQ fixup If you have a look through /dev/mem and see if there's a "$PIR" signature somewhere (though not a Linux kernel area of course), then we may know for sure. I'm a little busy at the moment with other stuff and may not be able to look into it properly right now. There may be no solution, not at least an easy one. A DMI quirk is not possible, because: DMI not present or invalid. There is a PCI BIOS: PCI: PCI BIOS revision 2.10 entry at 0xf6f41, last bus=0 however, so CONFIG_PCI_BIOS just might work. Please try that too, by choosing CONFIG_PCI_GOANY or CONFIG_PCI_GOBIOS (it may break things horribly though I imagine). Maciej