Commit 2ca05cc7 authored by Oded Gabbay's avatar Oded Gabbay Committed by Zheng Zengkai
Browse files

habanalabs: fix backward compatibility of idle check



stable inclusion
from stable-5.10.14
commit 90981a2171b9fdb6d20046f7ce3d70f8c460e53e
bugzilla: 48051

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

[ Upstream commit f8abaf37 ]

Need to take the lower 32 bits of the driver's 64-bit idle mask and put
it in the legacy 32-bit variable that the userspace reads to know the
idle mask.

Signed-off-by: default avatarOded Gabbay <ogabbay@kernel.org>
Signed-off-by: default avatarSasha Levin <sashal@kernel.org>
Signed-off-by: default avatarZheng Zengkai <zhengzengkai@huawei.com>
Acked-by: default avatarXie XiuQi <xiexiuqi@huawei.com>
parent d92aabe2
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment