-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
concurrent ta #577
Comments
The Best way forward is probably to switch to GENERIC_BOOT for sun-xi, patches are welcome! As for the kernel panic, I don't know. |
hi,jenswi: when i run my script |
I have the same kind of issue. I am investigating it. |
Could you check with #594 |
#594 has been abandonned. Please test OP-TEE/optee_linuxdriver#37 instead |
thanks so much! i have test it, it's ok now. |
sorry, TEE test application started with device [opteearmtz00] XTEST_TEE_TEST##########[ 7735.919348@0] Unable to handle kernel NULL pointer dereference at virtual address 00000130 |
OP-TEE/optee_linuxdriver#38 may solve it. Could you have a look and test? |
yep, i have test it. thanks so much! |
hi,@pascal-brand-st-dev the log is :
|
hi @pascal-brand-st-dev |
No, I cannot reproduce it.
|
@neil1899 Could you check if you can still reproduce the issue when applying OP-TEE/optee_linuxdriver#39 ? |
ok, i will apply optee_linuxdriver#37 & 38 & 39, then i do the test. and before i apply optee_linuxdriver#37, 38. i run for 12 hours, with issues: |
hi, @pascal-brand-st-dev thanks so much! |
i found out a commit OP-TEE/optee_client@dfb74af |
hi,all
when i run xtest 1013, in order to test concurrent: when i use the commit of:
80c558e
it will cause my test failed,l->curr_thread == -1 failed
because on my platform such as sun-xi, i don't config GENERIC_BOOT.
and when i run my test.sh to test the concurrent stability, it failed. log is
o XTEST_TEE_1013.1 Busy loop with 3 parallel threads
Max concurrency 1
XTEST_TEE_1013.1 OK
o XTEST_TEE_1013.2 Hashing with 3 parallel threads
[39440.278095@1] misc opteearmtz00: Can't find shm for 000000000710d000
[39440.278843@1] BUG: failure at /mnt/fileroot/wei.nie/android-l/vendor/amlogic/tdk-1.0.1/linuxdriver/core/tee_supp_com.c:221/tee_supp_write()!
[39440.291347@1] Kernel panic - not syncing: BUG!
[39440.295713@1] CPU: 1 PID: 3065 Comm: tee-supplicant Tainted: P O 3.14.29-gfd3994a-dirty Update Notice.md #1
[39440.304765@1] Call trace:
[39440.307363@1] [] dump_backtrace+0x0/0x144
[39440.312874@1] [] show_stack+0x1c/0x28
[39440.318050@1] [] dump_stack+0x74/0xb8
[39440.323223@1] [] panic+0xe8/0x20c
[39440.328060@1] [] tee_supp_write+0x1d8/0x218 [optee]
[39440.334438@1] [] vfs_write+0xac/0x198
[39440.339611@1] [] SyS_write+0x50/0xb0
[39440.344700@0] CPU0: stopping
[39440.347547@0] CPU: 0 PID: 0 Comm: swapper/0 Tainted: P O 3.14.29-gfd3994a-dirty Update Notice.md #1
[39440.355910@0] Call trace:
thanks in advance!
The text was updated successfully, but these errors were encountered: