{"action":"created","issue":{"url":"https://api.github.com/repos/OP-TEE/optee_os/issues/1696","repository_url":"https://api.github.com/repos/OP-TEE/optee_os","labels_url":"https://api.github.com/repos/OP-TEE/optee_os/issues/1696/labels{/name}","comments_url":"https://api.github.com/repos/OP-TEE/optee_os/issues/1696/comments","events_url":"https://api.github.com/repos/OP-TEE/optee_os/issues/1696/events","html_url":"https://github.com/OP-TEE/optee_os/pull/1696","id":243290301,"number":1696,"title":"core: arm: mutex: simplify code with xsave/xrestore spin lock","user":{"login":"MrVan","id":4230248,"avatar_url":"https://avatars7.githubusercontent.com/u/4230248?v=4","gravatar_id":"","url":"https://api.github.com/users/MrVan","html_url":"https://github.com/MrVan","followers_url":"https://api.github.com/users/MrVan/followers","following_url":"https://api.github.com/users/MrVan/following{/other_user}","gists_url":"https://api.github.com/users/MrVan/gists{/gist_id}","starred_url":"https://api.github.com/users/MrVan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MrVan/subscriptions","organizations_url":"https://api.github.com/users/MrVan/orgs","repos_url":"https://api.github.com/users/MrVan/repos","events_url":"https://api.github.com/users/MrVan/events{/privacy}","received_events_url":"https://api.github.com/users/MrVan/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2017-07-17T03:34:24Z","updated_at":"2017-07-17T10:12:11Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/OP-TEE/optee_os/pulls/1696","html_url":"https://github.com/OP-TEE/optee_os/pull/1696","diff_url":"https://github.com/OP-TEE/optee_os/pull/1696.diff","patch_url":"https://github.com/OP-TEE/optee_os/pull/1696.patch"},"body":"cpu_spin_lock_xsave/cpu_spin_unlock_xrestore could be used\r\nto simplify the code.\r\nin __condvar_wait,\r\n```\r\ncpu_spin_unlock(&cv->spin_lock);\r\ncpu_spin_lock(&m->spin_lock);\r\n```\r\nare also replaced with \r\n```\r\ncpu_spin_unlock_xrestore(&cv->spin_lock, old_itr_status);\r\nold_itr_status = cpu_spin_lock_xsave(&m->spin_lock);\r\n```\r\nSigned-off-by: Peng Fan <peng.fan@nxp.com>"},"comment":{"url":"https://api.github.com/repos/OP-TEE/optee_os/issues/comments/315716008","html_url":"https://github.com/OP-TEE/optee_os/pull/1696#issuecomment-315716008","issue_url":"https://api.github.com/repos/OP-TEE/optee_os/issues/1696","id":315716008,"user":{"login":"jenswi-linaro","id":6150306,"avatar_url":"https://avatars4.githubusercontent.com/u/6150306?v=4","gravatar_id":"","url":"https://api.github.com/users/jenswi-linaro","html_url":"https://github.com/jenswi-linaro","followers_url":"https://api.github.com/users/jenswi-linaro/followers","following_url":"https://api.github.com/users/jenswi-linaro/following{/other_user}","gists_url":"https://api.github.com/users/jenswi-linaro/gists{/gist_id}","starred_url":"https://api.github.com/users/jenswi-linaro/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jenswi-linaro/subscriptions","organizations_url":"https://api.github.com/users/jenswi-linaro/orgs","repos_url":"https://api.github.com/users/jenswi-linaro/repos","events_url":"https://api.github.com/users/jenswi-linaro/events{/privacy}","received_events_url":"https://api.github.com/users/jenswi-linaro/received_events","type":"User","site_admin":false},"created_at":"2017-07-17T10:12:11Z","updated_at":"2017-07-17T10:12:11Z","body":"`Reviewed-by: Jens Wiklander <jens.wiklander@linaro.org>`"}}
{"actor":{"display_login":"jenswi-linaro"}}