diff options
author | Clément Léger <cleger@rivosinc.com> | 2023-12-06 14:44:37 +0100 |
---|---|---|
committer | Palmer Dabbelt <palmer@rivosinc.com> | 2024-04-25 18:46:41 +0200 |
commit | 17c67ed752d6a456602b3dbb25c5ae4d3de5deab (patch) | |
tree | c97d5e9bb66be1b46e3e486209968f2e2657e6d5 /sound/x86 | |
parent | riscv: hwprobe: fix invalid sign extension for RISCV_HWPROBE_EXT_ZVFHMIN (diff) | |
download | linux-17c67ed752d6a456602b3dbb25c5ae4d3de5deab.tar.xz linux-17c67ed752d6a456602b3dbb25c5ae4d3de5deab.zip |
selftests: sud_test: return correct emulated syscall value on RISC-V
Currently, the sud_test expects the emulated syscall to return the
emulated syscall number. This assumption only works on architectures
were the syscall calling convention use the same register for syscall
number/syscall return value. This is not the case for RISC-V and thus
the return value must be also emulated using the provided ucontext.
Signed-off-by: Clément Léger <cleger@rivosinc.com>
Reviewed-by: Palmer Dabbelt <palmer@rivosinc.com>
Acked-by: Palmer Dabbelt <palmer@rivosinc.com>
Link: https://lore.kernel.org/r/20231206134438.473166-1-cleger@rivosinc.com
Signed-off-by: Palmer Dabbelt <palmer@rivosinc.com>
Diffstat (limited to 'sound/x86')
0 files changed, 0 insertions, 0 deletions