From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-5.3 required=3.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS, URIBL_BLOCKED,USER_AGENT_SANE_1 autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 865D3C4338F for ; Mon, 16 Aug 2021 22:30:44 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 5FAC160F4B for ; Mon, 16 Aug 2021 22:30:44 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232562AbhHPWbP (ORCPT ); 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-pci@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