summaryrefslogtreecommitdiffstats
path: root/fs/cifs/connect.c
diff options
context:
space:
mode:
authorOded Gabbay2019-08-08 14:45:58 +0200
committerOded Gabbay2019-08-12 08:01:10 +0200
commitb9040c99414ba5b85090595a61abc686a5dbb388 (patch)
tree9f54aa00eb5b48078e8edd906d8e46438bf8e357 /fs/cifs/connect.c
parenthabanalabs: fix completion queue handling when host is BE (diff)
downloadkernel-qcow2-linux-b9040c99414ba5b85090595a61abc686a5dbb388.tar.gz
kernel-qcow2-linux-b9040c99414ba5b85090595a61abc686a5dbb388.tar.xz
kernel-qcow2-linux-b9040c99414ba5b85090595a61abc686a5dbb388.zip
habanalabs: fix endianness handling for internal QMAN submission
The PQs of internal H/W queues (QMANs) can be located in different memory areas for different ASICs. Therefore, when writing PQEs, we need to use the correct function according to the location of the PQ. e.g. if the PQ is located in the device's memory (SRAM or DRAM), we need to use memcpy_toio() so it would work in architectures that have separate address ranges for IO memory. This patch makes the code that writes the PQE to be ASIC-specific so we can handle this properly per ASIC. Signed-off-by: Oded Gabbay <oded.gabbay@gmail.com> Tested-by: Ben Segal <bpsegal20@gmail.com>
Diffstat (limited to 'fs/cifs/connect.c')
0 files changed, 0 insertions, 0 deletions