{"action":"created","issue":{"url":"https://api.github.com/repos/OP-TEE/optee_os/issues/949","repository_url":"https://api.github.com/repos/OP-TEE/optee_os","labels_url":"https://api.github.com/repos/OP-TEE/optee_os/issues/949/labels{/name}","comments_url":"https://api.github.com/repos/OP-TEE/optee_os/issues/949/comments","events_url":"https://api.github.com/repos/OP-TEE/optee_os/issues/949/events","html_url":"https://github.com/OP-TEE/optee_os/issues/949","id":168261060,"number":949,"title":"MEM_AREA_KEYVAULT cannot be used","user":{"login":"zhupg","id":18613437,"avatar_url":"https://avatars.githubusercontent.com/u/18613437?v=3","gravatar_id":"","url":"https://api.github.com/users/zhupg","html_url":"https://github.com/zhupg","followers_url":"https://api.github.com/users/zhupg/followers","following_url":"https://api.github.com/users/zhupg/following{/other_user}","gists_url":"https://api.github.com/users/zhupg/gists{/gist_id}","starred_url":"https://api.github.com/users/zhupg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zhupg/subscriptions","organizations_url":"https://api.github.com/users/zhupg/orgs","repos_url":"https://api.github.com/users/zhupg/repos","events_url":"https://api.github.com/users/zhupg/events{/privacy}","received_events_url":"https://api.github.com/users/zhupg/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-07-29T06:43:59Z","updated_at":"2016-07-29T08:44:03Z","closed_at":null,"body":"MEM_AREA_KEYVAULT is used for storing some secrets, but in core/arch/arm/mm/core_mmu.c\r\ncore/arch/arm/mm/core_mmu.c() and core_init_mmu_map() don't handle the type \"MEM_AREA_KEYVAULT\", so optee os will panic here.\r\n\r\nBy the way,  there are 4 frequency used memory type.\r\nno cache, no secure  <-->  MEM_AREA_IO_NSEC\r\nno cache, secured  <-->  MEM_AREA_IO_SEC\r\ncached, secured  <-->  MEM_AREA_KEYVAULT\r\ncached, no secure <-->  NO TEE MEM TYPE\r\nThere is no tee memory type defined for cached and no secure memory, is this for safety considerations? If no, is It better to add this type to meet different requirements?\r\n\r\nThanks."},"comment":{"url":"https://api.github.com/repos/OP-TEE/optee_os/issues/comments/236127017","html_url":"https://github.com/OP-TEE/optee_os/issues/949#issuecomment-236127017","issue_url":"https://api.github.com/repos/OP-TEE/optee_os/issues/949","id":236127017,"user":{"login":"jforissier","id":8288195,"avatar_url":"https://avatars.githubusercontent.com/u/8288195?v=3","gravatar_id":"","url":"https://api.github.com/users/jforissier","html_url":"https://github.com/jforissier","followers_url":"https://api.github.com/users/jforissier/followers","following_url":"https://api.github.com/users/jforissier/following{/other_user}","gists_url":"https://api.github.com/users/jforissier/gists{/gist_id}","starred_url":"https://api.github.com/users/jforissier/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jforissier/subscriptions","organizations_url":"https://api.github.com/users/jforissier/orgs","repos_url":"https://api.github.com/users/jforissier/repos","events_url":"https://api.github.com/users/jforissier/events{/privacy}","received_events_url":"https://api.github.com/users/jforissier/received_events","type":"User","site_admin":false},"created_at":"2016-07-29T08:44:03Z","updated_at":"2016-07-29T08:44:03Z","body":"Yes, `MEM_AREA_KEYVAULT` should probably be handled by `core_init_mmu_map()`. I also think it is OK to add an enum for cached, non-secure memory."}}
{"actor":{"display_login":"jforissier"}}