diff options
| author | Oded Gabbay <oded.gabbay@gmail.com> | 2020-09-23 15:06:52 +0300 |
|---|---|---|
| committer | Oded Gabbay <oded.gabbay@gmail.com> | 2020-09-25 14:44:20 +0300 |
| commit | 9e2e8fc7d65c9c2b58a4bf5b6c62a6fbb3762d05 (patch) | |
| tree | 4d761242e909959d50c897d96a91f3a1ded55cb7 /tools/lib/python | |
| parent | fc6121e961cba2e4790493f656b7066e250f9521 (diff) | |
| download | linux-9e2e8fc7d65c9c2b58a4bf5b6c62a6fbb3762d05.tar.gz linux-9e2e8fc7d65c9c2b58a4bf5b6c62a6fbb3762d05.zip | |
habanalabs: release kernel context after hw_fini
Some engines use resources that belong to the kernel context (e.g. MMU
mappings). In case the halt-engines doesn't work properly due to H/W
restriction, we need to make sure the kernel context lives on until after
the hw_fini. The hw_fini resets the ASIC after that no engine is alive and
we can safely close the kernel context.
Reviewed-by: Tomer Tayar <ttayar@habana.ai>
Signed-off-by: Oded Gabbay <oded.gabbay@gmail.com>
Diffstat (limited to 'tools/lib/python')
0 files changed, 0 insertions, 0 deletions
