{"action":"closed","issue":{"url":"https://api.github.com/repos/OP-TEE/optee_os/issues/1004","repository_url":"https://api.github.com/repos/OP-TEE/optee_os","labels_url":"https://api.github.com/repos/OP-TEE/optee_os/issues/1004/labels{/name}","comments_url":"https://api.github.com/repos/OP-TEE/optee_os/issues/1004/comments","events_url":"https://api.github.com/repos/OP-TEE/optee_os/issues/1004/events","html_url":"https://github.com/OP-TEE/optee_os/issues/1004","id":172261705,"number":1004,"title":"How to add dynamic 4k memory mapping for sg_table from REE side?","user":{"login":"prime-zeng","id":15921075,"avatar_url":"https://avatars.githubusercontent.com/u/15921075?v=3","gravatar_id":"","url":"https://api.github.com/users/prime-zeng","html_url":"https://github.com/prime-zeng","followers_url":"https://api.github.com/users/prime-zeng/followers","following_url":"https://api.github.com/users/prime-zeng/following{/other_user}","gists_url":"https://api.github.com/users/prime-zeng/gists{/gist_id}","starred_url":"https://api.github.com/users/prime-zeng/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/prime-zeng/subscriptions","organizations_url":"https://api.github.com/users/prime-zeng/orgs","repos_url":"https://api.github.com/users/prime-zeng/repos","events_url":"https://api.github.com/users/prime-zeng/events{/privacy}","received_events_url":"https://api.github.com/users/prime-zeng/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":8,"created_at":"2016-08-20T08:56:56Z","updated_at":"2016-08-24T03:13:26Z","closed_at":"2016-08-24T03:13:26Z","body":"Here is our scenario：\r\n1. Allocate the memory from the REE side(sg_table) using RPC from OP-TEE\r\n2. Mark the returned sg_table memory blocks as Secure using the platform hardware.\r\n3. Maping the sg_table in OP-TEE kernel space or TA memory space.\r\n\r\n Currently the op-tee memory are all fixed mapping and don't easily support the above scenario：\r\n1. Add OP-TEE kernel VA space partition management.\r\n2. Add kernel dynamic 4k page memory mapping.\r\n3. Add TA dynamic 4k page memory mapping. \r\n\r\nSo any suggestions?"}}
{"actor":{"display_login":"prime-zeng"}}