/openbmc/linux/tools/testing/selftests/arm64/signal/ |
H A D | test_signals.h | 51 struct tdescr { struct 90 int (*setup)(struct tdescr *td); argument 92 bool (*init)(struct tdescr *td); argument 94 void (*cleanup)(struct tdescr *td); argument 96 int (*trigger)(struct tdescr *td); argument 101 int (*run)(struct tdescr *td, siginfo_t *si, ucontext_t *uc); argument 103 void (*check_result)(struct tdescr *td); argument 106 extern struct tdescr tde;
|
H A D | test_signals_utils.h | 15 int test_init(struct tdescr *td); 16 int test_setup(struct tdescr *td); 17 void test_cleanup(struct tdescr *td); 18 int test_run(struct tdescr *td); 19 void test_result(struct tdescr *td); 21 static inline bool feats_ok(struct tdescr *td) in feats_ok() 60 static __always_inline bool get_current_context(struct tdescr *td, in get_current_context()
|
H A D | test_signals_utils.c | 23 extern struct tdescr *current; 112 static bool handle_signal_trigger(struct tdescr *td, in handle_signal_trigger() 122 static bool handle_signal_ok(struct tdescr *td, in handle_signal_ok() 168 static bool handle_signal_copyctx(struct tdescr *td, in handle_signal_copyctx() 259 static int default_setup(struct tdescr *td) in default_setup() 295 static inline int default_trigger(struct tdescr *td) in default_trigger() 300 int test_init(struct tdescr *td) in test_init() 372 int test_setup(struct tdescr *td) in test_setup() 388 int test_run(struct tdescr *td) in test_run() 398 void test_result(struct tdescr *td) in test_result() [all …]
|
/openbmc/linux/tools/testing/selftests/arm64/signal/testcases/ |
H A D | tpidr2_restore.c | 45 static bool save_tpidr2(struct tdescr *td) in save_tpidr2() 53 static int modify_tpidr2(struct tdescr *td, siginfo_t *si, ucontext_t *uc) in modify_tpidr2() 64 static void check_tpidr2(struct tdescr *td) in check_tpidr2() 77 struct tdescr tde = {
|
H A D | sme_trap_za.c | 15 int sme_trap_za_trigger(struct tdescr *td) in sme_trap_za_trigger() 23 int sme_trap_za_run(struct tdescr *td, siginfo_t *si, ucontext_t *uc) in sme_trap_za_run() 28 struct tdescr tde = {
|
H A D | sme_trap_no_sm.c | 16 int sme_trap_no_sm_trigger(struct tdescr *td) in sme_trap_no_sm_trigger() 24 int sme_trap_no_sm_run(struct tdescr *td, siginfo_t *si, ucontext_t *uc) in sme_trap_no_sm_run() 29 struct tdescr tde = {
|
H A D | sme_trap_non_streaming.c | 16 int sme_trap_non_streaming_trigger(struct tdescr *td) in sme_trap_non_streaming_trigger() 30 int sme_trap_non_streaming_run(struct tdescr *td, siginfo_t *si, ucontext_t *uc) in sme_trap_non_streaming_run() 35 struct tdescr tde = {
|
H A D | sve_regs.c | 23 static bool sve_get_vls(struct tdescr *td) in sve_get_vls() 42 static int do_one_sve_vl(struct tdescr *td, siginfo_t *si, ucontext_t *uc, in do_one_sve_vl() 84 static int sve_regs(struct tdescr *td, siginfo_t *si, ucontext_t *uc) in sve_regs() 98 struct tdescr tde = {
|
H A D | za_no_regs.c | 23 static bool sme_get_vls(struct tdescr *td) in sme_get_vls() 36 static int do_one_sme_vl(struct tdescr *td, siginfo_t *si, ucontext_t *uc, in do_one_sme_vl() 82 static int sme_regs(struct tdescr *td, siginfo_t *si, ucontext_t *uc) in sme_regs() 96 struct tdescr tde = {
|
H A D | ssve_regs.c | 23 static bool sme_get_vls(struct tdescr *td) in sme_get_vls() 42 static int do_one_sme_vl(struct tdescr *td, siginfo_t *si, ucontext_t *uc, in do_one_sme_vl() 91 static int sme_regs(struct tdescr *td, siginfo_t *si, ucontext_t *uc) in sme_regs() 105 struct tdescr tde = {
|
H A D | za_regs.c | 23 static bool sme_get_vls(struct tdescr *td) in sme_get_vls() 44 static int do_one_sme_vl(struct tdescr *td, siginfo_t *si, ucontext_t *uc, in do_one_sme_vl() 97 static int sme_regs(struct tdescr *td, siginfo_t *si, ucontext_t *uc) in sme_regs() 111 struct tdescr tde = {
|
H A D | ssve_za_regs.c | 23 static bool sme_get_vls(struct tdescr *td) in sme_get_vls() 47 static int do_one_sme_vl(struct tdescr *td, siginfo_t *si, ucontext_t *uc, in do_one_sme_vl() 120 static int sme_regs(struct tdescr *td, siginfo_t *si, ucontext_t *uc) in sme_regs() 134 struct tdescr tde = {
|
H A D | sme_vl.c | 19 static bool get_sme_vl(struct tdescr *td) in get_sme_vl() 30 static int sme_vl(struct tdescr *td, siginfo_t *si, ucontext_t *uc) in sme_vl() 61 struct tdescr tde = {
|
H A D | sve_vl.c | 19 static bool get_sve_vl(struct tdescr *td) in get_sve_vl() 30 static int sve_vl(struct tdescr *td, siginfo_t *si, ucontext_t *uc) in sve_vl() 61 struct tdescr tde = {
|
H A D | fake_sigreturn_sve_change_vl.c | 20 static bool sve_get_vls(struct tdescr *td) in sve_get_vls() 33 static int fake_sigreturn_sve_change_vl(struct tdescr *td, in fake_sigreturn_sve_change_vl() 68 struct tdescr tde = {
|
H A D | fake_sigreturn_sme_change_vl.c | 20 static bool sme_get_vls(struct tdescr *td) in sme_get_vls() 33 static int fake_sigreturn_ssve_change_vl(struct tdescr *td, in fake_sigreturn_ssve_change_vl() 68 struct tdescr tde = {
|
H A D | mangle_pstate_invalid_compat_toggle.c | 13 static int mangle_invalid_pstate_run(struct tdescr *td, siginfo_t *si, in mangle_invalid_pstate_run() 24 struct tdescr tde = {
|
H A D | mangle_pstate_invalid_daif_bits.c | 14 static int mangle_invalid_pstate_run(struct tdescr *td, siginfo_t *si, in mangle_invalid_pstate_run() 28 struct tdescr tde = {
|
H A D | fake_sigreturn_misaligned_sp.c | 18 static int fake_sigreturn_misaligned_run(struct tdescr *td, in fake_sigreturn_misaligned_run() 31 struct tdescr tde = {
|
H A D | mangle_pstate_invalid_mode_template.h | 10 static int mangle_invalid_pstate_run(struct tdescr *td, siginfo_t *si, \ 21 struct tdescr tde = { \
|
H A D | zt_no_regs.c | 21 int zt_no_regs_run(struct tdescr *td, siginfo_t *si, ucontext_t *uc) in zt_no_regs_run() 44 struct tdescr tde = {
|
H A D | fake_sigreturn_bad_size_for_magic0.c | 18 static int fake_sigreturn_bad_size_for_magic0_run(struct tdescr *td, in fake_sigreturn_bad_size_for_magic0_run() 40 struct tdescr tde = {
|
H A D | fake_sigreturn_duplicated_fpsimd.c | 18 static int fake_sigreturn_duplicated_fpsimd_run(struct tdescr *td, in fake_sigreturn_duplicated_fpsimd_run() 44 struct tdescr tde = {
|
H A D | fake_sigreturn_bad_magic.c | 18 static int fake_sigreturn_bad_magic_run(struct tdescr *td, in fake_sigreturn_bad_magic_run() 46 struct tdescr tde = {
|
H A D | fake_sigreturn_missing_fpsimd.c | 19 static int fake_sigreturn_missing_fpsimd_run(struct tdescr *td, in fake_sigreturn_missing_fpsimd_run() 44 struct tdescr tde = {
|