public inbox for stable@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] s390/pci: follow alloc_pages in dma_map_ops name change
@ 2024-08-30 23:30 Ariadne Conill
  2024-08-31  5:28 ` Greg KH
  0 siblings, 1 reply; 2+ messages in thread
From: Ariadne Conill @ 2024-08-30 23:30 UTC (permalink / raw)
  To: stable; +Cc: ariadne

In linux-6.6.y commit 983e6b2636f0099dbac1874c9e885bbe1cf2df05,
alloc_pages was renamed to alloc_pages_op, but this was not changed for
the s390 PCI implementation, most likely due to upstream changes in the
s390 PCI implementation which moved it to using the generic IOMMU
implementation after Linux 6.6 was released.

Signed-off-by: Ariadne Conill <ariadne@ariadne.space>
---
 arch/s390/pci/pci_dma.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/arch/s390/pci/pci_dma.c b/arch/s390/pci/pci_dma.c
index 99209085c75b..ce0f2990cb04 100644
--- a/arch/s390/pci/pci_dma.c
+++ b/arch/s390/pci/pci_dma.c
@@ -721,7 +721,7 @@ const struct dma_map_ops s390_pci_dma_ops = {
 	.unmap_page	= s390_dma_unmap_pages,
 	.mmap		= dma_common_mmap,
 	.get_sgtable	= dma_common_get_sgtable,
-	.alloc_pages	= dma_common_alloc_pages,
+	.alloc_pages_op	= dma_common_alloc_pages,
 	.free_pages	= dma_common_free_pages,
 	/* dma_supported is unconditionally true without a callback */
 };
-- 
2.46.0


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

* Re: [PATCH] s390/pci: follow alloc_pages in dma_map_ops name change
  2024-08-30 23:30 [PATCH] s390/pci: follow alloc_pages in dma_map_ops name change Ariadne Conill
@ 2024-08-31  5:28 ` Greg KH
  0 siblings, 0 replies; 2+ messages in thread
From: Greg KH @ 2024-08-31  5:28 UTC (permalink / raw)
  To: Ariadne Conill; +Cc: stable

On Fri, Aug 30, 2024 at 04:30:23PM -0700, Ariadne Conill wrote:
> In linux-6.6.y commit 983e6b2636f0099dbac1874c9e885bbe1cf2df05,
> alloc_pages was renamed to alloc_pages_op, but this was not changed for
> the s390 PCI implementation, most likely due to upstream changes in the
> s390 PCI implementation which moved it to using the generic IOMMU
> implementation after Linux 6.6 was released.
> 
> Signed-off-by: Ariadne Conill <ariadne@ariadne.space>
> ---
>  arch/s390/pci/pci_dma.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/arch/s390/pci/pci_dma.c b/arch/s390/pci/pci_dma.c
> index 99209085c75b..ce0f2990cb04 100644
> --- a/arch/s390/pci/pci_dma.c
> +++ b/arch/s390/pci/pci_dma.c
> @@ -721,7 +721,7 @@ const struct dma_map_ops s390_pci_dma_ops = {
>  	.unmap_page	= s390_dma_unmap_pages,
>  	.mmap		= dma_common_mmap,
>  	.get_sgtable	= dma_common_get_sgtable,
> -	.alloc_pages	= dma_common_alloc_pages,
> +	.alloc_pages_op	= dma_common_alloc_pages,
>  	.free_pages	= dma_common_free_pages,
>  	/* dma_supported is unconditionally true without a callback */
>  };
> -- 
> 2.46.0
> 
> 

Thanks for the fix, but as per:
	https://lore.kernel.org/r/20240830221217.GA3837758@thelio-3990X
I'll just go revert the offending commit instead.

thanks,

greg k-h

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

end of thread, other threads:[~2024-08-31  5:28 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-08-30 23:30 [PATCH] s390/pci: follow alloc_pages in dma_map_ops name change Ariadne Conill
2024-08-31  5:28 ` Greg KH

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox