summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorRosen Penev <rosenp@gmail.com>2026-09-10 12:43:24 -0700
committerVinod Koul <vkoul@kernel.org>2026-09-15 21:59:50 +0530
commit8b641810905cba4eb200d72adde386bca380c0df (patch)
tree3a0c46b913a1a5dd029a30b63d0b76681aacd718 /tools/perf/scripts/python
parentbcb4d469b19d53dc21e4a1da12d4438e7489e150 (diff)
downloadlinux-next-8b641810905cba4eb200d72adde386bca380c0df.tar.gz
linux-next-8b641810905cba4eb200d72adde386bca380c0df.zip
dmaengine: fsl_raid: byte-swap cdb32 when programming CDBs
The three prep functions write the first word of the command descriptor block (cdb32) with a plain u32 assignment, while every other CDB/CF descriptor field is written with cpu_to_be32(). The RAID Engine expects big-endian descriptors, so the plain assignment produces a corrupted CDB on little-endian hosts. Use cpu_to_be32() for cdb32 to match the surrounding code. Assisted-by: opencode:big-pickle Signed-off-by: Rosen Penev <rosenp@gmail.com> Reviewed-by: Frank Li <Frank.Li@nxp.com> Link: https://patch.msgid.link/20260910194324.33697-1-rosenp@gmail.com Signed-off-by: Vinod Koul <vkoul@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions