Received: by 2002:a05:7412:d8a:b0:e2:908c:2ebd with SMTP id b10csp3914316rdg; Wed, 18 Oct 2023 09:23:46 -0700 (PDT) X-Google-Smtp-Source: AGHT+IFZA0lvyyGgs4TrGr6WN9CAPzkeTi7vNiXf202doBHcPwSiVeIZ1pL7k9nXUNoy6uL47hX3 X-Received: by 2002:a05:6a21:187:b0:17b:7505:8ab7 with SMTP id le7-20020a056a21018700b0017b75058ab7mr1348515pzb.46.1697646226068; Wed, 18 Oct 2023 09:23:46 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1697646226; cv=none; d=google.com; s=arc-20160816; b=Xw8Mt0/xOQC7WhHdPkdHli0BUl07aAeM2jlx2CVv3BJPrmBNwDDaIXk3dOdmlJVoYG tqECfGOmatcCGggzCuKALHJh5nx7bNeAvRiJiFNihZTm862g25eq6Mp5WTz3iBuyGX0H M5k9dUSvXuutmiHzy4SupUf1iLBQTf8JoV6cLAdGyuALPsfLmjfEWXnvG4f+cDMKUe2u xIyQ7Oix4JuOqkW4QB2ZDGEkEFAZXQytDTZTUkmKF4wHL3FAGplLVwTGMND+5xoMTVD2 80o83ILQpoTkp+16gogNIQYGyOP3gxbA70++1x4KzDcObW6E7PTyhJ8OaLCuNMXLhY9T nvMg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-transfer-encoding :content-disposition:mime-version:message-id:subject:cc:to:from:date :dkim-signature; bh=OHqIumGYri09KB/ROaWhtwATWSWDPZGOrj6X3pS92+w=; fh=5hYEWZLq6qqtl/BY7d87JG9U8RT4U2heaCHKBIVZz/Q=; b=o2FZkk6k6a93b7veaQnGPT0QLcY1YGWWdekoWvuDqsn6CKZ6eoXPmduDMfq5NGS0P/ 41AWya5+CRkXBqvwCUVXhJkkKvzp38N1axTwscfZpKSuwslm2oVaBtVsdtO8ECDOraBm SyAJs7/MvzxuqsBvvpnZWb4xR51O2qeu0Cp6L6v3ldMs1FGL9O3ezy+kZP6ufxz1kmR6 ZBGHX1WObmh8CHdxF7Xxq/8PK4f06gwVY4z46PRZkFZuM4NJZz+OenZG+7hZ2RdH0IL6 6SA2nHCU5HMFqI7QGhFjNXduILADrkN7CoGAkQlD+ahdZQ0d8K/uNVCBtnX+mmE2iacZ YmyA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=duKsn24T; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:6 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from pete.vger.email (pete.vger.email. [2620:137:e000::3:6]) by mx.google.com with ESMTPS id c8-20020a17090a8d0800b0027d1b1eb03esi127497pjo.94.2023.10.18.09.23.45 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 18 Oct 2023 09:23:46 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:6 as permitted sender) client-ip=2620:137:e000::3:6; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=duKsn24T; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:6 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by pete.vger.email (Postfix) with ESMTP id 58A0E80DA333; Wed, 18 Oct 2023 09:23:43 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at pete.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229462AbjJRQXf (ORCPT + 99 others); Wed, 18 Oct 2023 12:23:35 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:39252 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229702AbjJRQXd (ORCPT ); Wed, 18 Oct 2023 12:23:33 -0400 Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 88A1798; Wed, 18 Oct 2023 09:23:32 -0700 (PDT) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 9CBC4C433C7; Wed, 18 Oct 2023 16:23:31 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1697646212; bh=EU9od74l7DczH5yRKH/azRD3pECNA7YaypodW+1xz+c=; h=Date:From:To:Cc:Subject:In-Reply-To:From; b=duKsn24TPHawugE8wRyIQxNsZfEzs+EPZd51XKtAYOKrx0kZToSxvafLOXEYWsW6x +c9FmuxdeePzGYaxUQTEOzYW9KpVZ0dJiJ7lnoqydkhixwZLcAvhXC6ztXfR2RLnT7 gnB7C2r+iPFt0d4VuvSTLMQ/Gy0R532dOjJP02lHYHfhaORL7qVX8NzKlSNNmI6K/H D7SeRKbWHfcUcwRaV1m7SMEt4IFx2FN0toIMghEZuHo4iltM5jLGimkTwDwhWdupNe 7f+ZULnhF97X1/uFvhE5Pk1myrBw3vQoS2jbfgvUypYF/FAnyqiK2X4psIDo1gTa/g wpsCeBXqDn6vw== Date: Wed, 18 Oct 2023 11:23:28 -0500 From: Bjorn Helgaas To: Ilpo =?utf-8?B?SsOkcnZpbmVu?= Cc: Bjorn Helgaas , linux-pci@vger.kernel.org, Lorenzo Pieralisi , Rob Herring , Krzysztof =?utf-8?Q?Wilczy=C5=84ski?= , Jonathan Cameron , linux-kernel@vger.kernel.org Subject: Re: [PATCH 0/7] PCI: Use FIELD_GET/PREP() & other reg field cleanups Message-ID: <20231018162328.GA1363813@bhelgaas> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20231018113254.17616-1-ilpo.jarvinen@linux.intel.com> X-Spam-Status: No, score=-1.2 required=5.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,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 pete.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 (pete.vger.email [0.0.0.0]); Wed, 18 Oct 2023 09:23:43 -0700 (PDT) On Wed, Oct 18, 2023 at 02:32:47PM +0300, Ilpo Järvinen wrote: > Hi, > > Here's what I think should cover most of the remaining FIELD_GET/PREP() > conversions under drivers/pci/. > > The patch from Bjorn is from > https://lore.kernel.org/linux-pci/20231010204436.1000644-7-helgaas@kernel.org/ > But has been adjusted to better blend in with the other DPC changes. > I've preserved Bjorn as the main From/SoB, and added myself before his > name instead (since I modified it but my main contribution was to > remove stuff he had made to it). > > Bjorn Helgaas (1): > PCI/DPC: Use FIELD_GET() > > Ilpo Järvinen (6): > PCI: cadence: Use FIELD_GET() > PCI: dwc: Use FIELD_GET/PREP() > PCI: hotplug: Use FIELD_GET/PREP() > PCI/DPC: Use defined fields with DPC_CTL register > PCI/DPC: Use defines with DPC reason fields > PCI/MSI: Use FIELD_GET/PREP() > > .../pci/controller/cadence/pcie-cadence-ep.c | 9 ++-- > .../pci/controller/dwc/pcie-designware-ep.c | 7 ++-- > drivers/pci/controller/dwc/pcie-tegra194.c | 5 +-- > drivers/pci/hotplug/pciehp_core.c | 3 +- > drivers/pci/hotplug/pciehp_hpc.c | 5 ++- > drivers/pci/hotplug/pnv_php.c | 3 +- > drivers/pci/msi/msi.c | 10 +++-- > drivers/pci/pcie/dpc.c | 42 ++++++++++++------- > drivers/pci/quirks.c | 2 +- > include/uapi/linux/pci_regs.h | 9 ++++ > 10 files changed, 61 insertions(+), 34 deletions(-) Applied to pci/field-get for v6.7, thanks, Ilpo!