linux-doc.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/2] PCI: Remove pcim_iounmap_regions()
@ 2025-03-27 11:07 Philipp Stanner
  2025-03-27 11:07 ` [PATCH 1/2] mtip32xx: Remove unnecessary PCI function calls Philipp Stanner
                   ` (4 more replies)
  0 siblings, 5 replies; 11+ messages in thread
From: Philipp Stanner @ 2025-03-27 11:07 UTC (permalink / raw)
  To: Jonathan Corbet, Jens Axboe, Bjorn Helgaas, Mark Brown,
	David Lechner, Philipp Stanner, Damien Le Moal, Andy Shevchenko,
	Yang Yingliang, Zijun Hu, Hannes Reinecke, Al Viro, Li Zetao,
	Anuj Gupta
  Cc: linux-doc, linux-kernel, linux-block, linux-pci, Philipp Stanner

The last remaining user of pcim_iounmap_regions() is mtip32 (in Linus's
current master)

So we could finally remove this deprecated API. I suggest that this gets
merged through the PCI tree. (I also suggest we watch with an eagle's
eyes for folks who want to re-add calls to that function before the next
merge window opens).

P.

Philipp Stanner (2):
  mtip32xx: Remove unnecessary PCI function calls
  PCI: Remove pcim_iounmap_regions()

 .../driver-api/driver-model/devres.rst        |  1 -
 drivers/block/mtip32xx/mtip32xx.c             |  7 ++----
 drivers/pci/devres.c                          | 24 -------------------
 include/linux/pci.h                           |  1 -
 4 files changed, 2 insertions(+), 31 deletions(-)

-- 
2.48.1


^ permalink raw reply	[flat|nested] 11+ messages in thread

* [PATCH 1/2] mtip32xx: Remove unnecessary PCI function calls
  2025-03-27 11:07 [PATCH 0/2] PCI: Remove pcim_iounmap_regions() Philipp Stanner
@ 2025-03-27 11:07 ` Philipp Stanner
  2025-03-27 11:33   ` Mark Brown
  2025-03-27 11:57   ` Jens Axboe
  2025-03-27 11:07 ` [PATCH 2/2] PCI: Remove pcim_iounmap_regions() Philipp Stanner
                   ` (3 subsequent siblings)
  4 siblings, 2 replies; 11+ messages in thread
From: Philipp Stanner @ 2025-03-27 11:07 UTC (permalink / raw)
  To: Jonathan Corbet, Jens Axboe, Bjorn Helgaas, Mark Brown,
	David Lechner, Philipp Stanner, Damien Le Moal, Andy Shevchenko,
	Yang Yingliang, Zijun Hu, Hannes Reinecke, Al Viro, Li Zetao,
	Anuj Gupta
  Cc: linux-doc, linux-kernel, linux-block, linux-pci, Philipp Stanner

pcim_iounmap_regions() is deprecated. Moreover, it is not necessary to
call it in the driver's remove() function or if probe() fails, since it
does cleanup automatically on driver detach.

Remove all calls to pcim_iounmap_regions().

Signed-off-by: Philipp Stanner <phasta@kernel.org>
---
 drivers/block/mtip32xx/mtip32xx.c | 7 ++-----
 1 file changed, 2 insertions(+), 5 deletions(-)

diff --git a/drivers/block/mtip32xx/mtip32xx.c b/drivers/block/mtip32xx/mtip32xx.c
index 95361099a2dc..63b9c41d3c25 100644
--- a/drivers/block/mtip32xx/mtip32xx.c
+++ b/drivers/block/mtip32xx/mtip32xx.c
@@ -3717,7 +3717,7 @@ static int mtip_pci_probe(struct pci_dev *pdev,
 	rv = dma_set_mask_and_coherent(&pdev->dev, DMA_BIT_MASK(64));
 	if (rv) {
 		dev_warn(&pdev->dev, "64-bit DMA enable failed\n");
-		goto setmask_err;
+		goto iomap_err;
 	}
 
 	/* Copy the info we may need later into the private data structure. */
@@ -3733,7 +3733,7 @@ static int mtip_pci_probe(struct pci_dev *pdev,
 	if (!dd->isr_workq) {
 		dev_warn(&pdev->dev, "Can't create wq %d\n", dd->instance);
 		rv = -ENOMEM;
-		goto setmask_err;
+		goto iomap_err;
 	}
 
 	memset(cpu_list, 0, sizeof(cpu_list));
@@ -3830,8 +3830,6 @@ static int mtip_pci_probe(struct pci_dev *pdev,
 		drop_cpu(dd->work[1].cpu_binding);
 		drop_cpu(dd->work[2].cpu_binding);
 	}
-setmask_err:
-	pcim_iounmap_regions(pdev, 1 << MTIP_ABAR);
 
 iomap_err:
 	kfree(dd);
@@ -3907,7 +3905,6 @@ static void mtip_pci_remove(struct pci_dev *pdev)
 
 	pci_disable_msi(pdev);
 
-	pcim_iounmap_regions(pdev, 1 << MTIP_ABAR);
 	pci_set_drvdata(pdev, NULL);
 
 	put_disk(dd->disk);
-- 
2.48.1


^ permalink raw reply related	[flat|nested] 11+ messages in thread

* [PATCH 2/2] PCI: Remove pcim_iounmap_regions()
  2025-03-27 11:07 [PATCH 0/2] PCI: Remove pcim_iounmap_regions() Philipp Stanner
  2025-03-27 11:07 ` [PATCH 1/2] mtip32xx: Remove unnecessary PCI function calls Philipp Stanner
