diff options
author | Dani Liberman <dliberman@habana.ai> | 2021-12-08 09:52:03 +0200 |
---|---|---|
committer | Oded Gabbay <ogabbay@kernel.org> | 2021-12-26 08:59:09 +0200 |
commit | 707c1252868d885c47b80613b60bdcb19e133397 (patch) | |
tree | 08e18a1b2fefe2b85dd06fa9ab4ba3de9f4e703f /fs | |
parent | bb099a805104568c8babbf94824507b0d72ba232 (diff) | |
download | linux-707c1252868d885c47b80613b60bdcb19e133397.tar.bz2 |
habanalabs: keep control device alive during hard reset
Need to allow user retrieve data during reset and afterwards without
the need to reopen the device.
Did it by seperating the user peocesses list into two lists:
1. fpriv_list which contains list of user processes that opened
the device (currently only one).
2. fpriv_ctrl_list which contains list of user processes that opened
the control device. This processes in this list shall not be
killed during reset, only when the device is suddenly removed from
PCI chain.
Signed-off-by: Dani Liberman <dliberman@habana.ai>
Reviewed-by: Oded Gabbay <ogabbay@kernel.org>
Signed-off-by: Oded Gabbay <ogabbay@kernel.org>
Diffstat (limited to 'fs')
0 files changed, 0 insertions, 0 deletions