commit | cb6ef0ee6d760281cc0b50711564415f39328bfb | [log] [tgz] |
---|---|---|
author | Ohad Sharabi <osharabi@habana.ai> | Thu Nov 26 09:39:26 2020 +0200 |
committer | Oded Gabbay <ogabbay@kernel.org> | Wed Jan 27 21:03:48 2021 +0200 |
tree | 7aca7f01be34c459044f443b89e9c790c8874162 | |
parent | 4c998836d413d8e4ca8749f876b75a74a6fb4c5d [diff] |
habanalabs: refactor MMU locks code remove mmu_cache_lock as it protects a section which is already protected by mmu_lock. in addition, wrap mmu cache invalidate calls in hl_vm_ctx_fini with mmu_lock. Signed-off-by: Ohad Sharabi <osharabi@habana.ai> Reviewed-by: Oded Gabbay <ogabbay@kernel.org> Signed-off-by: Oded Gabbay <ogabbay@kernel.org>