]> git.proxmox.com Git - mirror_ubuntu-jammy-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)
commit00ce06539c068929f239dd1b338267b3403e8b93
tree693d32759d1e8782ffdd540eaad8f5876a622a8c
parent429d77ca2760e0f42523fda72db59861c1b3aefc
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