]> git.ipfire.org Git - thirdparty/linux.git/commit
riscv: Fix the __riscv_copy_vec_words_unaligned implementation
authorTingbo Liao <tingbo.liao@starfivetech.com>
Fri, 28 Feb 2025 09:08:01 +0000 (01:08 -0800)
committerAlexandre Ghiti <alexghiti@rivosinc.com>
Tue, 18 Mar 2025 13:37:27 +0000 (13:37 +0000)
commit475afa39b123699e910c61ad9a51cedce4a0d310
tree74de962fb3fe30978e60b58a302ae57ad46c46e2
parenteb8db421ce83f4acf3ca51e642120f42adea3a7b
riscv: Fix the __riscv_copy_vec_words_unaligned implementation

Correct the VEC_S macro definition to fix the implementation
of vector words copy in the case of unalignment in RISC-V.

Fixes: e7c9d66e313b ("RISC-V: Report vector unaligned access speed hwprobe")
Reviewed-by: Alexandre Ghiti <alexghiti@rivosinc.com>
Signed-off-by: Tingbo Liao <tingbo.liao@starfivetech.com>
Link: https://lore.kernel.org/r/20250228090801.8334-1-tingbo.liao@starfivetech.com
Signed-off-by: Alexandre Ghiti <alexghiti@rivosinc.com>
arch/riscv/kernel/vec-copy-unaligned.S