]> git.proxmox.com Git - mirror_ubuntu-jammy-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)
commit8e39e75a134f4cebc6503f21ba6e51c0cf434497
tree9b51cbd70ffe11f013dc5a8475520228fbd0fcd2
parentcb6ef0ee6d760281cc0b50711564415f39328bfb
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