Received: by 2002:a05:6359:c8b:b0:c7:702f:21d4 with SMTP id go11csp685081rwb; Wed, 28 Sep 2022 07:54:53 -0700 (PDT) X-Google-Smtp-Source: AMsMyM7wIdsge8a6l8hORlr7ZSwhdgC7ypUxxytXLt4KLh8Px8/mC6eEKJ+qF8yBcI1HjQLo0Ov8 X-Received: by 2002:a17:902:d58f:b0:179:b756:6f5e with SMTP id k15-20020a170902d58f00b00179b7566f5emr225097plh.1.1664376893194; Wed, 28 Sep 2022 07:54:53 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1664376893; cv=none; d=google.com; s=arc-20160816; b=hjODzuueusKN8oR3+57icPH7F+W1Zb2KG+8w73sF6eV29R7cB/G9fUDCnsjqn4vru1 hOvC/COyptWXzOaXd97/P0Bnjp2cRsYiB66KgxSdCvUP4XMROrIyCVMpFUE6kVi2vrPk CEJdvhq9GYALSTRmU4p2eGICgSvRKlhSCiPlT69fpiBmvNMCSYKtISEJC5hfzZsxYexb uAk/P5F+IhCjlkD8RCyRK4Z/62H9wvjhinOuvz1HnrsOnrFUcpdTmQ9y3BJoZLgaToWj S0kW43VcUsnJA/33aIDGayuRijZ50W3ZB5F5QC8JgRR1QWKMEUyhAF+RdSTD6ezpmX6g pzkA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:user-agent:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date :dkim-signature; bh=ekAiCWadc/IugK61bJnxOBEoHGO6pu7qU5yyBGglVPw=; b=A9TCyVr7KS3iqjgahshVmUedlMZVQal1/CdPej2iND3CWhAbB0+N/l9pJocGMcC21I M+blKYAbXhOHr2RWBl8rV+lWP2g+kRIPQEJge8fJZyu6t70ev6JL7f4wWZNc/hpctvUY tBESRd/yrJ9dnbLJ19/3dM5xkPwoOxA93ygzJmjfO+Uec2kXmP9MTsBCY+IdysHY4anU ADOKIeNIGH2ba+YGElaJci3mZLcXb+cbZjXfTdfTBPg7HcA4iKA+WKjmLoR/Mmhe0G8k 81v1OAMeGm8nHzy4M7LRW2VjYSnDNc5rWJ6rXh3EV+fQVipYZHT7QsSAtc79Wudm4xkx KTGw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=qztkwIZe; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id x16-20020a170902b41000b001783ba6f79dsi5555005plr.494.2022.09.28.07.54.41; Wed, 28 Sep 2022 07:54:53 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=qztkwIZe; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234442AbiI1OkJ (ORCPT + 99 others); Wed, 28 Sep 2022 10:40:09 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46530 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233934AbiI1OkH (ORCPT ); Wed, 28 Sep 2022 10:40:07 -0400 Received: from mail-ed1-x536.google.com (mail-ed1-x536.google.com [IPv6:2a00:1450:4864:20::536]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 7B91D7EFE3; Wed, 28 Sep 2022 07:40:06 -0700 (PDT) Received: by mail-ed1-x536.google.com with SMTP id f20so17553489edf.6; Wed, 28 Sep 2022 07:40:06 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=user-agent:in-reply-to:content-disposition:mime-version:references :message-id:subject:cc:to:from:date:from:to:cc:subject:date; bh=ekAiCWadc/IugK61bJnxOBEoHGO6pu7qU5yyBGglVPw=; b=qztkwIZeUr/hMW0RJ8T8bJa59u90ryviXcpQ9B0eNQxLR6oTFMGKQJZHXcj+75B0wm 77eS+OT9GPp8p2RqDQ6njgDanILrIMSdpe0uTpMDu1kt6+5A6JjitsaxL+veq/Vil8w4 CCaA0CvaRREf4g5b2XOeLX5SbZQP2npJjeUj+EchwO+TqG8RasOT+rVq/MORLSldbcys y3eTY9iXW/316RrWLgB5iuJt/V2eFeAb629LnsXHNDFZTo/S5QUGDcbDpy/Ln5xpLeH2 WBaSplTtcp8Yxc7DhbRvWeP3w6+lDrlR1a+cnfVqW62b9vd05M92u7adhWsQMjlF3Hyi 08oQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=user-agent:in-reply-to:content-disposition:mime-version:references :message-id:subject:cc:to:from:date:x-gm-message-state:from:to:cc :subject:date; bh=ekAiCWadc/IugK61bJnxOBEoHGO6pu7qU5yyBGglVPw=; b=nYAj6K1/bfPT95XV8YNh/3AS9fJhDIT3Cq4Og58c9BWsZoYg5AfyuIZ+Ea/54yXz/N D0vBjCwI2q4ktMkfmFcOJoDr1HrcVxc8viDqxoRAup192XXy46xn7ev/LarbY5ccbACq +PKcK9WApB2U1N6YxmNtmVpGBU7MT58OPD6Cr/5R8sYY3idYl4W/izWKyYqIvGdkFHNt NPSP5CdJEvt4hylE/yDpR1jcR7q0nJmjM6A7+/ValyOBXpT9D/mQtDMr2qUT0pgS0R4K ml0fh+kIo+KIcXAshd7lzW4mmMv67y7/rRfLI6e49ERB7ZxBpiVy2nERzhaY4mGkWYig QRiQ== X-Gm-Message-State: ACrzQf1WeTMGCkaBIOt/w8G2sQtcq8lV0hK8/KXp7YljG5Q/grxDWUQH Jopss7PmNZGFzvRxEw2Zh9M= X-Received: by 2002:a05:6402:270d:b0:452:4285:87b7 with SMTP id y13-20020a056402270d00b00452428587b7mr33095304edd.135.1664376005010; Wed, 28 Sep 2022 07:40:05 -0700 (PDT) Received: from orome (p200300e41f201d00f22f74fffe1f3a53.dip0.t-ipconnect.de. [2003:e4:1f20:1d00:f22f:74ff:fe1f:3a53]) by smtp.gmail.com with ESMTPSA id 18-20020a170906329200b0077f5e96129fsm2474478ejw.158.2022.09.28.07.40.03 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 28 Sep 2022 07:40:04 -0700 (PDT) Date: Wed, 28 Sep 2022 16:40:02 +0200 From: Thierry Reding To: Pali =?utf-8?B?Um9ow6Fy?= Cc: Lorenzo Pieralisi , Rob Herring , Krzysztof =?utf-8?Q?Wilczy=C5=84ski?= , Bjorn Helgaas , Jonathan Hunter , linux-tegra@vger.kernel.org, linux-pci@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] PCI: tegra: Use PCI_CONF1_EXT_ADDRESS() macro Message-ID: References: <20220928121911.14994-1-pali@kernel.org> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="wgdOBF4sKJ52vuXE" Content-Disposition: inline In-Reply-To: User-Agent: Mutt/2.2.7 (2022-08-07) X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM, RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --wgdOBF4sKJ52vuXE Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, Sep 28, 2022 at 04:35:10PM +0200, Thierry Reding wrote: > On Wed, Sep 28, 2022 at 02:19:11PM +0200, Pali Roh=C3=A1r wrote: > > Simplify pci-tegra.c driver code and use new PCI_CONF1_EXT_ADDRESS() ma= cro > > for accessing PCI config space. > >=20 > > Signed-off-by: Pali Roh=C3=A1r > > --- > > Please look also at this related patch: > > https://patchwork.kernel.org/project/linux-pci/patch/20220911113216.148= 92-1-pali@kernel.org/ > > --- > > drivers/pci/controller/pci-tegra.c | 11 +++-------- > > 1 file changed, 3 insertions(+), 8 deletions(-) >=20 > I had to go chase down the patch that introduces PCI_CONF1_EXT_ADDRESS. > It would've been easier if this had been part of the series that > introduced that, or if you had provided a link to that patch here. >=20 > Anyway, looks like this is equivalent to the existing inline function, > so: >=20 > Acked-by: Thierry Reding After looking at the linked patch, perhaps revise this one more time and remove the comment above the removed helper since it's now just a duplication of what the PCI_CONF1_EXT_ADDRESS comments say. Thierry --wgdOBF4sKJ52vuXE Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCAAdFiEEiOrDCAFJzPfAjcif3SOs138+s6EFAmM0XMIACgkQ3SOs138+ s6E4vg//aq29as5dOoYD/iQAcoZLxojhmIhteyPO4CN2K78Xar4DLaMbECiCLAIU ZX+hyODe6/XkzWHm8m5WKD+ewDgmwxUMWoTYN7UI7FM0WPqt3vtEXV0tUAvGIzUn a2Y5u3ohXIm3j1hHwVMsXi7HMeVGrvsDoiULfNOApoaXooDHWP3fd3VGS9BZuMEb GOJ9WeFIaCWuN8gk0gjWUbf4ZV7Jk7N7XmD/Kef7AjKWbkAeAJWsNTfM0Fj8oPFq p7S6xMbRfO7/S/QUGlbwxKmSX6iP7jtlhRGfDvDP6XMo/UPB7T0jCVpIhOjShb2t BDVQg85fx6dMFECM+DLvlxPMmFvReICDqeLPj4K+RW0y0DWEBLHZ89WiugtxrRWV EcJYu3X5DKW1AdW3csYTmuOd8YLPSnHn453Aa5wNIhoqLGUQ4i1jTJWxER3fHSrO zul5uHhgsJMRPSDgntpi0ivKSBtaOmnyJ9QTs7diagWzwOGmDfyiofOgzzsTMnlK 2jmYOx30AUT5zKNdycYNH7kqinOssJ5N4f6AfOdXec9S4/5EYNvtXiGjFaQrXRaM 2ZJuGOrSs2cvqDSdJzZhE/YDBX0GR5jdx+R+Z9qjpKhYbyROzr3g27PUPESY1lB9 yJOep9O4OJn1SavBg4KONqUCYQOZUvekFGnNzbG4JycCsipd50M= =q/hC -----END PGP SIGNATURE----- --wgdOBF4sKJ52vuXE--