commit | 8d45f1de3994c566cb5ce9b3cb07ff1518e68ddb | [log] [tgz] |
---|---|---|
author | Tomer Tayar <ttayar@habana.ai> | Mon May 13 12:13:39 2019 +0300 |
committer | Oded Gabbay <oded.gabbay@gmail.com> | Fri May 24 22:46:15 2019 +0300 |
tree | 8ef3ac8eb6677351981105bfd23ccea9a7c928fc | |
parent | 8438846cce61e284a22316c13aa4b63772963070 [diff] |
habanalabs: Avoid using a non-initialized MMU cache mutex The MMU cache mutex is used in the ASIC hw_init() functions, but it is initialized only later in hl_mmu_init(). This patch prevents it by moving the initialization to the device_early_init() function. Signed-off-by: Tomer Tayar <ttayar@habana.ai> Signed-off-by: Oded Gabbay <oded.gabbay@gmail.com>