summaryrefslogtreecommitdiff
path: root/drivers/misc/dw-xdata-pcie.c
diff options
context:
space:
mode:
authorOhad Sharabi <osharabi@habana.ai>2022-09-14 08:53:29 +0300
committerOded Gabbay <ogabbay@kernel.org>2022-11-23 17:13:43 +0300
commite325d5dbf34500fd42d5847d5b8c4e097f8030af (patch)
treeafefad8f07ccb3637edfdef3efd5000e11405c02 /drivers/misc/dw-xdata-pcie.c
parent24fdfb359cadd222de8ba9d2d6a3f4dfc514878a (diff)
downloadlinux-e325d5dbf34500fd42d5847d5b8c4e097f8030af.tar.xz
habanalabs: allow setting HBM BAR to other regions
Up until now the use-case in the driver was that the HBM is accessed using the HBM BAR, yet the BAR sometimes cannot cover the whole HBM and so we needed to set the BAR to other HBM offset. Now we are facing the need to access other PCI memory regions that can be covered by the HBM BAR. To answer that we are allowing the caller to determine if the HBM BAR need to be set or not regardless of the PCI memory region. Signed-off-by: Ohad Sharabi <osharabi@habana.ai> Reviewed-by: Oded Gabbay <ogabbay@kernel.org> Signed-off-by: Oded Gabbay <ogabbay@kernel.org>
Diffstat (limited to 'drivers/misc/dw-xdata-pcie.c')
0 files changed, 0 insertions, 0 deletions