]> git.baikalelectronics.ru Git - kernel.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)
commit66c7dbbdea2a630c85aa29273b8bd08d4d22c08f
tree19589b15bd7d22af55557a68a5ae3e8d40333ed9
parent4b99fc10b7ad5b2c6eff5632dc8817b4e2e6d754
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