aboutsummaryrefslogtreecommitdiffstats
path: root/lib/crypto/mpi/mpi-cmp.c
diff options
context:
space:
mode:
authorHan Gao <[email protected]>2025-05-23 10:25:56 +0000
committerPalmer Dabbelt <[email protected]>2025-06-12 19:13:47 +0000
commit4262bd0d9cc704ea1365ac00afc1272400c2cbef (patch)
tree0781b17f2aa61e06c12645413deab8fd11a4c366 /lib/crypto/mpi/mpi-cmp.c
parentLinux 6.16-rc1 (diff)
downloadkernel-4262bd0d9cc704ea1365ac00afc1272400c2cbef.tar.gz
kernel-4262bd0d9cc704ea1365ac00afc1272400c2cbef.zip
riscv: vector: Fix context save/restore with xtheadvector
Previously only v0-v7 were correctly saved/restored, and the context of v8-v31 are damanged. Correctly save/restore v8-v31 to avoid breaking userspace. Fixes: d863910eabaf ("riscv: vector: Support xtheadvector save/restore") Cc: [email protected] Signed-off-by: Han Gao <[email protected]> Tested-by: Xiongchuan Tan <[email protected]> Reviewed-by: Charlie Jenkins <[email protected]> Reviewed-by: Yanteng Si <[email protected]> Reviewed-by: Andy Chiu <[email protected]> Link: https://lore.kernel.org/r/9b9eb2337f3d5336ce813721f8ebea51e0b2b553.1747994822.git.rabenda.cn@gmail.com Signed-off-by: Alexandre Ghiti <[email protected]> Signed-off-by: Palmer Dabbelt <[email protected]>
Diffstat (limited to 'lib/crypto/mpi/mpi-cmp.c')
0 files changed, 0 insertions, 0 deletions