Received: by 2002:a05:7412:37c9:b0:e2:908c:2ebd with SMTP id jz9csp1151233rdb; Wed, 20 Sep 2023 00:35:38 -0700 (PDT) X-Google-Smtp-Source: AGHT+IFLHHCB2aiOSyzrx/AyXX/d+pTZfmYJvdDZ1P0DMBKT7Fr18nLEsXVKDPii0ID3uFKe6b9b X-Received: by 2002:a05:6a20:4322:b0:13f:9cee:ff42 with SMTP id h34-20020a056a20432200b0013f9ceeff42mr1879499pzk.41.1695195338367; Wed, 20 Sep 2023 00:35:38 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1695195338; cv=none; d=google.com; s=arc-20160816; b=f93iQD6PdV/JjiRKLSZmYJOAuLGlRCDwMgWGpMROCCNqqK04qjOX9WRzl+Fl3TmrqE B2+u9lKDvEbsSOWcx62on1RcjacIxOVQBUxKdmz1b4HBDkIONB5gx6v8T6KmxBUQqZur T56I6ZbdTn9R2bnliAPw+r0NWwzmCkzU7bst+ZL+CyxRbDTUJfOqtSUwSWJ66XdHR9qK qRamO6D/YJAq0UZodbkCVVC2scJGJzwYKvT4ax9PDYC54cGmd7dmRzhDGrCH7xt9VbNX OWQxI+DLxVx5IRo4/+hHVd8dEEJiqHIO3uaKoNmiAsEGs1xGmJ99mi77DF7/U6JWsCr4 untQ== 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:date :message-id:subject:references:in-reply-to:cc:to:from:dkim-signature; bh=/H80rn3E+zvuIfw+E6MP6FF7B4oQ4gBjLVKDINvzz28=; fh=VDlaq4NDOXgGwxXk5qcefvM392MCgBkk3RLs9xSi8D8=; b=PZs/n03AE7kGJt9ugitM3nEct8pmKnj7IiHPZF0Kblqs4CnPi9bRYVMlU3BWBIH6Mv tX4oaBvds1F+ImFX2QOwzG/5belWj6CMFKE3ln8QGb6ZnSTr3mBdV+Y/8ztTEf4kr6hI 5wjQW7oZYHy7NQ1pIYDOMwHwY3ZP1eo+CE5yjfiKHCBRUURB+Ymig18yKRTtH9GsBzsF wce0x/Kb2BHLmvP5CwpLeKCnvdhXTncsF9lzJ7nXV3TwsUSd2/rmOor6c8eXXTIC4z1x oOOkvuRnRn41qm8RMMBDHldcLOsa2thIkpowY6Jxi3keWz1FTtzmO9dyY7QEy+OKXkDg D5qg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=tnikUu7k; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:3 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 lipwig.vger.email (lipwig.vger.email. [2620:137:e000::3:3]) by mx.google.com with ESMTPS id u5-20020a170902e80500b001c59c73c937si2869382plg.598.2023.09.20.00.35.37 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 20 Sep 2023 00:35:38 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:3 as permitted sender) client-ip=2620:137:e000::3:3; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=tnikUu7k; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:3 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 lipwig.vger.email (Postfix) with ESMTP id E778080B199D; Wed, 20 Sep 2023 00:31:34 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at lipwig.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233743AbjITHba (ORCPT + 99 others); Wed, 20 Sep 2023 03:31:30 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46848 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233753AbjITHb2 (ORCPT ); Wed, 20 Sep 2023 03:31:28 -0400 Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 56390D7; Wed, 20 Sep 2023 00:31:22 -0700 (PDT) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 56C9BC433C8; Wed, 20 Sep 2023 07:31:21 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1695195081; bh=hU52SYwvUa68CMm7CAUtso5H9LNTlljDIWx6EdheBHs=; h=From:To:Cc:In-Reply-To:References:Subject:Date:From; b=tnikUu7kNFOKmRNvjZ90VttjaizflA+nEASVJVpEx8xqZPx71pP6PUcmZofaMLw6c ax71ixqyjwIed+hOrCy9nz8EtXbcDfX6xY+wPe78N5Z4s+OuyDm2Y0PyJaUaOL3gNP ymvcYERFkIvlO33M2je/XLpJPRG1od8nDsI4+/5HIyPsLSJv/FmxHdnFRO4d21+D7n e233JegozX8XzLUe+020o/H8XK9+aq71ZUzfCiKw9WM2C0oI23H5BOZN1hFd1zqfM2 /XseirgYk1+l19aVvfrCLO2c7iHsPrM098w7blYM/CnefWqnMwcZdCxD3OS0CpT0at gaLjcjMYeT2FQ== From: Leon Romanovsky To: Bjorn Helgaas , linux-pci@vger.kernel.org, Jonathan Cameron , Ilpo =?utf-8?q?J=C3=A4rvinen?= Cc: linux-kernel@vger.kernel.org In-Reply-To: <20230919125648.1920-1-ilpo.jarvinen@linux.intel.com> References: <20230919125648.1920-1-ilpo.jarvinen@linux.intel.com> Subject: Re: (subset) [PATCH v3 0/8] PCI/treewide: PCIe capability access cleanups Message-Id: <169519507781.1031333.15270013101496091274.b4-ty@kernel.org> Date: Wed, 20 Sep 2023 10:31:17 +0300 MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit X-Mailer: b4 0.12-dev-a055d 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 lipwig.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 (lipwig.vger.email [0.0.0.0]); Wed, 20 Sep 2023 00:31:35 -0700 (PDT) On Tue, 19 Sep 2023 15:56:40 +0300, Ilpo Järvinen wrote: > Instead of custom code to extract the PCIe capabilities, make the code > more obvious using FIELD_GET/PREP(). > > Also cleanup some duplicated defines in e1000e. > > This is just a step into the right direction, there's plenty of places > still to cleanup which will have to wait for another patch series. > > [...] Applied, thanks! [1/8] RDMA/hfi1: Use FIELD_GET() to extract Link Width https://git.kernel.org/rdma/rdma/c/8bf7187d978610 Best regards, -- Leon Romanovsky