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

RPMB: tee_rpmb_write_blk(): allocate buffers once #739

Closed
wants to merge 1 commit into from

Conversation

jforissier
Copy link
Contributor

Allocate shared memory buffers once for the write loop instead of
repeatedly allocating and freeing them. The previous code was needed
due to a bug/limitation in optee_linudriver [1]. Now that we are using
the "generic driver", the code can be optimized.

[1] OP-TEE/optee_linuxdriver#40

Signed-off-by: Jerome Forissier [email protected]
Tested-by: Jerome Forissier [email protected] (HiKey)

@jenswi-linaro
Copy link
Contributor

Reviewed-by: Jens Wiklander <[email protected]>

@pascal-brand38
Copy link
Contributor

Reviewed-by: Pascal Brand <[email protected]>

Allocate shared memory buffers once for the write loop instead of
repeatedly allocating and freeing them. The previous code was needed
due to a bug/limitation in optee_linudriver [1]. Now that we are using
the "generic driver", the code can be optimized.

[1] OP-TEE/optee_linuxdriver#40

Signed-off-by: Jerome Forissier <[email protected]>
Tested-by: Jerome Forissier <[email protected]> (HiKey)
Reviewed-by: Jens Wiklander <[email protected]>
Reviewed-by: Pascal Brand <[email protected]>
@jforissier
Copy link
Contributor Author

Rebased with tags applied.

@ghost
Copy link

ghost commented Apr 12, 2016

Closing as manually merged

@ghost ghost closed this Apr 12, 2016
@jforissier jforissier deleted the rpmb-alloc branch April 28, 2017 09:30
This pull request was closed.
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

Successfully merging this pull request may close these issues.

3 participants