[git pull] habanalabs fixes for 5.15-rc4
From: Oded Gabbay
Date: Wed Sep 29 2021 - 05:30:52 EST
Hi Greg,
One important fix for the habanalabs driver for 5.15.
It fixes an issue where we return -EINTR in the IOCTL that waits
on command submission completion, and the user-space will try
to immediately call that IOCTL again with the same
arguments structure it used in the previous call. More details
in the commit itself.
Thanks,
Oded
The following changes since commit bb8a4fcb2136508224c596a7e665bdba1d7c3c27:
ipack: ipoctal: fix module reference leak (2021-09-27 17:38:49 +0200)
are available in the Git repository at:
https://git.kernel.org/pub/scm/linux/kernel/git/ogabbay/linux.git tags/misc-habanalabs-fixes-2021-09-29
for you to fetch changes up to 4ca57d5139a0be3cf76c1667a4c0afb16d4a3b02:
habanalabs: fix resetting args in wait for CS IOCTL (2021-09-29 12:18:48 +0300)
----------------------------------------------------------------
This tag contains the following fix for 5.15-rc4:
- Prevent memset of ioctl arguments in case driver returns -EINTR
----------------------------------------------------------------
Rajaravi Krishna Katta (1):
habanalabs: fix resetting args in wait for CS IOCTL
.../misc/habanalabs/common/command_submission.c | 33 +++++++++++++---------
include/uapi/misc/habanalabs.h | 6 ++--
2 files changed, 21 insertions(+), 18 deletions(-)