@ 2025-03-27 11:07 ` Philipp Stanner
  2025-04-03 10:13   ` Zijun Hu
  2025-03-27 11:42 ` [PATCH 0/2] " Andy Shevchenko
                   ` (2 subsequent siblings)
  4 siblings, 1 reply; 11+ messages in thread
From: Philipp Stanner @ 2025-03-27 11:07 UTC (permalink / raw)
  To: Jonathan Corbet, Jens Axboe, Bjorn Helgaas, Mark Brown,
	David Lechner, Philipp Stanner, Damien Le Moal, Andy Shevchenko,
	Yang Yingliang, Zijun Hu, Hannes Reinecke, Al Viro, Li Zetao,
	Anuj Gupta
  Cc: linux-doc, linux-kernel, linux-block, linux-pci

From: Philipp Stanner <pstanner@redhat.com>

All users of the deprecated function pcim_iounmap_regions() have been
ported by now. Remove it.

Signed-off-by: Philipp Stanner <pstanner@redhat.com>
---
 .../driver-api/driver-model/devres.rst        |  1 -
 drivers/pci/devres.c                          | 24 -------------------
 include/linux/pci.h                           |  1 -
 3 files changed, 26 deletions(-)

diff --git a/Documentation/driver-api/driver-model/devres.rst b/Documentation/driver-api/driver-model/devres.rst
index d75728eb05f8..601f1a74d34d 100644
--- a/Documentation/driver-api/driver-model/devres.rst
+++ b/Documentation/driver-api/driver-model/devres.rst
@@ -396,7 +396,6 @@ PCI
   pcim_iomap_regions()		: do request_region() and iomap() on multiple BARs
   pcim_iomap_table()		: array of mapped addresses indexed by BAR
   pcim_iounmap()		: do iounmap() on a single BAR
-  pcim_iounmap_regions()	: do iounmap() and release_region() on multiple BARs
   pcim_pin_device()		: keep PCI device enabled after release
   pcim_set_mwi()		: enable Memory-Write-Invalidate PCI transaction
 
diff --git a/drivers/pci/devres.c b/drivers/pci/devres.c
index 3431a7df3e0d..c60441555758 100644
--- a/drivers/pci/devres.c
+++ b/drivers/pci/devres.c
@@ -946,30 +946,6 @@ int pcim_request_all_regions(struct pci_dev *pdev, const char *name)
 }
 EXPORT_SYMBOL(pcim_request_all_regions);
 
