From patchwork Tue Oct 3 12:52:57 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Ilpo_J=C3=A4rvinen?= X-Patchwork-Id: 13407630 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 bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id C3D08E75455 for ; Tue, 3 Oct 2023 12:53:46 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:Message-Id:Date:Subject:Cc :To:From:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References: List-Owner; bh=9dcIT26g/pJTcP4vjU83OrHx4hC2VSCenEO2YNLhnOw=; b=yueG5ih03AXpJY fqUtYbGtfJ/c/GLtsZU7knLdPlp0bhQ3BhOylEt+uHgT0NR98XZdfbD7mTzVqwrgPWQ/jNIL2Xv4j IuI7ljVWXLCCCH3NObrjn9nL4eHGEUMP7PVqiiFLYj8hDu8/4ycsp2tGtp0iQe0UXPZI2gAG9q8ah G/Y4TGFZ6ehK3d3vZI6JLmFneD+SmTwZ8rF2/1vyelAhr/2QlUghJxZdxif5Y0jnpNQZe49kIBrxR Cvww781qRsTs4cqonpGZpNTkOEHKuFiKyyn7aMKBmNz8U2Njmm7tO54z5Y+azHJcWsypWySVSPbdO BX1KW8Zj8C4e1V+4BsJw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1qnets-00Eebl-2X; Tue, 03 Oct 2023 12:53:20 +0000 Received: from mgamail.intel.com ([134.134.136.31]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1qnetp-00Eeaz-0r for linux-arm-kernel@lists.infradead.org; Tue, 03 Oct 2023 12:53:19 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1696337597; x=1727873597; h=from:to:cc:subject:date:message-id:mime-version: content-transfer-encoding; bh=702HqFQNmxV7YgGeTBn23DHTxJX9WZ3IGA7eOFHSmOU=; b=e0Yh7WBJccq8BOxpZEoWmfK1Vss/q3LeWjmDTWkOqdafmJZgbRQ+5q7U JzKhvc2hTeXyy1OC7icU4LUn8S7ufr7kAA5OLeOLeBn7oWzXi50qxscYO h7azswMnSdiB/sqsa+maVH1Ju29VjtjaCAxTVQ7KMewZr+QJggHeSVqp8 zmtQTuk6gCtrgLRHIWmDEFzTIqkomgCS6tYReC6KYU+jZ05Gqx+uqdhNx GfpHrkONq3QwLfkQcybIGzWwMorUDygSGwY1Bv6Z7aNR755VC49aZ+aCU MAEYOSnga0oUJ1a5sVJBl0olDaBKAIVx8GSXWNu6jr/l/sOGGuZWTrIo6 g==; X-IronPort-AV: E=McAfee;i="6600,9927,10851"; a="447022281" X-IronPort-AV: E=Sophos;i="6.03,197,1694761200"; d="scan'208";a="447022281" Received: from fmsmga006.fm.intel.com ([10.253.24.20]) by orsmga104.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 03 Oct 2023 05:53:16 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10851"; a="998005890" X-IronPort-AV: E=Sophos;i="6.03,197,1694761200"; d="scan'208";a="998005890" Received: from bmihaile-mobl1.ger.corp.intel.com (HELO localhost) ([10.251.222.64]) by fmsmga006-auth.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 03 Oct 2023 05:53:08 -0700 From: =?utf-8?q?Ilpo_J=C3=A4rvinen?= To: linux-pci@vger.kernel.org, Bjorn Helgaas , bcm-kernel-feedback-list@broadcom.com, jonathan.derrick@linux.dev, kw@linux.com, linux-arm-kernel@lists.infradead.org, linuxppc-dev@lists.ozlabs.org, linux-renesas-soc@vger.kernel.org, lpieralisi@kernel.org, marek.vasut+renesas@gmail.com, minghuan.Lian@nxp.com, mingkai.hu@nxp.com, m.karthikeyan@mobiveil.co.in, nirmal.patel@linux.intel.com, rjui@broadcom.com, robh@kernel.org, roy.zang@nxp.com, sbranden@broadcom.com, yoshihiro.shimoda.uh@renesas.com, Zhiqiang.Hou@nxp.com Cc: linux-kernel@vger.kernel.org, =?utf-8?q?Ilpo_J=C3=A4rvinen?= Subject: [PATCH 0/3] PCI: PCI_HEADER_TYPE bugfix & cleanups Date: Tue, 3 Oct 2023 15:52:57 +0300 Message-Id: <20231003125300.5541-1-ilpo.jarvinen@linux.intel.com> X-Mailer: git-send-email 2.30.2 MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20231003_055317_406010_9E57631D X-CRM114-Status: UNSURE ( 8.71 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org One bugfix and cleanups for PCI_HEADER_TYPE_* literals. This series only covers what's within drivers/pci/. I'd have patches for other subsystems too but I decided to wait with them until PCI_HEADER_TYPE_MFD is in Linus' tree (to keep the series receipient count reasonable, the rest can IMO go through the subsystem specific trees once the define is there). Ilpo Järvinen (3): PCI: vmd: Correct PCI Header Type Register's MFD bit check PCI: Add PCI_HEADER_TYPE_MFD pci_regs.h PCI: Use PCI_HEADER_TYPE_* instead of literals drivers/pci/controller/dwc/pci-layerscape.c | 2 +- .../controller/mobiveil/pcie-mobiveil-host.c | 2 +- drivers/pci/controller/pcie-iproc.c | 2 +- drivers/pci/controller/pcie-rcar-ep.c | 2 +- drivers/pci/controller/pcie-rcar-host.c | 2 +- drivers/pci/controller/vmd.c | 5 ++--- drivers/pci/hotplug/cpqphp_ctrl.c | 6 ++--- drivers/pci/hotplug/cpqphp_pci.c | 22 +++++++++---------- drivers/pci/hotplug/ibmphp.h | 5 +++-- drivers/pci/hotplug/ibmphp_pci.c | 2 +- drivers/pci/pci.c | 2 +- drivers/pci/quirks.c | 6 ++--- include/uapi/linux/pci_regs.h | 1 + 13 files changed, 30 insertions(+), 29 deletions(-)