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

Use core_mmu_get_va whenever possible #1683

Merged
merged 1 commit into from
Jul 15, 2017

Conversation

vchong
Copy link
Contributor

@vchong vchong commented Jul 12, 2017

Signed-off-by: Victor Chong [email protected]

@jenswi-linaro
Copy link
Contributor

The changes in plat-hikey are good, but for the others it's actually changed behavior since the result from phys_to_virt() was cached.

@vchong
Copy link
Contributor Author

vchong commented Jul 12, 2017

Ok. I'll remove the changes for the other plats. Thanks!

@vchong vchong force-pushed the core_mmu_get_va branch 2 times, most recently from fb67617 to 1375de7 Compare July 12, 2017 18:08
@vchong
Copy link
Contributor Author

vchong commented Jul 12, 2017

Comment addressed.

@jenswi-linaro
Copy link
Contributor

The commit message could describe the commit a bit more, and also please put a pair of () after the function name to make it stand out better.

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

@vchong vchong force-pushed the core_mmu_get_va branch from 1375de7 to a8868eb Compare July 13, 2017 05:37
@vchong
Copy link
Contributor Author

vchong commented Jul 13, 2017

Commit message updated and tag added. Ready for merge. Thanks!

The ability to get the va of a pa is now available as a core function,
i.e. core_mmu_get_va() so the platform specific nsec_periph_base() is
not required anymore.

Signed-off-by: Victor Chong <[email protected]>
Reviewed-by: Jens Wiklander <[email protected]>
@jforissier jforissier merged commit 78182cf into OP-TEE:master Jul 15, 2017
@vchong vchong deleted the core_mmu_get_va branch August 26, 2017 06:33
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