kvm.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PULL 0/1] vfio-ccw: bugfix
@ 2019-06-12 10:16 Cornelia Huck
  2019-06-12 10:16 ` [PULL 1/1] vfio-ccw: Destroy kmem cache region on module exit Cornelia Huck
  0 siblings, 1 reply; 5+ messages in thread
From: Cornelia Huck @ 2019-06-12 10:16 UTC (permalink / raw)
  To: Heiko Carstens, Vasily Gorbik, Christian Borntraeger
  Cc: Farhan Ali, Eric Farman, Halil Pasic, linux-s390, kvm, Cornelia Huck

The following changes since commit 753469a23b42d0c4a2b28de35826af74a4d554ab:

  Merge tag 'vfio-ccw-20190603' of https://git.kernel.org/pub/scm/linux/kernel/git/kvms390/vfio-ccw into features (2019-06-04 15:04:53 +0200)

are available in the Git repository at:

  https://git.kernel.org/pub/scm/linux/kernel/git/kvms390/vfio-ccw.git tags/vfio-ccw-20190612

for you to fetch changes up to 5398331c8c218cc9298fe95380b8b87a3a62defa:

  vfio-ccw: Destroy kmem cache region on module exit (2019-06-04 17:32:01 +0200)

----------------------------------------------------------------
Fix a memory leak on exit.

----------------------------------------------------------------

Farhan Ali (1):
  vfio-ccw: Destroy kmem cache region on module exit

 drivers/s390/cio/vfio_ccw_drv.c | 1 +
 1 file changed, 1 insertion(+)

-- 
2.20.1


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

* [PULL 1/1] vfio-ccw: Destroy kmem cache region on module exit
  2019-06-12 10:16 [PULL 0/1] vfio-ccw: bugfix Cornelia Huck
@ 2019-06-12 10:16 ` Cornelia Huck
  2019-06-13 13:58   ` Heiko Carstens
  0 siblings, 1 reply; 5+ messages in thread
From: Cornelia Huck @ 2019-06-12 10:16 UTC (permalink / raw)
  To: Heiko Carstens, Vasily Gorbik, Christian Borntraeger
  Cc: Farhan Ali, Eric Farman, Halil Pasic, linux-s390, kvm, Cornelia Huck

From: Farhan Ali <alifm@linux.ibm.com>

Free the vfio_ccw_cmd_region on module exit.

Fixes: d5afd5d135c8 ("vfio-ccw: add handling for async channel instructions")
Signed-off-by: Farhan Ali <alifm@linux.ibm.com>
Message-Id: <c0f39039d28af39ea2939391bf005e3495d890fd.1559576250.git.alifm@linux.ibm.com>
Signed-off-by: Cornelia Huck <cohuck@redhat.com>
---
 drivers/s390/cio/vfio_ccw_drv.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/s390/cio/vfio_ccw_drv.c b/drivers/s390/cio/vfio_ccw_drv.c
index 66a66ac1f3d1..9cee9f20d310 100644
--- a/drivers/s390/cio/vfio_ccw_drv.c
+++ b/drivers/s390/cio/vfio_ccw_drv.c
@@ -299,6 +299,7 @@ static void __exit vfio_ccw_sch_exit(void)
 	css_driver_unregister(&vfio_ccw_sch_driver);
 	isc_unregister(VFIO_CCW_ISC);
 	kmem_cache_destroy(vfio_ccw_io_region);
+	kmem_cache_destroy(vfio_ccw_cmd_region);
 	destroy_workqueue(vfio_ccw_work_q);
 }
 module_init(vfio_ccw_sch_init);
-- 
2.20.1


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

* Re: [PULL 1/1] vfio-ccw: Destroy kmem cache region on module exit
  2019-06-12 10:16 ` [PULL 1/1] vfio-ccw: Destroy kmem cache region on module exit Cornelia Huck
