From patchwork Wed Aug 2 09:40:34 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: 13337924 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 29550C001DE for ; Wed, 2 Aug 2023 09:40:51 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234200AbjHBJku (ORCPT ); Wed, 2 Aug 2023 05:40:50 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46298 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233857AbjHBJkk (ORCPT ); Wed, 2 Aug 2023 05:40:40 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id DDB5E10FF for ; Wed, 2 Aug 2023 02:40:39 -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 7C02A618BF for ; Wed, 2 Aug 2023 09:40:39 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id E7A27C433C8; Wed, 2 Aug 2023 09:40:37 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1690969238; bh=pFu7UTuRxjZC+pBJK39xa/wNliz6MC8xb1ikfSIMf1k=; h=From:To:Cc:Subject:Date:From; b=MsKvH1ogpfdZhNU4d1cfBZ7wssQBkXnG80D+Qi+xnGj6RMDu4YtnqzKYY7pFbVFty ZPndQXjrV+6xHGqrhQ52QoM4lyZS+txwONRqeNuPzJCha4Yd10Jwv0xjobFq3/r1CI s7JL7B/pYm1kjL+xnSQk+z7GqGJ2U0yaic5cF3U8e7fvWYEVZQ1AZ0spf9ZAzhrc4F eRTI+SSBO8jKnx2YktWFzfpPXMyeUDSG1rU+6B1Nz5LkX3vT9kyV/4YFUoeJKCUVef CifSgWUuzKHb6Ayj3F+pYkzU/Br8O7m+n1PiB9hbUdvuiyygRjcGt9HGD39xweG96q wsCn400vmZQ6Q== From: Damien Le Moal To: linux-pci@vger.kernel.org, Bjorn Helgaas Cc: =?utf-8?q?Krzysztof_Wilczy=C5=84ski?= , Lorenzo Pieralisi , Kishon Vijay Abraham I , Manivannan Sadhasivami , Serge Semin , Yoshihiro Shimoda Subject: [PATCH v3 0/2] Cleanup IRQ type definitions Date: Wed, 2 Aug 2023 18:40:34 +0900 Message-ID: <20230802094036.1052472-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. Changes from v2: - Modified PCI_IRQ_LEGACY comment in patch 1 as suggested by Serge - Fixed forgotten rename in patch 2 Changes from v1: - Updated first patch Signed-of tag and commit message as suggested by Bjorn. - Added review tags. 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(-)