public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] vfio/pci: Remove unused struct 'vfio_pci_mmap_vma'
@ 2024-07-27 16:03 linux
  2024-07-30 13:14 ` Jason Gunthorpe
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: linux @ 2024-07-27 16:03 UTC (permalink / raw)
  To: alex.williamson; +Cc: kvm, linux-kernel, Dr. David Alan Gilbert

From: "Dr. David Alan Gilbert" <linux@treblig.org>

'vfio_pci_mmap_vma' has been unused since
commit aac6db75a9fc ("vfio/pci: Use unmap_mapping_range()")

Remove it.

Signed-off-by: Dr. David Alan Gilbert <linux@treblig.org>
---
 drivers/vfio/pci/vfio_pci_core.c | 5 -----
 1 file changed, 5 deletions(-)

diff --git a/drivers/vfio/pci/vfio_pci_core.c b/drivers/vfio/pci/vfio_pci_core.c
index ba0ce0075b2f..2127b82d301a 100644
--- a/drivers/vfio/pci/vfio_pci_core.c
+++ b/drivers/vfio/pci/vfio_pci_core.c
@@ -57,11 +57,6 @@ struct vfio_pci_vf_token {
 	int			users;
 };
 
-struct vfio_pci_mmap_vma {
-	struct vm_area_struct	*vma;
-	struct list_head	vma_next;
-};
-
 static inline bool vfio_vga_disabled(void)
 {
 #ifdef CONFIG_VFIO_PCI_VGA
-- 
2.45.2


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

* Re: [PATCH] vfio/pci: Remove unused struct 'vfio_pci_mmap_vma'
  2024-07-27 16:03 [PATCH] vfio/pci: Remove unused struct 'vfio_pci_mmap_vma' linux
@ 2024-07-30 13:14 ` Jason Gunthorpe
  2024-07-31  5:55 ` Tian, Kevin
  2024-09-03 18:46 ` Alex Williamson
  2 siblings, 0 replies; 4+ messages in thread
From: Jason Gunthorpe @ 2024-07-30 13:14 UTC (permalink / raw)
  To: linux; +Cc: alex.williamson, kvm, linux-kernel

On Sat, Jul 27, 2024 at 05:03:06PM +0100, linux@treblig.org wrote:
> From: "Dr. David Alan Gilbert" <linux@treblig.org>
> 
> 'vfio_pci_mmap_vma' has been unused since
> commit aac6db75a9fc ("vfio/pci: Use unmap_mapping_range()")
> 
> Remove it.
> 
> Signed-off-by: Dr. David Alan Gilbert <linux@treblig.org>
> ---
>  drivers/vfio/pci/vfio_pci_core.c | 5 -----
>  1 file changed, 5 deletions(-)

Reviewed-by: Jason Gunthorpe <jgg@nvidia.com>

Jason

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

* RE: [PATCH] vfio/pci: Remove unused struct 'vfio_pci_mmap_vma'
  2024-07-27 16:03 [PATCH] vfio/pci: Remove unused struct 'vfio_pci_mmap_vma' linux
  2024-07-30 13:14 ` Jason Gunthorpe
@ 2024-07-31  5:55 ` Tian, Kevin
  2024-09-03 18:46 ` Alex Williamson
  2 siblings, 0 replies; 4+ messages in thread
From: Tian, Kevin @ 2024-07-31  5:55 UTC (permalink / raw)
  To: linux@treblig.org, alex.williamson@redhat.com
  Cc: kvm@vger.kernel.org, linux-kernel@vger.kernel.org

> From: linux@treblig.org <linux@treblig.org>
> Sent: Sunday, July 28, 2024 12:03 AM
> 
> From: "Dr. David Alan Gilbert" <linux@treblig.org>
> 
> 'vfio_pci_mmap_vma' has been unused since
> commit aac6db75a9fc ("vfio/pci: Use unmap_mapping_range()")
> 
> Remove it.
> 
> Signed-off-by: Dr. David Alan Gilbert <linux@treblig.org>

Reviewed-by: Kevin Tian <kevin.tian@intel.com>

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

* Re: [PATCH] vfio/pci: Remove unused struct 'vfio_pci_mmap_vma'
  2024-07-27 16:03 [PATCH] vfio/pci: Remove unused struct 'vfio_pci_mmap_vma' linux
  2024-07-30 13:14 ` Jason Gunthorpe
  2024-07-31  5:55 ` Tian, Kevin
@ 2024-09-03 18:46 ` Alex Williamson
  2 siblings, 0 replies; 4+ messages in thread
From: Alex Williamson @ 2024-09-03 18:46 UTC (permalink / raw)
  To: linux; +Cc: kvm, linux-kernel

On Sat, 27 Jul 2024 17:03:06 +0100
linux@treblig.org wrote:

> From: "Dr. David Alan Gilbert" <linux@treblig.org>
> 
> 'vfio_pci_mmap_vma' has been unused since
> commit aac6db75a9fc ("vfio/pci: Use unmap_mapping_range()")
> 
> Remove it.
> 
> Signed-off-by: Dr. David Alan Gilbert <linux@treblig.org>
> ---
>  drivers/vfio/pci/vfio_pci_core.c | 5 -----
>  1 file changed, 5 deletions(-)
> 
> diff --git a/drivers/vfio/pci/vfio_pci_core.c b/drivers/vfio/pci/vfio_pci_core.c
> index ba0ce0075b2f..2127b82d301a 100644
> --- a/drivers/vfio/pci/vfio_pci_core.c
> +++ b/drivers/vfio/pci/vfio_pci_core.c
> @@ -57,11 +57,6 @@ struct vfio_pci_vf_token {
>  	int			users;
>  };
>  
> -struct vfio_pci_mmap_vma {
> -	struct vm_area_struct	*vma;
> -	struct list_head	vma_next;
> -};
> -
>  static inline bool vfio_vga_disabled(void)
>  {
>  #ifdef CONFIG_VFIO_PCI_VGA

Applied to vfio next branch for v6.12.  Thanks!

Alex


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

end of thread, other threads:[~2024-09-03 18:46 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-07-27 16:03 [PATCH] vfio/pci: Remove unused struct 'vfio_pci_mmap_vma' linux
2024-07-30 13:14 ` Jason Gunthorpe
2024-07-31  5:55 ` Tian, Kevin
2024-09-03 18:46 ` Alex Williamson

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