@ 2019-06-13 13:58   ` Heiko Carstens
  0 siblings, 0 replies; 5+ messages in thread
From: Heiko Carstens @ 2019-06-13 13:58 UTC (permalink / raw)
  To: Cornelia Huck
  Cc: Vasily Gorbik, Christian Borntraeger, Farhan Ali, Eric Farman,
	Halil Pasic, linux-s390, kvm

On Wed, Jun 12, 2019 at 12:16:45PM +0200, Cornelia Huck wrote:
> From: Farhan Ali <alifm@linux.ibm.com>
> 
> Free the vfio_ccw_cmd_region on module exit.
> 
> Fixes: d5afd5d135c8 ("vfio-ccw: add handling for async channel instructions")
> Signed-off-by: Farhan Ali <alifm@linux.ibm.com>
> Message-Id: <c0f39039d28af39ea2939391bf005e3495d890fd.1559576250.git.alifm@linux.ibm.com>
> Signed-off-by: Cornelia Huck <cohuck@redhat.com>
> ---
>  drivers/s390/cio/vfio_ccw_drv.c | 1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/drivers/s390/cio/vfio_ccw_drv.c b/drivers/s390/cio/vfio_ccw_drv.c
> index 66a66ac1f3d1..9cee9f20d310 100644
> --- a/drivers/s390/cio/vfio_ccw_drv.c
> +++ b/drivers/s390/cio/vfio_ccw_drv.c
> @@ -299,6 +299,7 @@ static void __exit vfio_ccw_sch_exit(void)
>  	css_driver_unregister(&vfio_ccw_sch_driver);
>  	isc_unregister(VFIO_CCW_ISC);
>  	kmem_cache_destroy(vfio_ccw_io_region);
> +	kmem_cache_destroy(vfio_ccw_cmd_region);
>  	destroy_workqueue(vfio_ccw_work_q);

Applied to 'fixes' branch. Thanks!


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

* Re: [PULL 0/1] vfio-ccw: bugfix
  2017-11-09 16:21 [PULL 0/1] vfio-ccw: bugfix Cornelia Huck
@ 2017-11-10 18:15 ` Heiko Carstens
  0 siblings, 0 replies; 5+ messages in thread
From: Heiko Carstens @ 2017-11-10 18:15 UTC (permalink / raw)
  To: Cornelia Huck; +Cc: schwidefsky, bjsdjshi, borntraeger, linux-s390, kvm

On Thu, Nov 09, 2017 at 05:21:19PM +0100, Cornelia Huck wrote:
> The following changes since commit 978fa72e82e375764e6e31e7a721408c5186918f:
> 
>   s390: remove named saved segment support (2017-11-08 09:47:54 +0100)
> 
> are available in the git repository at:
> 
>   git://git.kernel.org/pub/scm/linux/kernel/git/kvms390/vfio-ccw.git tags/vfio-ccw-20171109
> 
> for you to fetch changes up to 408358b50deaf59b07c82a7bff8c7e7cce031fae:
> 
>   s390: vfio-ccw: Do not attempt to free no-op, test and tic cda. (2017-11-08 14:39:53 +0100)
> 
> ----------------------------------------------------------------
> A vfio-ccw bugfix: avoid freeing that which should not be freed.
> 
> ----------------------------------------------------------------
> 
> Jason J. Herne (1):
>   s390: vfio-ccw: Do not attempt to free no-op, test and tic cda.

Pulled into features branch. Thanks!

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

* [PULL 0/1] vfio-ccw: bugfix
@ 2017-11-09 16:21 Cornelia Huck
  2017-11-10 18:15 ` Heiko Carstens
  0 siblings, 1 reply; 5+ messages in thread
From: Cornelia Huck @ 2017-11-09 16:21 UTC (permalink / raw)
  To: schwidefsky; +Cc: bjsdjshi, borntraeger, linux-s390, kvm, Cornelia Huck

The following changes since commit 978fa72e82e375764e6e31e7a721408c5186918f:

  s390: remove named saved segment support (2017-11-08 09:47:54 +0100)

are available in the git repository at:

  git://git.kernel.org/pub/scm/linux/kernel/git/kvms390/vfio-ccw.git tags/vfio-ccw-20171109

for you to fetch changes up to 408358b50deaf59b07c82a7bff8c7e7cce031fae:

  s390: vfio-ccw: Do not attempt to free no-op, test and tic cda. (2017-11-08 14:39:53 +0100)

----------------------------------------------------------------
A vfio-ccw bugfix: avoid freeing that which should not be freed.

----------------------------------------------------------------

Jason J. Herne (1):
  s390: vfio-ccw: Do not attempt to free no-op, test and tic cda.

 drivers/s390/cio/vfio_ccw_cp.c | 2 ++
 1 file changed, 2 insertions(+)

-- 
2.13.6

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

end of thread, other threads:[~2019-06-13 15:09 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-06-12 10:16 [PULL 0/1] vfio-ccw: bugfix Cornelia Huck
2019-06-12 10:16 ` [PULL 1/1] vfio-ccw: Destroy kmem cache region on module exit Cornelia Huck
2019-06-13 13:58   ` Heiko Carstens
  -- strict thread matches above, loose matches on Subject: below --
2017-11-09 16:21 [PULL 0/1] vfio-ccw: bugfix Cornelia Huck
2017-11-10 18:15 ` Heiko Carstens

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