aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/exported-sql-viewer.py
diff options
context:
space:
mode:
authorBen Segal <[email protected]>2019-07-23 08:22:42 +0000
committerOded Gabbay <[email protected]>2019-07-29 08:40:25 +0000
commit75035fe22b808a520e1d712ebe913684ba406e01 (patch)
tree8b9668c0e0b03d24daebb6f81ff72ba83c3fc879 /tools/perf/scripts/python/exported-sql-viewer.py
parentLinux 5.3-rc2 (diff)
downloadkernel-75035fe22b808a520e1d712ebe913684ba406e01.tar.gz
kernel-75035fe22b808a520e1d712ebe913684ba406e01.zip
habanalabs: fix F/W download in BE architecture
writeX macros might perform byte-swapping in BE architectures. As our F/W is in LE format, we need to make sure no byte-swapping will occur. There is a standard kernel function (called memcpy_toio) for copying data to I/O area which is used in a lot of drivers to download F/W to PCIe adapters. That function also makes sure the data is copied "as-is", without byte-swapping. This patch use that function to copy the F/W to the GOYA ASIC instead of writeX macros. Signed-off-by: Ben Segal <[email protected]> Reviewed-by: Oded Gabbay <[email protected]> Signed-off-by: Oded Gabbay <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions