From patchwork Mon Jul 31 01:25:48 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Damien Le Moal X-Patchwork-Id: 13333575 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 C1106C001DC for ; Mon, 31 Jul 2023 01:26:00 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229744AbjGaBZ7 (ORCPT ); Sun, 30 Jul 2023 21:25:59 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48328 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229437AbjGaBZx (ORCPT ); Sun, 30 Jul 2023 21:25:53 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [IPv6:2604:1380:4641:c500::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 14C3A1A4 for ; Sun, 30 Jul 2023 18:25:53 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 9E15260DFC for ; Mon, 31 Jul 2023 01:25:52 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 3CFD7C433C8; Mon, 31 Jul 2023 01:25:51 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1690766752; bh=JQkjNDhRH/onHAEQGgvrKxtIJ8PAuAHJDwYmJ2sF+Ok=; h=From:To:Cc:Subject:Date:From; b=Q2Oe/mIOZ+/flyoVU2z0odIVPWeDT2hgLsk19Ad0zXlktLXvGpjYW0DYRjrodsIK9 U/BlacdpCPSmQAn+9dsnLgU+XG5lDGzNf665FZTDb/4lGG1rzmXdEXpSGQJmMEHZHZ 5qA/nF6AsIeMvpjKZFl5J0ByYLTCay2VY+1nVjxaKaurop+iaQpH9Si0kXgGdDQVtZ aICNWSCcwA5J5Xuc075yRlofLgZBcng93w+763MpFE8aUplm54xlUrP/CdQ985vz+s 9JvU82+ylKfCaKgP8m06x4jD5qfPeskiMW3qYJ/kr8akEP0eJ4vUB7nKO0Ixuzz0JE g5PVHvumnHUJw== From: Damien Le Moal To: linux-pci@vger.kernel.org, Bjorn Helgaas Cc: Lorenzo Pieralisi , Kishon Vijay Abraham I , Manivannan Sadhasivami , Serge Semin , Yoshihiro Shimoda Subject: [PATCH 0/2] Cleanup IRQ type definitions Date: Mon, 31 Jul 2023 10:25:48 +0900 Message-ID: <20230731012550.728070-1-dlemoal@kernel.org> X-Mailer: git-send-email 2.41.0 MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-pci@vger.kernel.org The first patch renames PCI_IRQ_LEGACY to PCI_IRQ_INTX as suggested by Bjorn (hence the patch authorship is given to him). The second patch removes the redundant IRQ type definitions PCI_EPC_IRQ_XXX and replace these with a direct use of the PCI_IRQ_XXX definitions. Going forward, more cleanups renaming "legacy" to "intx" in various drivers can be added on top of this series. Bjorn Helgaas (1): PCI: Rename PCI_IRQ_LEGACY to PCI_IRQ_INTX Damien Le Moal (1): PCI: endpoint: Drop PCI_EPC_IRQ_XXX definitions drivers/pci/controller/cadence/pcie-cadence-ep.c | 9 ++++----- drivers/pci/controller/dwc/pci-dra7xx.c | 6 +++--- drivers/pci/controller/dwc/pci-imx6.c | 9 ++++----- drivers/pci/controller/dwc/pci-keystone.c | 9 ++++----- drivers/pci/controller/dwc/pci-layerscape-ep.c | 8 ++++---- drivers/pci/controller/dwc/pcie-artpec6.c | 8 ++++---- drivers/pci/controller/dwc/pcie-designware-ep.c | 2 +- drivers/pci/controller/dwc/pcie-designware-plat.c | 9 ++++----- drivers/pci/controller/dwc/pcie-designware.h | 2 +- drivers/pci/controller/dwc/pcie-keembay.c | 13 ++++++------- drivers/pci/controller/dwc/pcie-qcom-ep.c | 6 +++--- drivers/pci/controller/dwc/pcie-tegra194.c | 9 ++++----- drivers/pci/controller/dwc/pcie-uniphier-ep.c | 7 +++---- drivers/pci/controller/pcie-rcar-ep.c | 7 +++---- drivers/pci/controller/pcie-rockchip-ep.c | 7 +++---- drivers/pci/endpoint/functions/pci-epf-mhi.c | 2 +- drivers/pci/endpoint/functions/pci-epf-ntb.c | 4 ++-- drivers/pci/endpoint/functions/pci-epf-test.c | 6 +++--- drivers/pci/endpoint/functions/pci-epf-vntb.c | 7 ++----- drivers/pci/endpoint/pci-epc-core.c | 2 +- include/linux/pci-epc.h | 11 ++--------- include/linux/pci.h | 4 +++- 22 files changed, 65 insertions(+), 82 deletions(-) Reviewed-by: Yoshihiro Shimoda