habanalabs: kill user process after CS rollback
authorOded Gabbay <oded.gabbay@gmail.com>
Mon, 22 Jul 2019 14:37:22 +0000 (17:37 +0300)
committerOded Gabbay <oded.gabbay@gmail.com>
Thu, 5 Sep 2019 11:55:26 +0000 (14:55 +0300)
commit4aecb05e526a421bff2bf4feeda7687efa74333e
tree4763ac5101cc545ed9e9ef5ed240b9a2853d7f67
parentb888751a02e7b2bfa4c9660bd8c5af0ef886aeef
habanalabs: kill user process after CS rollback

This patch calls the kill user process function after we rollback the
in-flight CSs. This is because the user process can't be closed while
there are open CSs. Therefore, there is no point of sending it a SIGKILL
before we do the rollback CS part.

Signed-off-by: Oded Gabbay <oded.gabbay@gmail.com>
Reviewed-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/misc/habanalabs/device.c