summaryrefslogtreecommitdiff
path: root/tools/usb
diff options
context:
space:
mode:
authorAndrew Jones <ajones@ventanamicro.com>2024-03-22 16:47:28 +0300
committerPalmer Dabbelt <palmer@rivosinc.com>2024-04-26 20:21:56 +0300
commit49408400d683ae4f41e414dfcb615166cc93be5c (patch)
tree0207f9fcdcaafebd27c246aeb194d088b3351f73 /tools/usb
parent9c49085d69ec8ca4eea254d0f426676232549f84 (diff)
downloadlinux-49408400d683ae4f41e414dfcb615166cc93be5c.tar.xz
RISC-V: selftests: cbo: Ensure asm operands match constraints, take 2
Commit 0de65288d75f ("RISC-V: selftests: cbo: Ensure asm operands match constraints") attempted to ensure MK_CBO() would always provide to a compile-time constant when given a constant, but cpu_to_le32() isn't necessarily going to do that. Switch to manually shifting the bytes, when needed, to finally get this right. Reported-by: Woodrow Shen <woodrow.shen@sifive.com> Closes: https://lore.kernel.org/all/CABquHATcBTUwfLpd9sPObBgNobqQKEAZ2yxk+TWSpyO5xvpXpg@mail.gmail.com/ Fixes: a29e2a48afe3 ("RISC-V: selftests: Add CBO tests") Fixes: 0de65288d75f ("RISC-V: selftests: cbo: Ensure asm operands match constraints") Signed-off-by: Andrew Jones <ajones@ventanamicro.com> Link: https://lore.kernel.org/r/20240322134728.151255-2-ajones@ventanamicro.com Signed-off-by: Palmer Dabbelt <palmer@rivosinc.com>
Diffstat (limited to 'tools/usb')
0 files changed, 0 insertions, 0 deletions