Received: by 2002:a05:7412:3784:b0:e2:908c:2ebd with SMTP id jk4csp1935026rdb; Tue, 3 Oct 2023 05:53:28 -0700 (PDT) X-Google-Smtp-Source: AGHT+IGTmz4aFj797oNCfB/QUZ/BVQ86xApvd6mx9rbnkU14f0i+NgThBrkRhmPykCShB1+5QO+L X-Received: by 2002:a05:6830:118:b0:6b9:c5b5:6a96 with SMTP id i24-20020a056830011800b006b9c5b56a96mr13338066otp.6.1696337608541; Tue, 03 Oct 2023 05:53:28 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1696337608; cv=none; d=google.com; s=arc-20160816; b=qokaB/tl6BuzIyj7odg+fkYuLhhecLzm8oiaOjTpG0dOuQszjIodOE3sXMWir5KZVp pan0M2Fn78Lrf8VO6lnbbrUtEUYOZiZwgxOEII42jphC3IoUGjgJm9ecMeK3hYaejhXH lOPPc/lnjxGk8Lj7ZN8EE7v8rBtgpTa3Ib/mcnxdzgIHU8aoNObkPHWD2dScDuqbkjZT pwbwKCBNINTtmo++x7ebpjRP5AaznvD+hrGVYprJ/UCNvZy7IXx1xGOOnr8s9g9eL5ZU yKzST8oekduPJwuUya5WiM6CeamEY/smQF5YGvYyPvGzNYSZ6+izbMhG71yFqig7Yj43 jmYw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=P41jOzSiN5kVLn8sVe6noyCOLlRDbrY2jbi6KP5vfLs=; fh=qpoMEwXXhSqn8PY9IZtJaXRiwv+6bv868MblmErDVmM=; b=0C7QCNLDyvlw5nqPH8s5XPlSIW2AXa+qM8tcxo+w0t9iagla2FhvB3BRlPrwkcNiWj EW/3yvbN5lQPKQi7LUQVkx59qTr52m1WT5/8Ym0yPra2deRpngDDQ98knbfaELHkIJD7 BrQeS2Tm19csip6lJVy6J86eHzYWeiY2eNnRom1FcXYNcEnwL4EbonLO6t1XWiIMeUQR CU89eGOR8OC6q/7ubwneseKOSwzHgarlKnyOqE/bP4J68IkI4c3reYAIs2i0DFfb+Fk/ hnaAR8+PY1dL9CZFol9k6eHHbR4uUx7bErYtxBpyItgdZHu3rRz1OVCYYoKx9WetlVH8 x10g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=e0Yh7WBJ; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:2 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from agentk.vger.email (agentk.vger.email. [2620:137:e000::3:2]) by mx.google.com with ESMTPS id bs190-20020a6328c7000000b005641315d956si1425403pgb.147.2023.10.03.05.53.28 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 03 Oct 2023 05:53:28 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:2 as permitted sender) client-ip=2620:137:e000::3:2; Authentication-Results: mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=e0Yh7WBJ; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:2 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by agentk.vger.email (Postfix) with ESMTP id 2CD0D80FCE46; Tue, 3 Oct 2023 05:53:26 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at agentk.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231478AbjJCMxV (ORCPT + 99 others); Tue, 3 Oct 2023 08:53:21 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59856 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229689AbjJCMxU (ORCPT ); Tue, 3 Oct 2023 08:53:20 -0400 Received: from mgamail.intel.com (mgamail.intel.com [134.134.136.31]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 3D0B393; Tue, 3 Oct 2023 05:53:17 -0700 (PDT) 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="447022284" X-IronPort-AV: E=Sophos;i="6.03,197,1694761200"; d="scan'208";a="447022284" 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=20J=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=20J=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 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-0.8 required=5.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on agentk.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (agentk.vger.email [0.0.0.0]); Tue, 03 Oct 2023 05:53:26 -0700 (PDT) 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(-) -- 2.30.2