-
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
Paged user TAs #1044
Paged user TAs #1044
Conversation
Depends on OP-TEE/optee_test#124 |
There's quite a bit of code, so I wouldn't say my review has been exhaustive, but what I've seen looks good. |
I have tested on HiKey, this is basically OK assuming the following are addressed:
|
The |
Rebased on master, squashed the [review] commit. Added a Hikey commit. |
@jenswi-linaro it looks like HiKey needs 40 KiB of HEAP_SIZE to pass |
Am I'm the only one that get the feeling that we have been fiddling with increasing both stack and heap quite a few times the last year? Maybe time to do an overhaul for all devices we support and at the same time increase to something a bit bigger than we actually need? Also, it might be worth checking whether we really need all of it or if we're unnecessarily use too much of them? |
Rebased with the memory fiddling patches removed as it's already dealt with on master now. |
Working fine on HiKey. |
|
Replace the last 4 bytes alignment statements with 8 bytes alignment to avoid implicit padding when linking the binary. Implicit padding following the .data section doesn't work with the pager. Acked-by: David Brown <david.brown@linaro.org> Signed-off-by: Jens Wiklander <jens.wiklander@linaro.org>
Enables support for paging of user TAs if CFG_PAGED_USER_TA is y Acked-by: David Brown <david.brown@linaro.org> Tested-by: Jerome Forissier <jerome.forissier@linaro.org> (HiKey) Tested-by: Jens Wiklander <jens.wiklander@linaro.org> (QEMU 7) Signed-off-by: Jens Wiklander <jens.wiklander@linaro.org>
Checkpatch warnings/errors fixed, rebased and tags applied. |
Adds support for paged user TAs