-/**
- * pcim_iounmap_regions - Unmap and release PCI BARs (DEPRECATED)
- * @pdev: PCI device to map IO resources for
- * @mask: Mask of BARs to unmap and release
- *
- * Unmap and release regions specified by @mask.
- *
- * This function is DEPRECATED. Do not use it in new code.
- * Use pcim_iounmap_region() instead.
- */
-void pcim_iounmap_regions(struct pci_dev *pdev, int mask)
-{
-	int i;
-
-	for (i = 0; i < PCI_STD_NUM_BARS; i++) {
-		if (!mask_contains_bar(mask, i))
-			continue;
-
-		pcim_iounmap_region(pdev, i);
-		pcim_remove_bar_from_legacy_table(pdev, i);
-	}
-}
-EXPORT_SYMBOL(pcim_iounmap_regions);
-
 /**
  * pcim_iomap_range - Create a ranged __iomap mapping within a PCI BAR
  * @pdev: PCI device to map IO resources for
diff --git a/include/linux/pci.h b/include/linux/pci.h
index 47b31ad724fa..7661f10913ca 100644
--- a/include/linux/pci.h
+++ b/include/linux/pci.h
@@ -2323,7 +2323,6 @@ void pcim_iounmap(struct pci_dev *pdev, void __iomem *addr);
 void __iomem * const *pcim_iomap_table(struct pci_dev *pdev);
 int pcim_request_region(struct pci_dev *pdev, int bar, const char *name);
 int pcim_iomap_regions(struct pci_dev *pdev, int mask, const char *name);
-void pcim_iounmap_regions(struct pci_dev *pdev, int mask);
 void __iomem *pcim_iomap_range(struct pci_dev *pdev, int bar,
 				unsigned long offset, unsigned long len);
 
-- 
2.48.1


^ permalink raw reply related	[flat|nested] 11+ messages in thread

* Re: [PATCH 1/2] mtip32xx: Remove unnecessary PCI function calls
  2025-03-27 11:07 ` [PATCH 1/2] mtip32xx: Remove unnecessary PCI function calls Philipp Stanner
@ 2025-03-27 11:33   ` Mark Brown
  2025-03-27 11:57   ` Jens Axboe
  1 sibling, 0 replies; 11+ messages in thread
From: Mark Brown @ 2025-03-27 11:33 UTC (permalink / raw)
  To: Philipp Stanner
  Cc: Jonathan Corbet, Jens Axboe, Bjorn Helgaas, David Lechner,
	Philipp Stanner, Damien Le Moal, Andy Shevchenko, Yang Yingliang,
	Zijun Hu, Hannes Reinecke, Al Viro, Li Zetao, Anuj Gupta,
	linux-doc, linux-kernel, linux-block, linux-pci

[-- Attachment #1: Type: text/plain, Size: 302 bytes --]

On Thu, Mar 27, 2025 at 12:07:07PM +0100, Philipp Stanner wrote:
> pcim_iounmap_regions() is deprecated. Moreover, it is not necessary to
> call it in the driver's remove() function or if probe() fails, since it
> does cleanup automatically on driver detach.

Acked-by: Mark Brown <broonie@kernel.org>

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 488 bytes --]

^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: [PATCH 0/2] PCI: Remove pcim_iounmap_regions()
  2025-03-27 11:07 [PATCH 0/2] PCI: Remove pcim_iounmap_regions() Philipp Stanner
  2025-03-27 11:07 ` [PATCH 1/2] mtip32xx: Remove unnecessary PCI function calls Philipp Stanner
  2025-03-27 11:07 ` [PATCH 2/2] PCI: Remove pcim_iounmap_regions() Philipp Stanner
@ 2025-03-27 11:42 ` Andy Shevchenko
  2025-04-02  7:58   ` Philipp Stanner
  2025-04-09  8:20 ` Philipp Stanner
  2025-04-09 19:23 ` Bjorn Helgaas
  4 siblings, 1 reply; 11+ messages in thread
From: Andy Shevchenko @ 2025-03-27 11:42 UTC (permalink / raw)
  To: Philipp Stanner
  Cc: Jonathan Corbet, Jens Axboe, Bjorn Helgaas, Mark Brown,
	David Lechner, Philipp Stanner, Damien Le Moal, Yang Yingliang,
	Zijun Hu, Hannes Reinecke, Al Viro, Li Zetao, Anuj Gupta,
	linux-doc, linux-kernel, linux-block, linux-pci

On Thu, Mar 27, 2025 at 12:07:06PM +0100, Philipp Stanner wrote:
> The last remaining user of pcim_iounmap_regions() is mtip32 (in Linus's
> current master)
> 
> So we could finally remove this deprecated API. I suggest that this gets
> merged through the PCI tree.

Good god! One API less, +1 to support this move.
Reviewed-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>

> (I also suggest we watch with an eagle's
> eyes for folks who want to re-add calls to that function before the next
> merge window opens).

Instead of this I suggest that PCI can take this before merge window finishes
and cooks the (second) PR with it. In such a case we wouldn't need to care,
the developers will got broken builds.

-- 
With Best Regards,
Andy Shevchenko



^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: [PATCH 1/2] mtip32xx: Remove unnecessary PCI function calls
  2025-03-27 11:07 ` [PATCH 1/2] mtip32xx: Remove unnecessary PCI function calls Philipp Stanner
  2025-03-27 11:33   ` Mark Brown
@ 2025-03-27 11:57   ` Jens Axboe
  1 sibling, 0 replies; 11+ messages in thread
From: Jens Axboe @ 2025-03-27 11:57 UTC (permalink / raw)
  To: Philipp Stanner, Jonathan Corbet, Bjorn Helgaas, Mark Brown,
	David Lechner, Philipp Stanner, Damien Le Moal, Andy Shevchenko,
	Yang Yingliang, Zijun Hu, Hannes Reinecke, Al Viro, Li Zetao,
	Anuj Gupta
  Cc: linux-doc, linux-kernel, linux-block, linux-pci

On 3/27/25 5:07 AM, Philipp Stanner wrote:
> pcim_iounmap_regions() is deprecated. Moreover, it is not necessary to
> call it in the driver's remove() function or if probe() fails, since it
> does cleanup automatically on driver detach.
> 
> Remove all calls to pcim_iounmap_regions().

Acked-by: Jens Axboe <axboe@kernel.dk>

-- 
Jens Axboe


^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: [PATCH 0/2] PCI: Remove pcim_iounmap_regions()
  2025-03-27 11:42 ` [PATCH 0/2] " Andy Shevchenko
@ 2025-04-02  7:58   ` Philipp Stanner
  2025-04-02 13:53     ` Jonathan Cameron
  0 siblings, 1 reply; 11+ messages in thread
From: Philipp Stanner @ 2025-04-02  7:58 UTC (permalink / raw)
  To: Andy Shevchenko, Philipp Stanner
  Cc: Jonathan Corbet, Jens Axboe, Bjorn Helgaas, Mark Brown,
	David Lechner, Damien Le Moal, Yang Yingliang, Zijun Hu,
	Hannes Reinecke, Al Viro, Li Zetao, Anuj Gupta, linux-doc,
	linux-kernel, linux-block, linux-pci

On Thu, 2025-03-27 at 13:42 +0200, Andy Shevchenko wrote:
> On Thu, Mar 27, 2025 at 12:07:06PM +0100, Philipp Stanner wrote:
> > The last remaining user of pcim_iounmap_regions() is mtip32 (in
> > Linus's
> > current master)
> > 
> > So we could finally remove this deprecated API. I suggest that this
> > gets
> > merged through the PCI tree.
> 
> Good god! One API less, +1 to support this move.
> Reviewed-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
> 
> > (I also suggest we watch with an eagle's
> > eyes for folks who want to re-add calls to that function before the
> > next
> > merge window opens).
> 
> Instead of this I suggest that PCI can take this before merge window
> finishes
> and cooks the (second) PR with it. In such a case we wouldn't need to
> care,
> the developers will got broken builds.
> 

Normally Bjorn / PCI lets changes settle on a branch for >1 week before
throwing them at mainline – but if we ask him very very nicely, maybe
he would make an exception for this special case? :)

P.


^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: [PATCH 0/2] PCI: Remove pcim_iounmap_regions()
  2025-04-02  7:58   ` Philipp Stanner
@ 2025-04-02 13:53     ` Jonathan Cameron
  0 siblings, 0 replies; 11+ messages in thread
From: Jonathan Cameron @ 2025-04-02 13:53 UTC (permalink / raw)
  To: Philipp Stanner
  Cc: Andy Shevchenko, Philipp Stanner, Jonathan Corbet, Jens Axboe,
	Bjorn Helgaas, Mark Brown, David Lechner, Damien Le Moal,
	Yang Yingliang, Zijun Hu, Hannes Reinecke, Al Viro, Li Zetao,
	Anuj Gupta, linux-doc, linux-kernel, linux-block, linux-pci

On Wed, 02 Apr 2025 09:58:24 +0200
Philipp Stanner <pstanner@redhat.com> wrote:

> On Thu, 2025-03-27 at 13:42 +0200, Andy Shevchenko wrote:
> > On Thu, Mar 27, 2025 at 12:07:06PM +0100, Philipp Stanner wrote:  
> > > The last remaining user of pcim_iounmap_regions() is mtip32 (in
> > > Linus's
> > > current master)
> > > 
> > > So we could finally remove this deprecated API. I suggest that this
> > > gets
> > > merged through the PCI tree.  
> > 
> > Good god! One API less, +1 to support this move.
> > Reviewed-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
> >   
> > > (I also suggest we watch with an eagle's
> > > eyes for folks who want to re-add calls to that function before the
> > > next
> > > merge window opens).  
> > 
> > Instead of this I suggest that PCI can take this before merge window
> > finishes
> > and cooks the (second) PR with it. In such a case we wouldn't need to
> > care,
> > the developers will got broken builds.
> >   
> 
> Normally Bjorn / PCI lets changes settle on a branch for >1 week before
> throwing them at mainline – but if we ask him very very nicely, maybe
> he would make an exception for this special case? :)
> 
linux-next should deal with any new users anyway so I wouldn't worry
about it.  Anyone who still has trees destined for the next merge window
that aren't in next gets to deal with Linus being very grumpy at them.

Jonathan

> P.
> 
> 
> 


^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: [PATCH 2/2] PCI: Remove pcim_iounmap_regions()
  2025-03-27 11:07 ` [PATCH 2/2] PCI: Remove pcim_iounmap_regions() Philipp Stanner
@ 2025-04-03 10:13   ` Zijun Hu
  0 siblings, 0 replies; 11+ messages in thread
From: Zijun Hu @ 2025-04-03 10:13 UTC (permalink / raw)
  To: Philipp Stanner, Jonathan Corbet, Jens Axboe, Bjorn Helgaas,
	Mark Brown, David Lechner, Philipp Stanner, Damien Le Moal,
	Andy Shevchenko, Yang Yingliang, Hannes Reinecke, Al Viro,
	Li Zetao, Anuj Gupta
  Cc: linux-doc, linux-kernel, linux-block, linux-pci

On 3/27/2025 7:07 PM, Philipp Stanner wrote:
> From: Philipp Stanner <pstanner@redhat.com>
> 
> All users of the deprecated function pcim_iounmap_regions() have been
> ported by now. Remove it.
> 
> Signed-off-by: Philipp Stanner <pstanner@redhat.com>
> ---
>  .../driver-api/driver-model/devres.rst        |  1 -
>  drivers/pci/devres.c                          | 24 -------------------
>  include/linux/pci.h                           |  1 -
>  3 files changed, 26 deletions(-)
> 
> diff --git a/Documentation/driver-api/driver-model/devres.rst b/Documentation/driver-api/driver-model/devres.rst
> index d75728eb05f8..601f1a74d34d 100644
> --- a/Documentation/driver-api/driver-model/devres.rst
> +++ b/Documentation/driver-api/driver-model/devres.rst
> @@ -396,7 +396,6 @@ PCI
>    pcim_iomap_regions()		: do request_region() and iomap() on multiple BARs
>    pcim_iomap_table()		: array of mapped addresses indexed by BAR
>    pcim_iounmap()		: do iounmap() on a single BAR
> -  pcim_iounmap_regions()	: do iounmap() and release_region() on multiple BARs
>    pcim_pin_device()		: keep PCI device enabled after release
>    pcim_set_mwi()		: enable Memory-Write-Invalidate PCI transaction
>  
> diff --git a/drivers/pci/devres.c b/drivers/pci/devres.c
> index 3431a7df3e0d..c60441555758 100644
> --- a/drivers/pci/devres.c
> +++ b/drivers/pci/devres.c
> @@ -946,30 +946,6 @@ int pcim_request_all_regions(struct pci_dev *pdev, const char *name)
>  }
>  EXPORT_SYMBOL(pcim_request_all_regions);
>  
> -/**
> - * pcim_iounmap_regions - Unmap and release PCI BARs (DEPRECATED)
> - * @pdev: PCI device to map IO resources for
> - * @mask: Mask of BARs to unmap and release
> - *
> - * Unmap and release regions specified by @mask.
> - *
> - * This function is DEPRECATED. Do not use it in new code.
> - * Use pcim_iounmap_region() instead.
> - */
> -void pcim_iounmap_regions(struct pci_dev *pdev, int mask)
> -{
> -	int i;
> -
> -	for (i = 0; i < PCI_STD_NUM_BARS; i++) {
> -		if (!mask_contains_bar(mask, i))
> -			continue;
> -
> -		pcim_iounmap_region(pdev, i);
> -		pcim_remove_bar_from_legacy_table(pdev, i);
> -	}
> -}
> -EXPORT_SYMBOL(pcim_iounmap_regions);
> -
>  /**
>   * pcim_iomap_range - Create a ranged __iomap mapping within a PCI BAR
>   * @pdev: PCI device to map IO resources for
> diff --git a/include/linux/pci.h b/include/linux/pci.h
> index 47b31ad724fa..7661f10913ca 100644
> --- a/include/linux/pci.h
> +++ b/include/linux/pci.h
> @@ -2323,7 +2323,6 @@ void pcim_iounmap(struct pci_dev *pdev, void __iomem *addr);
>  void __iomem * const *pcim_iomap_table(struct pci_dev *pdev);
>  int pcim_request_region(struct pci_dev *pdev, int bar, const char *name);
>  int pcim_iomap_regions(struct pci_dev *pdev, int mask, const char *name);
> -void pcim_iounmap_regions(struct pci_dev *pdev, int mask);
>  void __iomem *pcim_iomap_range(struct pci_dev *pdev, int bar,
>  				unsigned long offset, unsigned long len);
>  

Reviewed-by: Zijun Hu <quic_zijuhu@quicinc.com>

^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: [PATCH 0/2] PCI: Remove pcim_iounmap_regions()
  2025-03-27 11:07 [PATCH 0/2] PCI: Remove pcim_iounmap_regions() Philipp Stanner
                   ` (2 preceding siblings ...)
  2025-03-27 11:42 ` [PATCH 0/2] " Andy Shevchenko
@ 2025-04-09  8:20 ` Philipp Stanner
  2025-04-09 19:23 ` Bjorn Helgaas
  4 siblings, 0 replies; 11+ messages in thread
From: Philipp Stanner @ 2025-04-09  8:20 UTC (permalink / raw)
  To: Philipp Stanner, Jonathan Corbet, Jens Axboe, Bjorn Helgaas,
	Mark Brown, David Lechner, Damien Le Moal, Andy Shevchenko,
	Yang Yingliang, Zijun Hu, Hannes Reinecke, Al Viro, Li Zetao,
	Anuj Gupta
  Cc: linux-doc, linux-kernel, linux-block, linux-pci

On Thu, 2025-03-27 at 12:07 +0100, Philipp Stanner wrote:
> The last remaining user of pcim_iounmap_regions() is mtip32 (in
> Linus's
> current master)
> 
> So we could finally remove this deprecated API. I suggest that this
> gets
> merged through the PCI tree. (I also suggest we watch with an eagle's
> eyes for folks who want to re-add calls to that function before the
> next
> merge window opens).
> 
> P.
> 
> Philipp Stanner (2):
>   mtip32xx: Remove unnecessary PCI function calls
>   PCI: Remove pcim_iounmap_regions()

Can this go in for the next merge window, Bjorn?

P.

> 
>  .../driver-api/driver-model/devres.rst        |  1 -
>  drivers/block/mtip32xx/mtip32xx.c             |  7 ++----
>  drivers/pci/devres.c                          | 24 -----------------
> --
>  include/linux/pci.h                           |  1 -
>  4 files changed, 2 insertions(+), 31 deletions(-)
> 


^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: [PATCH 0/2] PCI: Remove pcim_iounmap_regions()
  2025-03-27 11:07 [PATCH 0/2] PCI: Remove pcim_iounmap_regions() Philipp Stanner
                   ` (3 preceding siblings ...)
  2025-04-09  8:20 ` Philipp Stanner
@ 2025-04-09 19:23 ` Bjorn Helgaas
  4 siblings, 0 replies; 11+ messages in thread
From: Bjorn Helgaas @ 2025-04-09 19:23 UTC (permalink / raw)
  To: Philipp Stanner
  Cc: Jonathan Corbet, Jens Axboe, Bjorn Helgaas, Mark Brown,
	David Lechner, Philipp Stanner, Damien Le Moal, Andy Shevchenko,
	Yang Yingliang, Zijun Hu, Hannes Reinecke, Al Viro, Li Zetao,
	Anuj Gupta, linux-doc, linux-kernel, linux-block, linux-pci

On Thu, Mar 27, 2025 at 12:07:06PM +0100, Philipp Stanner wrote:
> The last remaining user of pcim_iounmap_regions() is mtip32 (in Linus's
> current master)
> 
> So we could finally remove this deprecated API. I suggest that this gets
> merged through the PCI tree. (I also suggest we watch with an eagle's
> eyes for folks who want to re-add calls to that function before the next
> merge window opens).
> 
> P.
> 
> Philipp Stanner (2):
>   mtip32xx: Remove unnecessary PCI function calls
>   PCI: Remove pcim_iounmap_regions()

Updated mtip32xx subject to:

  mtip32xx: Remove unnecessary pcim_iounmap_regions() calls

and applied to pci/devres for v6.16, thanks!

>  .../driver-api/driver-model/devres.rst        |  1 -
>  drivers/block/mtip32xx/mtip32xx.c             |  7 ++----
>  drivers/pci/devres.c                          | 24 -------------------
>  include/linux/pci.h                           |  1 -
>  4 files changed, 2 insertions(+), 31 deletions(-)
> 
> -- 
> 2.48.1
> 

^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2025-04-09 19:23 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-03-27 11:07 [PATCH 0/2] PCI: Remove pcim_iounmap_regions() Philipp Stanner
2025-03-27 11:07 ` [PATCH 1/2] mtip32xx: Remove unnecessary PCI function calls Philipp Stanner
2025-03-27 11:33   ` Mark Brown
2025-03-27 11:57   ` Jens Axboe
2025-03-27 11:07 ` [PATCH 2/2] PCI: Remove pcim_iounmap_regions() Philipp Stanner
2025-04-03 10:13   ` Zijun Hu
2025-03-27 11:42 ` [PATCH 0/2] " Andy Shevchenko
2025-04-02  7:58   ` Philipp Stanner
2025-04-02 13:53     ` Jonathan Cameron
2025-04-09  8:20 ` Philipp Stanner
2025-04-09 19:23 ` Bjorn Helgaas

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).