-
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
Update CHANGELOG for 3.9.0 #3833
Conversation
We still have quite a few PRs pending, but anyway I have tested the master branch at commit f267456 ("libutee: crypto: AE: Explicitly initialize buffer_offs") and all is good:
|
|
@jenswi-linaro, @jforissier, I'm interested about policy regarding features/fixes that are not upstreamed yet. Right now I see 3 fails in xtest:
1027 and 1028 are failing because my kernel does not support REE login feature. And 2002 is failing because of a bug in TEE mediator in Xen. I'll already published the patch, but it is not upstreamed yet. As far as I know, REE login methods are also not in mainline. Anyways, I'm building setup with mentioned patches, and xtest will pass eventually. So, there is no bugs in OP-TEE OS per se, but OP-TEE OS depends on another components, which are not in the final form. Especially this affects REE login, is it is not merged in Linux mainline, so theoretically there is a chance that API/ABI for this feature will change during discussions. So, back to my question. What should I report in this PR? That there are fails when using latest mainline components, or all is fine, but user need to cherry-pick some patches manually? |
Also, please take a look at linaro-swg/linux#77 |
Hi @lorc, thanks for testing. Regarding 1027/1028. Generally speaking, and for simplicity, As for 2002.1: does it mean we have a regression between 3.8.0 and latest when a non-patched Xen is used?
Your report is excellent :) |
No, it is not a regression. The bug in Xen always was there. I don't know exactly why it didn't reproduced before. It is all about timings. Basically, Xen is stricter than necessary when dealing with shared buffers. Looks like some recent changes to SHM code in OP-TEE or in the linux driver revealed this issue. |
|
|
|
With #3867 |
I've tagged |
For For I suggest also #3856 be part of tag |
For
And regarding 1027/1028, I got the same failures as pointed by @lorc with my Developerbox booting stable kernel |
Maybe an added |
Build warning foudn in optee_test. Propose fix with OP-TEE/optee_test#426. To consider in tag 3.9.0. Regarding 1027/1028 failing with mainline kernels, I propose OP-TEE/optee_test#424 to handle such situations. |
Hello, for
|
Gave RPi3 a try:
Seems to build down to a memcmp(&expected_client_uuid, &client_uuid, sizeof(TEEC_UUID)) has an unexpected value: 0x1, expected 0x0 Log from 1027,1028 run separately can be found here. |
The error looks like some missing kernel patches. RPi3 doesn't use https://github.com/linaro-swg/linux? |
@jbech-linaro @jenswi-linaro the reason is linaro-swg/linux#75 is not merged, my mistake 😞 |
Sure, I'll get back once tested. |
It doesn't, it uses a fork from the Raspberry Pi folks. Which of course is a fork of Linux. Our fork is here: https://github.com/linaro-swg/linux/tree/rpi3-optee-4.14 Btw, I have a setup where Linux is based on the Raspberry Pi folks 4.19 kernel that is working (or I should say it worked ~1 month ago, haven't tried since then). However IIRC I also had to make some changes to Buildroot to make that work. |
Unfortunately I get a bunch of compiler errors (http://ix.io/2mGr) when applying linaro-swg/linux#75. |
Ah, I see. Some previous patches are missing. At least https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=e2aca5d8928acb9cc9a87802b02102d4f9b9b596. I'll try to fix that up. |
3.9.0-rc1 with #3873 and #3875:
I have tested several 64/32 bit combinations with various |
@jbech-linaro PR 75 updated, can you try again? The kernel now builds properly at least. |
Thanks, I'll give it a try. Stay tuned! |
3.9.0-rc1:
|
Here is another one for |
With Jerome's fixes in linaro-swg/linux#75 (thanks @jforissier!)
|
Tested Qemu with the GP test suite:
(edited: remove info below, I messed with the |
|
With backported kernel patches:
|
Update CHANGELOG for 3.9.0 and collect Tested-by tags. Tested-by: Jerome Forissier <[email protected]> (HiKey960, GP) Tested-by: Jerome Forissier <[email protected]> (QEMUv8) Tested-by: Rouven Czerwinski <[email protected]> (mx6qsabrelite) Tested-by: Igor Opaniuk <[email protected]> (Poplar) Tested-by: Jens Wiklander <[email protected]> (Juno) Tested-by: Jens Wiklander <[email protected]> (Hikey) Tested-by: Jens Wiklander <[email protected]> (FVP) Tested-by: Etienne Carriere <[email protected]> (qemu_virt/qemu_armv8) Tested-by: Sumit Garg <[email protected]> (Developerbox) Tested-by: Clement Faure <[email protected]> (mx6dlsabreauto) Tested-by: Clement Faure <[email protected]> (mx6qpsabreauto) Tested-by: Clement Faure <[email protected]> (mx6dlsabresd) Tested-by: Clement Faure <[email protected]> (mx6ulevk) Tested-by: Clement Faure <[email protected]> (mx6ullevk) Tested-by: Clement Faure <[email protected]> (mx6ulzevk) Tested-by: Clement Faure <[email protected]> (mx6slevk) Tested-by: Clement Faure <[email protected]> (mx6sllevk) Tested-by: Clement Faure <[email protected]> (mx7dsabresd) Tested-by: Clement Faure <[email protected]> (mx7ulpevk) Tested-by: Clement Faure <[email protected]> (mx8mmevk) Tested-by: Clement Faure <[email protected]> (mx8mnevk) Tested-by: Clement Faure <[email protected]> (mx8mqevk) Tested-by: Clement Faure <[email protected]> (mx8qxpmek) Tested-by: Jerome Forissier <[email protected]> (HiKey, GP) Tested-by: Jerome Forissier <[email protected]> (QEMUv8) Tested-by: Clement Faure <[email protected]> (mx8qmmek) Tested-by: Joakim Bech <[email protected]> (RPi3) Tested-by: Etienne Carriere <[email protected]> (Qemu armv7/armv8 + GP) Tested-by: Joakim Bech <[email protected]> (RPi3-NFS) Tested-by: Volodymyr Babchuk <[email protected]> (Rcar H3) Tested-by: Volodymyr Babchuk <[email protected]> (Rcar H3/virtualization) Signed-off-by: Jens Wiklander <[email protected]>
0082fd9
to
7801b92
Compare
Update CHANGELOG for 3.9.0 and collect Tested-by tags.
Signed-off-by: Jens Wiklander [email protected]