]> git.baikalelectronics.ru Git - kernel.git/commit
habanalabs: user mappings can be 64-bit
authorOded Gabbay <ogabbay@kernel.org>
Tue, 29 Jun 2021 15:12:46 +0000 (18:12 +0300)
committerOded Gabbay <ogabbay@kernel.org>
Sun, 29 Aug 2021 06:47:45 +0000 (09:47 +0300)
commit2036e96d34566d281c7cf61b2b2fa0f6abcc6fb6
tree693d32759d1e8782ffdd540eaad8f5876a622a8c
parent321b341cb86e7cd32c489a1e3b6c4dca3d6105f0
habanalabs: user mappings can be 64-bit

Increase the size variable in the userptr structure to 64-bit. That
variable describes the size of the memory allocation of the user that
is now being mapped into the device. The mapping can be larger than
4GB, so we need to support it.

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