From: Philipp Stanner <pstanner@redhat.com>
To: "ens Axboe" <axboe@kernel.dk>, "Wu Hao" <hao.wu@intel.com>,
"Moritz Fischer" <mdf@kernel.org>,
"Xu Yilun" <yilun.xu@intel.com>,
"Andy Shevchenko" <andy@kernel.org>,
"Linus Walleij" <linus.walleij@linaro.org>,
"Bartosz Golaszewski" <brgl@bgdev.pl>,
"David S. Miller" <davem@davemloft.net>,
"Eric Dumazet" <edumazet@google.com>,
"Jakub Kicinski" <kuba@kernel.org>,
"Paolo Abeni" <pabeni@redhat.com>,
"Bjorn Helgaas" <bhelgaas@google.com>,
"Alvaro Karsz" <alvaro.karsz@solid-run.com>,
"Michael S. Tsirkin" <mst@redhat.com>,
"Jason Wang" <jasowang@redhat.com>,
"Xuan Zhuo" <xuanzhuo@linux.alibaba.com>,
"Eugenio Pérez" <eperezma@redhat.com>,
"Richard Cochran" <richardcochran@gmail.com>,
"Damien Le Moal" <dlemoal@kernel.org>,
"Hannes Reinecke" <hare@suse.de>,
"Keith Busch" <kbusch@kernel.org>
Cc: linux-block@vger.kernel.org, linux-kernel@vger.kernel.org,
linux-fpga@vger.kernel.org, linux-gpio@vger.kernel.org,
netdev@vger.kernel.org, linux-pci@vger.kernel.org,
virtualization@lists.linux.dev
Subject: Re: [PATCH v4 0/7] PCI: Remove pcim_iounmap_regions()
Date: Tue, 27 Aug 2024 21:01:52 +0200 [thread overview]
Message-ID: <a00ede68e809a5bd2fea5b7174536b3d4d44b949.camel@redhat.com> (raw)
In-Reply-To: <20240827185616.45094-1-pstanner@redhat.com>
PS:
This series's title should now obviously be "*Mostly* Remove
pcim_iounmap_regions()".
On Tue, 2024-08-27 at 20:56 +0200, Philipp Stanner wrote:
> OK, so unfortunately it seems very challenging to reconcile the merge
> conflict pointed up by Serge between net-next and pci-devres
> regarding
> "ethernet: stmicro": A patch that applies to the net-next tree does
> not
> apply anymore to pci-devres (and vice versa).
>
> So I actually think that it would be best if we just drop the
> portation
> of "ethernet: stmicro" for now and port it as the last user in v6.13.
>
> That should then be trivial.
>
> 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. Perform the deprecation in
> the
> series' first patch. Remove the Reviewed-by's givin so far to
> that
> patch.
> - 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().
>
> @Bjorn: Feel free to squash the PCI commits.
>
> 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 (7):
> 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
> vdpa: solidrun: Fix UB bug with devres
> vdap: solidrun: Replace deprecated PCI functions
>
> drivers/block/mtip32xx/mtip32xx.c | 16 +++--
> drivers/fpga/dfl-pci.c | 16 ++---
> drivers/gpio/gpio-merrifield.c | 14 ++---
> .../net/ethernet/cavium/common/cavium_ptp.c | 6 +-
> drivers/pci/devres.c | 8 ++-
> drivers/vdpa/solidrun/snet_main.c | 59 ++++++++---------
> --
> include/linux/pci.h | 1 +
> 7 files changed, 51 insertions(+), 69 deletions(-)
>
prev parent reply other threads:[~2024-08-27 19:01 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-08-27 18:56 [PATCH v4 0/7] PCI: Remove pcim_iounmap_regions() Philipp Stanner
2024-08-27 18:56 ` [PATCH v4 1/7] PCI: Deprecate pcim_iounmap_regions() Philipp Stanner
2024-08-27 18:56 ` [PATCH v4 2/7] fpga/dfl-pci.c: Replace deprecated PCI functions Philipp Stanner
2024-08-27 18:56 ` [PATCH v4 3/7] block: mtip32xx: " Philipp Stanner
2024-08-27 19:05 ` Jens Axboe
2024-08-28 7:10 ` Philipp Stanner
2024-08-28 14:49 ` Jens Axboe
2024-08-27 18:56 ` [PATCH v4 4/7] gpio: " Philipp Stanner
2024-08-27 18:56 ` [PATCH v4 5/7] ethernet: cavium: " Philipp Stanner
2024-08-28 6:56 ` Philipp Stanner
2024-08-27 18:56 ` [PATCH v4 6/7] vdpa: solidrun: Fix UB bug with devres Philipp Stanner
2024-08-27 18:56 ` [PATCH v4 7/7] vdap: solidrun: Replace deprecated PCI functions Philipp Stanner
2024-08-27 19:01 ` Philipp Stanner [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=a00ede68e809a5bd2fea5b7174536b3d4d44b949.camel@redhat.com \
--to=pstanner@redhat.com \
--cc=alvaro.karsz@solid-run.com \
--cc=andy@kernel.org \
--cc=axboe@kernel.dk \
--cc=bhelgaas@google.com \
--cc=brgl@bgdev.pl \
--cc=davem@davemloft.net \
--cc=dlemoal@kernel.org \
--cc=edumazet@google.com \
--cc=eperezma@redhat.com \
--cc=hao.wu@intel.com \
--cc=hare@suse.de \
--cc=jasowang@redhat.com \
--cc=kbusch@kernel.org \
--cc=kuba@kernel.org \
--cc=linus.walleij@linaro.org \
--cc=linux-block@vger.kernel.org \
--cc=linux-fpga@vger.kernel.org \
--cc=linux-gpio@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-pci@vger.kernel.org \
--cc=mdf@kernel.org \
--cc=mst@redhat.com \
--cc=netdev@vger.kernel.org \
--cc=pabeni@redhat.com \
--cc=richardcochran@gmail.com \
--cc=virtualization@lists.linux.dev \
--cc=xuanzhuo@linux.alibaba.com \
--cc=yilun.xu@intel.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).