Patch "selftests/bpf: Define SYS_NANOSLEEP_KPROBE_NAME for riscv" has been added to the 6.6-stable tree

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



This is a note to let you know that I've just added the patch titled

    selftests/bpf: Define SYS_NANOSLEEP_KPROBE_NAME for riscv

to the 6.6-stable tree which can be found at:
    http://www.kernel.org/git/?p=linux/kernel/git/stable/stable-queue.git;a=summary

The filename of the patch is:
     selftests-bpf-define-sys_nanosleep_kprobe_name-for-r.patch
and it can be found in the queue-6.6 subdirectory.

If you, or anyone else, feels it should not be added to the stable tree,
please let <stable@xxxxxxxxxxxxxxx> know about it.



commit d83f4c055a580bb1714ab146e6bbb2ca9ca55fa5
Author: Björn Töpel <bjorn@xxxxxxxxxxxx>
Date:   Wed Oct 4 13:09:05 2023 +0200

    selftests/bpf: Define SYS_NANOSLEEP_KPROBE_NAME for riscv
    
    [ Upstream commit b55b775f03166b8da60af80ef33da8bf83ca96c1 ]
    
    Add missing sys_nanosleep name for RISC-V, which is used by some tests
    (e.g. attach_probe).
    
    Fixes: 08d0ce30e0e4 ("riscv: Implement syscall wrappers")
    Signed-off-by: Björn Töpel <bjorn@xxxxxxxxxxxx>
    Signed-off-by: Andrii Nakryiko <andrii@xxxxxxxxxx>
    Reviewed-by: Sami Tolvanen <samitolvanen@xxxxxxxxxx>
    Link: https://lore.kernel.org/bpf/20231004110905.49024-4-bjorn@xxxxxxxxxx
    Signed-off-by: Sasha Levin <sashal@xxxxxxxxxx>

diff --git a/tools/testing/selftests/bpf/test_progs.h b/tools/testing/selftests/bpf/test_progs.h
index 77bd492c60248..2f9f6f250f171 100644
--- a/tools/testing/selftests/bpf/test_progs.h
+++ b/tools/testing/selftests/bpf/test_progs.h
@@ -417,6 +417,8 @@ int get_bpf_max_tramp_links(void);
 #define SYS_NANOSLEEP_KPROBE_NAME "__s390x_sys_nanosleep"
 #elif defined(__aarch64__)
 #define SYS_NANOSLEEP_KPROBE_NAME "__arm64_sys_nanosleep"
+#elif defined(__riscv)
+#define SYS_NANOSLEEP_KPROBE_NAME "__riscv_sys_nanosleep"
 #else
 #define SYS_NANOSLEEP_KPROBE_NAME "sys_nanosleep"
 #endif



[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux