Lines Matching refs:sbiret_report_error
134 sbiret_report_error(&ret, SBI_SUCCESS, "Get event status"); in sse_get_event_status_field()
163 if (sbiret_report_error(&ret, SBI_SUCCESS, "Set preferred hart")) in sse_global_event_set_current_hart()
213 sbiret_report_error(&ret, expected_error, "Read %s error", str); in sse_read_write_test()
216 sbiret_report_error(&ret, expected_error, "Write %s error", str); in sse_read_write_test()
235 sbiret_report_error(&ret, SBI_ERR_DENIED, "RO attribute %s not writable", in sse_test_attrs()
240 sbiret_report_error(&ret, SBI_SUCCESS, "Read multiple attributes"); in sse_test_attrs()
246 sbiret_report_error(&ret, SBI_SUCCESS, "Read single attribute %s", attr_name); in sse_test_attrs()
267 sbiret_report_error(&ret, SBI_ERR_INVALID_PARAM, "Write invalid prio > 0xFFFFFFFF error"); in sse_test_attrs()
272 sbiret_report_error(&ret, SBI_ERR_INVALID_PARAM, "Write invalid config value error"); in sse_test_attrs()
282 sbiret_report_error(&ret, SBI_ERR_INVALID_PARAM, "Set invalid hart id error"); in sse_test_attrs()
287 sbiret_report_error(&ret, SBI_ERR_DENIED, in sse_test_attrs()
295 sbiret_report_error(&ret, SBI_SUCCESS, "Get interrupted %s", attr_name); in sse_test_attrs()
299 sbiret_report_error(&ret, SBI_ERR_INVALID_STATE, in sse_test_attrs()
324 sbiret_report_error(&ret, SBI_ERR_INVALID_STATE, "unregister non-registered event"); in sse_test_register_error()
327 sbiret_report_error(&ret, SBI_ERR_INVALID_PARAM, "register misaligned entry"); in sse_test_register_error()
330 sbiret_report_error(&ret, SBI_SUCCESS, "register"); in sse_test_register_error()
335 sbiret_report_error(&ret, SBI_ERR_INVALID_STATE, "register used event failure"); in sse_test_register_error()
338 sbiret_report_error(&ret, SBI_SUCCESS, "unregister"); in sse_test_register_error()
380 sbiret_report_error(&ret, SBI_SUCCESS, "Write %s, event 0x%lx attr 0x%lx, attr count 0x%lx", in test_alias()
388 sbiret_report_error(&ret, SBI_SUCCESS, in test_alias()
430 sbiret_report_error(&ret, SBI_SUCCESS, "Save full interrupted state from handler"); in sse_simple_handler()
435 sbiret_report_error(&ret, SBI_SUCCESS, in sse_simple_handler()
440 sbiret_report_error(&ret, SBI_SUCCESS, "Read full modified state from handler"); in sse_simple_handler()
452 sbiret_report_error(&ret, SBI_SUCCESS, "Full interrupted state restore from handler"); in sse_simple_handler()
463 sbiret_report_error(&ret, SBI_SUCCESS, "Get attr %s", attr_name); in sse_simple_handler()
467 sbiret_report_error(&ret, SBI_SUCCESS, "Set attr %s", attr_name); in sse_simple_handler()
470 sbiret_report_error(&ret, SBI_SUCCESS, "Get attr %s", attr_name); in sse_simple_handler()
474 sbiret_report_error(&ret, SBI_SUCCESS, "Restore attr %s value", attr_name); in sse_simple_handler()
480 sbiret_report_error(&ret, SBI_SUCCESS, "Save interrupted flags"); in sse_simple_handler()
485 sbiret_report_error(&ret, SBI_SUCCESS, in sse_simple_handler()
488 sbiret_report_error(&ret, SBI_SUCCESS, "Get interrupted flags after set"); in sse_simple_handler()
495 sbiret_report_error(&ret, SBI_ERR_INVALID_PARAM, "Set invalid flags bit 0x%lx value error", in sse_simple_handler()
501 sbiret_report_error(&ret, SBI_ERR_INVALID_PARAM, "Set invalid flags bit 0x%lx value error", in sse_simple_handler()
506 sbiret_report_error(&ret, SBI_SUCCESS, "Restore interrupted flags"); in sse_simple_handler()
512 sbiret_report_error(&ret, SBI_ERR_INVALID_STATE, "Set hart id while running error"); in sse_simple_handler()
517 sbiret_report_error(&ret, SBI_ERR_INVALID_STATE, "Set priority while running error"); in sse_simple_handler()
548 if (!sbiret_report_error(&ret, SBI_SUCCESS, "register")) in sse_test_inject_simple()
564 if (!sbiret_report_error(&ret, SBI_SUCCESS, "enable")) in sse_test_inject_simple()
572 if (!sbiret_report_error(&ret, SBI_SUCCESS, "hart mask")) in sse_test_inject_simple()
576 if (!sbiret_report_error(&ret, SBI_SUCCESS, "injection masked")) { in sse_test_inject_simple()
589 if (!sbiret_report_error(&ret, SBI_SUCCESS, "hart unmask")) in sse_test_inject_simple()
598 if (!sbiret_report_error(&ret, SBI_SUCCESS, "Disable event")) { in sse_test_inject_simple()
606 if (!sbiret_report_error(&ret, SBI_SUCCESS, "Set event attribute as ONESHOT")) in sse_test_inject_simple()
610 if (!sbiret_report_error(&ret, SBI_SUCCESS, "Enable event")) in sse_test_inject_simple()
615 if (!sbiret_report_error(&ret, SBI_SUCCESS, "second injection")) in sse_test_inject_simple()
628 if (!sbiret_report_error(&ret, SBI_SUCCESS, "Clear CONFIG.ONESHOT flag")) in sse_test_inject_simple()
632 if (!sbiret_report_error(&ret, SBI_SUCCESS, "unregister")) in sse_test_inject_simple()
643 sbiret_report_error(&ret, SBI_SUCCESS, "disable event 0x%x", event_id); in sse_test_inject_simple()
649 sbiret_report_error(&ret, SBI_SUCCESS, "unregister event 0x%x", event_id); in sse_test_inject_simple()
827 if (!sbiret_report_error(&ret, SBI_SUCCESS, "Set preferred hart")) in sse_test_inject_global_cpu()
831 if (!sbiret_report_error(&ret, SBI_SUCCESS, "Enable event")) in sse_test_inject_global_cpu()
835 if (!sbiret_report_error(&ret, SBI_SUCCESS, "Inject event")) in sse_test_inject_global_cpu()
862 sbiret_report_error(&ret, SBI_SUCCESS, "Disable event"); in sse_test_inject_global_cpu()
879 if (!sbiret_report_error(&ret, SBI_SUCCESS, "Register event")) in sse_test_inject_global()
886 sbiret_report_error(&ret, SBI_SUCCESS, "Unregister event"); in sse_test_inject_global()
994 sbiret_report_error(&ret, SBI_SUCCESS, "register event %s", in sse_test_injection_priority_arg()
1003 sbiret_report_error(&ret, SBI_SUCCESS, "set event %s priority", in sse_test_injection_priority_arg()
1009 sbiret_report_error(&ret, SBI_SUCCESS, "enable event %s", in sse_test_injection_priority_arg()
1018 sbiret_report_error(&ret, SBI_SUCCESS, "injection"); in sse_test_injection_priority_arg()
1036 sbiret_report_error(&ret, SBI_SUCCESS, "disable event 0x%x", in sse_test_injection_priority_arg()
1043 sbiret_report_error(&ret, SBI_SUCCESS, "unregister event 0x%x", in sse_test_injection_priority_arg()
1125 sbiret_report_error(&ret, SBI_ERR_INVALID_PARAM, in test_invalid_event_id()
1129 sbiret_report_error(&ret, SBI_ERR_INVALID_PARAM, in test_invalid_event_id()
1133 sbiret_report_error(&ret, SBI_ERR_INVALID_PARAM, in test_invalid_event_id()
1137 sbiret_report_error(&ret, SBI_ERR_INVALID_PARAM, in test_invalid_event_id()
1141 sbiret_report_error(&ret, SBI_ERR_INVALID_PARAM, in test_invalid_event_id()
1145 sbiret_report_error(&ret, SBI_ERR_INVALID_PARAM, in test_invalid_event_id()
1149 sbiret_report_error(&ret, SBI_ERR_INVALID_PARAM, in test_invalid_event_id()
1195 sbiret_report_error(&ret, SBI_ERR_ALREADY_STOPPED, "hart mask at boot time"); in sse_check_mask()
1198 sbiret_report_error(&ret, SBI_SUCCESS, "hart unmask"); in sse_check_mask()
1200 sbiret_report_error(&ret, SBI_ERR_ALREADY_STARTED, "hart unmask twice error"); in sse_check_mask()
1203 sbiret_report_error(&ret, SBI_SUCCESS, "hart mask"); in sse_check_mask()
1205 sbiret_report_error(&ret, SBI_ERR_ALREADY_STOPPED, "hart mask twice"); in sse_check_mask()