lkml.org 
[lkml]   [2022]   [Sep]   [28]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] PCI: tegra: Use PCI_CONF1_EXT_ADDRESS() macro
On Wed, Sep 28, 2022 at 02:19:11PM +0200, Pali Rohár wrote:
> Simplify pci-tegra.c driver code and use new PCI_CONF1_EXT_ADDRESS() macro
> for accessing PCI config space.
>
> Signed-off-by: Pali Rohár <pali@kernel.org>
> ---
> Please look also at this related patch:
> https://patchwork.kernel.org/project/linux-pci/patch/20220911113216.14892-1-pali@kernel.org/
> ---
> drivers/pci/controller/pci-tegra.c | 11 +++--------
> 1 file changed, 3 insertions(+), 8 deletions(-)

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.

Anyway, looks like this is equivalent to the existing inline function,
so:

Acked-by: Thierry Reding <treding@nvidia.com>
[unhandled content-type:application/pgp-signature]
\
 
 \ /
  Last update: 2022-09-28 16:36    [W:0.162 / U:0.348 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site