[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <5c5c2970fa4b23b348663873771e65a2cd78fcaf.camel@redhat.com>
Date: Tue, 03 Sep 2024 12:41:55 +0200
From: Philipp Stanner <pstanner@...hat.com>
To: Jens Axboe <axboe@...nel.dk>, Wu Hao <hao.wu@...el.com>, Tom Rix
<trix@...hat.com>, Moritz Fischer <mdf@...nel.org>, Xu Yilun
<yilun.xu@...el.com>, Andy Shevchenko <andy@...nel.org>, Linus Walleij
<linus.walleij@...aro.org>, Bartosz Golaszewski <brgl@...ev.pl>, "David S.
Miller" <davem@...emloft.net>, Eric Dumazet <edumazet@...gle.com>, Jakub
Kicinski <kuba@...nel.org>, Paolo Abeni <pabeni@...hat.com>, Bjorn Helgaas
<bhelgaas@...gle.com>, Richard Cochran <richardcochran@...il.com>, Damien
Le Moal <dlemoal@...nel.org>, Hannes Reinecke <hare@...e.de>, John Garry
<john.g.garry@...cle.com>, Chaitanya Kulkarni <kch@...dia.com>
Cc: linux-block@...r.kernel.org, linux-kernel@...r.kernel.org,
linux-fpga@...r.kernel.org, linux-gpio@...r.kernel.org,
netdev@...r.kernel.org, linux-pci@...r.kernel.org
Subject: Re: [PATCH v6 0/5] PCI: Remove most pcim_iounmap_regions() users
Because someone asked:
The proposed merge plan for this series would be to take it through the
PCI tree, as was done with similar cleanups during the last months.
Cheers,
P.
On Mon, 2024-09-02 at 08:23 +0200, Philipp Stanner wrote:
> Changes in v6:
> - Remove the patches for "vdpa: solidrun" since the maintainer
> seems
> unwilling to review and discuss, not to mention approve, anything
> that is part of a wider patch series across other subsystems.
> - Change series's name to highlight that not all callers are
> removed
> by it.
>
> Changes in v5:
> - Patch "ethernet: cavium": Re-add accidentally removed
> pcim_iounmap_region(). (Me)
> - Add Jens's Reviewed-by to patch "block: mtip32xx". (Jens)
>
> Changes in v4:
> - Drop the "ethernet: stmicro: [...] patch since it doesn't apply
> to
> net-next, and making it apply to that prevents it from being
> applyable to PCI ._. (Serge, me)
> - Instead, deprecate pcim_iounmap_regions() and keep "ethernet:
> stimicro" as the last user for now.
> - ethernet: cavium: Use PTR_ERR_OR_ZERO(). (Andy)
> - vdpa: solidrun (Bugfix) Correct wrong printf string (was "psnet"
> instead of
> "snet"). (Christophe)
> - vdpa: solidrun (Bugfix): Add missing blank line. (Andy)
> - vdpa: solidrun (Portation): Use PTR_ERR_OR_ZERO(). (Andy)
> - Apply Reviewed-by's from Andy and Xu Yilun.
>
> Changes in v3:
> - fpga/dfl-pci.c: remove now surplus wrapper around
> pcim_iomap_region(). (Andy)
> - block: mtip32xx: remove now surplus label. (Andy)
> - vdpa: solidrun: Bugfix: Include forgotten place where stack UB
> occurs. (Andy, Christophe)
> - Some minor wording improvements in commit messages. (Me)
>
> Changes in v2:
> - Add a fix for the UB stack usage bug in vdap/solidrun. Separate
> patch, put stable kernel on CC. (Christophe, Andy).
> - Drop unnecessary pcim_release_region() in mtip32xx (Andy)
> - Consequently, drop patch "PCI: Make pcim_release_region() a
> public
> function", since there's no user anymore. (obsoletes the squash
> requested by Damien).
> - vdap/solidrun:
> • make 'i' an 'unsigned short' (Andy, me)
> • Use 'continue' to simplify loop (Andy)
> • Remove leftover blank line
> - Apply given Reviewed- / acked-bys (Andy, Damien, Bartosz)
>
>
> Important things first:
> This series is based on [1] and [2] which Bjorn Helgaas has currently
> queued for v6.12 in the PCI tree.
>
> This series shall remove pcim_iounmap_regions() in order to make way
> to
> remove its brother, pcim_iomap_regions().
>
> Regards,
> P.
>
> [1]
> https://lore.kernel.org/all/20240729093625.17561-4-pstanner@redhat.com/
> [2]
> https://lore.kernel.org/all/20240807083018.8734-2-pstanner@redhat.com/
>
> Philipp Stanner (5):
> PCI: Deprecate pcim_iounmap_regions()
> fpga/dfl-pci.c: Replace deprecated PCI functions
> block: mtip32xx: Replace deprecated PCI functions
> gpio: Replace deprecated PCI functions
> ethernet: cavium: Replace deprecated PCI functions
>
> drivers/block/mtip32xx/mtip32xx.c | 18 ++++++++--------
> --
> drivers/fpga/dfl-pci.c | 16 ++++------------
> drivers/gpio/gpio-merrifield.c | 14 +++++++-------
> .../net/ethernet/cavium/common/cavium_ptp.c | 7 +++----
> drivers/pci/devres.c | 8 ++++++--
> include/linux/pci.h | 1 +
> 6 files changed, 29 insertions(+), 35 deletions(-)
>
Powered by blists - more mailing lists