Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Panic in interrupt_main_handler #6183

Closed
LeiSen62 opened this issue Jul 18, 2023 · 2 comments
Closed

Panic in interrupt_main_handler #6183

LeiSen62 opened this issue Jul 18, 2023 · 2 comments

Comments

@LeiSen62
Copy link
Contributor

Hi, when I update OPTEE-OS from 3.20.0 to 3.22.0 and run xtest 4005 in the D06 platform, the following error message is displayed:
F/TC:??? 00 trace_syscall:163 syscall #24 (syscall_cryp_obj_get_info)
F/TC:??? 00 trace_syscall:163 syscall #24 (syscall_cryp_obj_get_info)
F/TC:??? 00 trace_syscall:163 syscall #31 (syscall_cryp_obj_copy)
F/TC:??? 00 trace_syscall:163 syscall #24 (syscall_cryp_obj_get_info)
F/TC:??? 00 trace_syscall:163 syscall #28 (syscall_cryp_obj_close)
F/TC:??? 00 trace_syscall:163 syscall #34 (syscall_authenc_init)
F/TC:??? 00 trace_syscall:163 syscall #35 (syscall_authenc_update_aad)
F/TC:??? 00 trace_syscall:163 syscall #35 (syscall_authenc_update_aad)
F/TC:??? 00 trace_syscall:163 syscall #8 (syscall_check_access_rights)
E/TC:116 00 Panic 'Secure interrupt handler not defined' at core/kernel/interrupt.c:142 <interrupt_main_handler>

Other xtest cases are successfully executed. What do I need to do to adapt to version 3.22.0?

@jforissier
Copy link
Contributor

Hello @LeiSen62,

I believe you need to rename your implementation of itr_core_handler() to interrupt_main_handler(), due to this commit: 358bf47.

@LeiSen62
Copy link
Contributor Author

Thanks,I also need to set CFG_GIC=y。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants