]> git.baikalelectronics.ru Git - kernel.git/commit
habanalabs: Init the VM module for kernel context
authorOfir Bitton <obitton@habana.ai>
Thu, 12 Nov 2020 09:03:32 +0000 (11:03 +0200)
committerOded Gabbay <ogabbay@kernel.org>
Wed, 27 Jan 2021 19:03:48 +0000 (21:03 +0200)
commitac9b6c07206bce9c27c8aadc7078c3c6f27400d7
tree9b51cbd70ffe11f013dc5a8475520228fbd0fcd2
parent27ecd1bb7c53e566d01ac5bb27edb192db772aaf
habanalabs: Init the VM module for kernel context

In order for reserving VA ranges for kernel memory, we need
to allow the VM module to be initiated with kernel context.

Signed-off-by: Ofir Bitton <obitton@habana.ai>
Reviewed-by: Oded Gabbay <ogabbay@kernel.org>
Signed-off-by: Oded Gabbay <ogabbay@kernel.org>
drivers/misc/habanalabs/common/context.c
drivers/misc/habanalabs/common/device.c
drivers/misc/habanalabs/common/memory.c
drivers/misc/habanalabs/gaudi/gaudi.c