linux/drivers/misc/habanalabs
Moti Haimovski fe2bc2d249 habanalabs: share a single ctx-mutex between all MMUs
Multiple locks are usually a source of problems, which in the MMU
case can be avoided since it is relatively rare that both MMU
tables are updated at the same time.

Therefore, use a single shared lock instead of two separate ones.

Signed-off-by: Moti Haimovski <mhaimovski@habana.ai>
Reviewed-by: Oded Gabbay <ogabbay@kernel.org>
Signed-off-by: Oded Gabbay <ogabbay@kernel.org>
2020-11-30 10:47:35 +02:00
..
common habanalabs: share a single ctx-mutex between all MMUs 2020-11-30 10:47:35 +02:00
gaudi habanalabs: support reserving aligned va block 2020-11-30 10:47:35 +02:00
goya habanalabs: fetch hard reset capability from FW 2020-11-30 10:47:34 +02:00
include habanalabs/gaudi: fetch HBM ecc info from FW 2020-11-30 10:47:34 +02:00
Kconfig habanalabs: no need for DMA_SHARED_BUFFER 2020-09-22 18:49:53 +03:00
Makefile habanalabs: create common folder 2020-07-24 20:31:37 +03:00