habanalabs: reject host map with mmu disabled
authorOded Gabbay <ogabbay@kernel.org>
Tue, 18 Jan 2022 10:16:53 +0000 (12:16 +0200)
committerOded Gabbay <ogabbay@kernel.org>
Mon, 28 Feb 2022 12:22:03 +0000 (14:22 +0200)
commit9a79e3e4a3637c07352d9723b825490a1b04391f
tree4cc4d9100e1604d080b419a74e099fb14324e2a5
parentaa3766def7506e5d9bd6c8387dcfe3629eb2a1f2
habanalabs: reject host map with mmu disabled

This is not something we can do a workaround. It is clearly an error
and we should notify the user that it is an error.

Signed-off-by: Oded Gabbay <ogabbay@kernel.org>
drivers/misc/habanalabs/common/memory.c