]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
habanalabs: change CB's ID to be 64 bits
authorOded Gabbay <oded.gabbay@gmail.com>
Wed, 12 Aug 2020 07:11:20 +0000 (10:11 +0300)
committerOded Gabbay <oded.gabbay@gmail.com>
Tue, 22 Sep 2020 15:49:49 +0000 (18:49 +0300)
commitf5b9c8cf25a562b73c80cd4bb252ccb398259056
tree19589b15bd7d22af55557a68a5ae3e8d40333ed9
parentd6b045c083842d86a749357210c3006a36e3b66f
habanalabs: change CB's ID to be 64 bits

Although the possible values for CB's ID are only 32 bits, there are a few
places in the code where this field is shifted and passed into a function
which expects 64 bits.

Reported-by: kernel test robot <lkp@intel.com>
Reviewed-by: Tomer Tayar <ttayar@habana.ai>
Signed-off-by: Oded Gabbay <oded.gabbay@gmail.com>
drivers/misc/habanalabs/common/command_buffer.c
drivers/misc/habanalabs/common/debugfs.c
drivers/misc/habanalabs/common/habanalabs.h