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 Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id A0155C433F5 for ; Thu, 6 Jan 2022 11:24:05 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S238428AbiAFLYE (ORCPT ); Thu, 6 Jan 2022 06:24:04 -0500 Received: from angie.orcam.me.uk ([78.133.224.34]:38540 "EHLO angie.orcam.me.uk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S238405AbiAFLYD (ORCPT ); Thu, 6 Jan 2022 06:24:03 -0500 Received: by angie.orcam.me.uk (Postfix, from userid 500) id 5F53E92009C; Thu, 6 Jan 2022 12:24:01 +0100 (CET) Received: from localhost (localhost [127.0.0.1]) by angie.orcam.me.uk (Postfix) with ESMTP id 5906092009B; Thu, 6 Jan 2022 11:24:01 +0000 (GMT) Date: Thu, 6 Jan 2022 11:24:01 +0000 (GMT) From: "Maciej W. Rozycki" To: Nikolai Zhubr , Bjorn Helgaas , Thomas Gleixner , Ingo Molnar , Borislav Petkov , "H. Peter Anvin" cc: Arnd Bergmann , Michal Necasek , x86@kernel.org, linux-pci@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH v3 0/4] x86/PCI: Improve $PIR and add $IRT PIRQ routing support Message-ID: 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, This is a new patch series made around a discrete patch submitted earlier on that has gone nowhere, which is now 1/4. That change handles $PIR PIRQ routing tables that lack router device information, fixing the inability to route interrupts with a system using the SiS85C497 ISA bridge. It has been minimally updated from v1 by including router device information reported with the change description, and by adding Nikolai's Tested-by annotation. Then 2/4 adds support for the $IRT PIRQ routing table format invented by AMI before Microsoft has come up with its own $PIR format. These formats are very similar to each other, but the $IRT format does not provide for router device information, so this change relies on 1/4. It has turned out needed to route interrupts with a system using the ALi M1487 ISA Bus Controller device, discussed earlier on in a discussion thread around: . This change has been verified with an artificially created $IRT table and hopefully Nikolai will be able to verify this code with his system as well. Then 3/4 corrects our link value interpretation for said M1487 device according to Nikolai's findings with his system reported here: . Finally 4/4 corrects a couple of coding style issues around though not immediately within code changed by 2/4 so as to make the style consistent. See individual change descriptions for further details. Credit to Michal (cc-ed) for helping me chase documentation for the $IRT table format. Please apply. Maciej