{"payload":{"feedbackUrl":"https://github.com/orgs/community/discussions/53140","repo":{"id":194857104,"defaultBranch":"master","name":"optee_os","ownerLogin":"omasse-linaro","currentUserCanPush":false,"isFork":true,"isEmpty":false,"createdAt":"2019-07-02T12:16:19.000Z","ownerAvatar":"https://avatars.githubusercontent.com/u/4939714?v=4","public":true,"private":false,"isOrgOwned":false},"refInfo":{"name":"","listCacheKey":"v0:1687523703.824268","currentOid":""},"activityList":{"items":[{"before":"ba1ad8373bb5d2e510321357fa657bbcf1904316","after":"5af98f0811ddc68d59957865a4c851ecaa930b74","ref":"refs/heads/mobj_reg_shm_dec_map_assert","pushedAt":"2023-06-23T12:36:39.290Z","pushType":"force_push","commitsCount":0,"pusher":{"login":"omasse-linaro","name":"Olivier Masse","path":"/omasse-linaro","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/4939714?s=80&v=4"},"commit":{"message":"core: mm: shm: fix assert when unmap object\n\nAn assert could occur in reg_shm_unmap_helper when performing a simple\nstress test with two threads which invoke in a infinite loop a ping\ncommand to a TA with an input shared memory as parameter.\n\nE/TC:1 1 assertion 'r->mm' failed at core/arch/arm/mm/mobj_dyn_shm.c:117 \nE/TC:1 1 Panic at core/kernel/assert.c:28 <_assert_break>\nE/TC:1 1 TEE load address @ 0xe1b32000\n\nreg_shm_unmap_helper is called by mobj_reg_shm_dec_map when the mapcount\nreach 0 with an already unmapped object.\n\nFixed by taking the reg_shm_map_lock spin lock before incrementing or\ndecrementing the map refcount.\n\nSigned-off-by: Olivier Masse ","shortMessageHtmlLink":"core: mm: shm: fix assert when unmap object"}},{"before":null,"after":"ba1ad8373bb5d2e510321357fa657bbcf1904316","ref":"refs/heads/mobj_reg_shm_dec_map_assert","pushedAt":"2023-06-23T12:35:03.824Z","pushType":"branch_creation","commitsCount":0,"pusher":{"login":"omasse-linaro","name":"Olivier Masse","path":"/omasse-linaro","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/4939714?s=80&v=4"},"commit":{"message":"core: mm: shm: fix assert when unmap object\n\nAn assert could occur in reg_shm_unmap_helper when performing a simple\nstress test with two threads which invoke in a infinite loop a ping\ncommand to a TA with an input shared memory as parameter.\n\nE/TC:1 1 assertion 'r->mm' failed at core/arch/arm/mm/mobj_dyn_shm.c:117 \nE/TC:1 1 Panic at core/kernel/assert.c:28 <_assert_break>\nE/TC:1 1 TEE load address @ 0xe1b32000\n\nreg_shm_unmap_helper is called by mobj_reg_shm_dec_map when the mapcount\nreach 0 with an already unmapped object.\n\nFixed by taking the reg_shm_map_lock spin lock before incrementing or decrementing\nthe map refcount.\n\nSigned-off-by: Olivier Masse ","shortMessageHtmlLink":"core: mm: shm: fix assert when unmap object"}}],"hasNextPage":false,"hasPreviousPage":false,"activityType":"all","actor":null,"timePeriod":"all","sort":"DESC","perPage":30,"startCursor":"Y3Vyc29yOnYyOpK7MjAyMy0wNi0yM1QxMjozNjozOS4yOTA5ODZazwAAAANHqVTM","endCursor":"Y3Vyc29yOnYyOpK7MjAyMy0wNi0yM1QxMjozNTowMy44MjQyNjhazwAAAANHqQyu"}},"title":"Activity ยท omasse-linaro/optee_os"}