{"action":"closed","issue":{"url":"https://api.github.com/repos/OP-TEE/optee_os/issues/1000","repository_url":"https://api.github.com/repos/OP-TEE/optee_os","labels_url":"https://api.github.com/repos/OP-TEE/optee_os/issues/1000/labels{/name}","comments_url":"https://api.github.com/repos/OP-TEE/optee_os/issues/1000/comments","events_url":"https://api.github.com/repos/OP-TEE/optee_os/issues/1000/events","html_url":"https://github.com/OP-TEE/optee_os/issues/1000","id":172062547,"number":1000,"title":"ARMv7 secure monitor code sm_a32.S Question","user":{"login":"acy54321","id":3080029,"avatar_url":"https://avatars.githubusercontent.com/u/3080029?v=3","gravatar_id":"","url":"https://api.github.com/users/acy54321","html_url":"https://github.com/acy54321","followers_url":"https://api.github.com/users/acy54321/followers","following_url":"https://api.github.com/users/acy54321/following{/other_user}","gists_url":"https://api.github.com/users/acy54321/gists{/gist_id}","starred_url":"https://api.github.com/users/acy54321/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/acy54321/subscriptions","organizations_url":"https://api.github.com/users/acy54321/orgs","repos_url":"https://api.github.com/users/acy54321/repos","events_url":"https://api.github.com/users/acy54321/events{/privacy}","received_events_url":"https://api.github.com/users/acy54321/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":4,"created_at":"2016-08-19T06:20:22Z","updated_at":"2016-08-24T03:17:22Z","closed_at":"2016-08-24T03:17:22Z","body":"In 2.0.0 OPTEE release Linux kernel driver change to use Generic driver in linux v4.5. In Generic driver use SMCC interface to OPTEE, but I have some problem in ARMv8 ATF have modify \"pass r0-r6 as part of smc param https://github.com/ARM-software/arm-trusted-firmware/commit/56a6412de86537d3445e36a5a81f515fa2c683a7\" , In ARMv7 sm_a32.S continued use r0-r3 to pass  param. I guess on ARMv7 architecture use new Generic driver to run OPTEE will cause some \r\nproblem.\r\n\r\nGeneric driver : \r\ndrivers/tee/optee/core.c\r\ninvoke_fn(OPTEE_SMC_CALLS_UID, 0, 0, 0, 0, 0, 0, 0, &res);\r\n\r\nres will not return by ARMv7 OPTEE"}}
{"actor":{"display_login":"acy54321"}}