)]}'
{"id":"openocd~master~Ic40923ef7d9ac5ca0ffb313c9d4fc6d1457d6bbb","project":"openocd","branch":"master","attention_set":{},"removed_from_attention_set":{"1001667":{"account":{"_account_id":1001667,"name":"Jan Matyas","email":"jan.matyas@codasip.com","username":"JanMatCodasip"},"last_update":"2026-09-06 14:45:17.000000000","reason":"Change was submitted"},"1002371":{"account":{"_account_id":1002371,"name":"Farid Khaidari","email":"khaidari.fg@gmail.com","username":"fk-sc"},"last_update":"2026-06-25 14:45:09.000000000","reason":"\u003cGERRIT_ACCOUNT_1002371\u003e replied on the change","reason_account":{"_account_id":1002371,"name":"Farid Khaidari","email":"khaidari.fg@gmail.com","username":"fk-sc"}},"1002047":{"account":{"_account_id":1002047,"name":"Evgeniy Naydanov","email":"eugnay@gmail.com","username":"en-sc"},"last_update":"2026-06-25 14:22:09.000000000","reason":"\u003cGERRIT_ACCOUNT_1002047\u003e replied on the change","reason_account":{"_account_id":1002047,"name":"Evgeniy Naydanov","email":"eugnay@gmail.com","username":"en-sc"}}},"hashtags":[],"change_id":"Ic40923ef7d9ac5ca0ffb313c9d4fc6d1457d6bbb","subject":"target/riscv: refactor scratch_reserve() - use standardized macros","status":"MERGED","created":"2026-06-12 13:36:07.000000000","updated":"2026-09-06 14:45:17.000000000","submitted":"2026-09-06 14:45:17.000000000","submitter":{"_account_id":1000021,"name":"Antonio Borneo","email":"borneo.antonio@gmail.com","username":"borneoa"},"total_comment_count":1,"unresolved_comment_count":0,"has_review_started":true,"submission_id":"9742","meta_rev_id":"0706847f5eddebddc94835ec22113d66eb066b3f","_number":9742,"owner":{"_account_id":1001667,"name":"Jan Matyas","email":"jan.matyas@codasip.com","username":"JanMatCodasip"},"actions":{},"labels":{"Verified":{"approved":{"_account_id":1000014,"name":"jenkins","username":"jenkins","tags":["SERVICE_USER"]},"all":[{"value":0,"_account_id":1001667,"name":"Jan Matyas","email":"jan.matyas@codasip.com","username":"JanMatCodasip"},{"value":0,"_account_id":1002371,"name":"Farid Khaidari","email":"khaidari.fg@gmail.com","username":"fk-sc"},{"value":0,"_account_id":1002135,"name":"Mark Zhuang","email":"mark.zhuang@spacemit.com","username":"zqb-all"},{"value":0,"_account_id":1000021,"name":"Antonio Borneo","email":"borneo.antonio@gmail.com","username":"borneoa"},{"value":0,"_account_id":1002047,"name":"Evgeniy Naydanov","email":"eugnay@gmail.com","username":"en-sc"},{"tag":"autogenerated:gerrit:merged","value":1,"date":"2026-09-06 14:45:17.000000000","permitted_voting_range":{"min":1,"max":1},"_account_id":1000014,"name":"jenkins","username":"jenkins","tags":["SERVICE_USER"]}],"values":{"-1":"Fails"," 0":"No score","+1":"Verified"},"description":"","default_value":0},"Code-Review":{"approved":{"_account_id":1000021,"name":"Antonio Borneo","email":"borneo.antonio@gmail.com","username":"borneoa"},"all":[{"tag":"autogenerated:gerrit:merged","value":1,"date":"2026-09-06 14:45:17.000000000","permitted_voting_range":{"min":1,"max":1},"_account_id":1001667,"name":"Jan Matyas","email":"jan.matyas@codasip.com","username":"JanMatCodasip"},{"tag":"autogenerated:gerrit:merged","value":1,"date":"2026-09-06 14:45:17.000000000","permitted_voting_range":{"min":1,"max":1},"_account_id":1002371,"name":"Farid Khaidari","email":"khaidari.fg@gmail.com","username":"fk-sc"},{"tag":"autogenerated:gerrit:merged","value":1,"date":"2026-09-06 14:45:17.000000000","permitted_voting_range":{"min":1,"max":1},"_account_id":1002135,"name":"Mark Zhuang","email":"mark.zhuang@spacemit.com","username":"zqb-all"},{"tag":"autogenerated:gerrit:merged","value":2,"date":"2026-09-06 14:45:17.000000000","permitted_voting_range":{"min":2,"max":2},"_account_id":1000021,"name":"Antonio Borneo","email":"borneo.antonio@gmail.com","username":"borneoa"},{"tag":"autogenerated:gerrit:merged","value":1,"date":"2026-09-06 14:45:17.000000000","permitted_voting_range":{"min":1,"max":2},"_account_id":1002047,"name":"Evgeniy Naydanov","email":"eugnay@gmail.com","username":"en-sc"},{"value":0,"_account_id":1000014,"name":"jenkins","username":"jenkins","tags":["SERVICE_USER"]}],"values":{"-2":"This shall not be merged","-1":"I would prefer this is not merged as is"," 0":"No score","+1":"Looks good to me, but someone else must approve","+2":"Looks good to me, approved"},"description":"","default_value":0}},"removable_reviewers":[],"reviewers":{"REVIEWER":[{"_account_id":1000014,"name":"jenkins","username":"jenkins","tags":["SERVICE_USER"]},{"_account_id":1000021,"name":"Antonio Borneo","email":"borneo.antonio@gmail.com","username":"borneoa"},{"_account_id":1001667,"name":"Jan Matyas","email":"jan.matyas@codasip.com","username":"JanMatCodasip"},{"_account_id":1002047,"name":"Evgeniy Naydanov","email":"eugnay@gmail.com","username":"en-sc"},{"_account_id":1002135,"name":"Mark Zhuang","email":"mark.zhuang@spacemit.com","username":"zqb-all"},{"_account_id":1002371,"name":"Farid Khaidari","email":"khaidari.fg@gmail.com","username":"fk-sc"}]},"pending_reviewers":{},"reviewer_updates":[{"updated":"2026-06-12 13:36:07.000000000","updated_by":{"_account_id":1001667,"name":"Jan Matyas","email":"jan.matyas@codasip.com","username":"JanMatCodasip"},"reviewer":{"_account_id":1002371,"name":"Farid Khaidari","email":"khaidari.fg@gmail.com","username":"fk-sc"},"state":"REVIEWER"},{"updated":"2026-06-12 13:38:20.000000000","updated_by":{"_account_id":1001667,"name":"Jan Matyas","email":"jan.matyas@codasip.com","username":"JanMatCodasip"},"reviewer":{"_account_id":1002047,"name":"Evgeniy Naydanov","email":"eugnay@gmail.com","username":"en-sc"},"state":"REVIEWER"},{"updated":"2026-06-12 13:51:18.000000000","updated_by":{"_account_id":1000014,"name":"jenkins","username":"jenkins","tags":["SERVICE_USER"]},"reviewer":{"_account_id":1000014,"name":"jenkins","username":"jenkins","tags":["SERVICE_USER"]},"state":"CC"},{"updated":"2026-06-12 14:14:30.000000000","updated_by":{"_account_id":1000014,"name":"jenkins","username":"jenkins","tags":["SERVICE_USER"]},"reviewer":{"_account_id":1000014,"name":"jenkins","username":"jenkins","tags":["SERVICE_USER"]},"state":"REVIEWER"},{"updated":"2026-06-14 13:53:51.000000000","updated_by":{"_account_id":1002135,"name":"Mark Zhuang","email":"mark.zhuang@spacemit.com","username":"zqb-all"},"reviewer":{"_account_id":1002135,"name":"Mark Zhuang","email":"mark.zhuang@spacemit.com","username":"zqb-all"},"state":"REVIEWER"},{"updated":"2026-08-24 15:48:11.000000000","updated_by":{"_account_id":1000021,"name":"Antonio Borneo","email":"borneo.antonio@gmail.com","username":"borneoa"},"reviewer":{"_account_id":1000021,"name":"Antonio Borneo","email":"borneo.antonio@gmail.com","username":"borneoa"},"state":"REVIEWER"}],"messages":[{"id":"11833cea1007e1a5288c3bfbd9f5a2b6ccb1a24c","tag":"autogenerated:gerrit:newPatchSet","author":{"_account_id":1001667,"name":"Jan Matyas","email":"jan.matyas@codasip.com","username":"JanMatCodasip"},"real_author":{"_account_id":1001667,"name":"Jan Matyas","email":"jan.matyas@codasip.com","username":"JanMatCodasip"},"date":"2026-06-12 13:36:07.000000000","message":"Uploaded patch set 1.","accounts_in_message":[],"_revision_number":1},{"id":"e812aa1b29eeeb9c2cbb4020b6d574802de371ec","author":{"_account_id":1001667,"name":"Jan Matyas","email":"jan.matyas@codasip.com","username":"JanMatCodasip"},"real_author":{"_account_id":1001667,"name":"Jan Matyas","email":"jan.matyas@codasip.com","username":"JanMatCodasip"},"date":"2026-06-12 13:37:36.000000000","message":"Patch Set 1:\n\n(1 comment)","accounts_in_message":[],"_revision_number":1},{"id":"6c421c54bc75b3bccc793413177da5862085a6db","author":{"_account_id":1001667,"name":"Jan Matyas","email":"jan.matyas@codasip.com","username":"JanMatCodasip"},"real_author":{"_account_id":1001667,"name":"Jan Matyas","email":"jan.matyas@codasip.com","username":"JanMatCodasip"},"date":"2026-06-12 13:37:49.000000000","message":"Patch Set 1: Code-Review+1","accounts_in_message":[],"_revision_number":1},{"id":"4432c7f21857d02e85c03f832e90b6f5b83385e5","tag":"autogenerated:jenkins-gerrit-trigger","author":{"_account_id":1000014,"name":"jenkins","username":"jenkins","tags":["SERVICE_USER"]},"real_author":{"_account_id":1000014,"name":"jenkins","username":"jenkins","tags":["SERVICE_USER"]},"date":"2026-06-12 14:14:30.000000000","message":"Patch Set 1: Verified+1\n\nBuild Successful \n\nhttps://build.openocd.org/job/openocd-gerrit-build/22480/ : SUCCESS\n\nhttps://build.openocd.org/job/openocd-gerrit/23380/ : SUCCESS","accounts_in_message":[],"_revision_number":1},{"id":"dbb03d5123589f4b8832268e8b089387fe800047","author":{"_account_id":1002135,"name":"Mark Zhuang","email":"mark.zhuang@spacemit.com","username":"zqb-all"},"real_author":{"_account_id":1002135,"name":"Mark Zhuang","email":"mark.zhuang@spacemit.com","username":"zqb-all"},"date":"2026-06-14 13:53:51.000000000","message":"Patch Set 1: Code-Review+1","accounts_in_message":[],"_revision_number":1},{"id":"9538fa589ca17c5bd110626fe9087ea66cd8fb0b","author":{"_account_id":1002047,"name":"Evgeniy Naydanov","email":"eugnay@gmail.com","username":"en-sc"},"real_author":{"_account_id":1002047,"name":"Evgeniy Naydanov","email":"eugnay@gmail.com","username":"en-sc"},"date":"2026-06-25 14:22:09.000000000","message":"Patch Set 1: Code-Review+1","accounts_in_message":[],"_revision_number":1},{"id":"2765d5282613083ccd4ee5f1a138b37acb2bd846","author":{"_account_id":1002371,"name":"Farid Khaidari","email":"khaidari.fg@gmail.com","username":"fk-sc"},"real_author":{"_account_id":1002371,"name":"Farid Khaidari","email":"khaidari.fg@gmail.com","username":"fk-sc"},"date":"2026-06-25 14:45:09.000000000","message":"Patch Set 1: Code-Review+1","accounts_in_message":[],"_revision_number":1},{"id":"8d77cb7051cc9d21a226925cbc1cfcea14aaf86c","author":{"_account_id":1000021,"name":"Antonio Borneo","email":"borneo.antonio@gmail.com","username":"borneoa"},"real_author":{"_account_id":1000021,"name":"Antonio Borneo","email":"borneo.antonio@gmail.com","username":"borneoa"},"date":"2026-08-24 15:48:11.000000000","message":"Patch Set 1: Code-Review+2","accounts_in_message":[],"_revision_number":1},{"id":"0706847f5eddebddc94835ec22113d66eb066b3f","tag":"autogenerated:gerrit:merged","author":{"_account_id":1000021,"name":"Antonio Borneo","email":"borneo.antonio@gmail.com","username":"borneoa"},"real_author":{"_account_id":1000021,"name":"Antonio Borneo","email":"borneo.antonio@gmail.com","username":"borneoa"},"date":"2026-09-06 14:45:17.000000000","message":"Change has been successfully cherry-picked as c71aab122e05b31d3e56a5514babba9bbdfa6ac0","accounts_in_message":[],"_revision_number":2}],"current_revision":"c71aab122e05b31d3e56a5514babba9bbdfa6ac0","revisions":{"b8af092f20521e51872b9066813284a1d8d15c47":{"kind":"REWORK","_number":1,"created":"2026-06-12 13:36:07.000000000","uploader":{"_account_id":1001667,"name":"Jan Matyas","email":"jan.matyas@codasip.com","username":"JanMatCodasip"},"ref":"refs/changes/42/9742/1","fetch":{"anonymous http":{"url":"https://review.openocd.org/openocd","ref":"refs/changes/42/9742/1","commands":{"Branch":"git fetch https://review.openocd.org/openocd refs/changes/42/9742/1 \u0026\u0026 git checkout -b change-9742 FETCH_HEAD","Checkout":"git fetch https://review.openocd.org/openocd refs/changes/42/9742/1 \u0026\u0026 git checkout FETCH_HEAD","Cherry Pick":"git fetch https://review.openocd.org/openocd refs/changes/42/9742/1 \u0026\u0026 git cherry-pick FETCH_HEAD","Format Patch":"git fetch https://review.openocd.org/openocd refs/changes/42/9742/1 \u0026\u0026 git format-patch -1 --stdout FETCH_HEAD","Pull":"git pull https://review.openocd.org/openocd refs/changes/42/9742/1","Reset To":"git fetch https://review.openocd.org/openocd refs/changes/42/9742/1 \u0026\u0026 git reset --hard FETCH_HEAD"}}},"commit":{"parents":[{"commit":"8630c34137d32eaabc4110224c180c754168a430","subject":"target/riscv: fix bug in scratch_reserve"}],"author":{"name":"Jan Matyas","email":"jan.matyas@codasip.com","date":"2026-06-12 13:34:01.000000000","tz":120},"committer":{"name":"Jan Matyas","email":"jan.matyas@codasip.com","date":"2026-06-12 13:34:01.000000000","tz":120},"subject":"target/riscv: refactor scratch_reserve() - use standardized macros","message":"target/riscv: refactor scratch_reserve() - use standardized macros\n\nThe original author of this commit is Farid Khaidari, see [1].\n\nThis commit refactors the scratch_reserve()\n- Replacing hardcoded bit manipulation with BIT() macro\n- Using GENMASK_ULL() instead of hardcoded masks for sign extension\n- Applying ALIGN_UP() macro for address alignment calculations\n- Using DIV_ROUND_UP() instead of manual division with addition\n\n[1] https://github.com/riscv-collab/riscv-openocd/\n    commit/9d4c94e51fdaba3290a16825e48f393b9650a321\n\nChange-Id: Ic40923ef7d9ac5ca0ffb313c9d4fc6d1457d6bbb\nSigned-off-by: Farid Khaydari \u003cf.khaydari@syntacore.com\u003e\nSigned-off-by: Jan Matyas \u003cjan.matyas@codasip.com\u003e\n"}},"c71aab122e05b31d3e56a5514babba9bbdfa6ac0":{"kind":"REWORK","_number":2,"created":"2026-09-06 14:45:17.000000000","uploader":{"_account_id":1000021,"name":"Antonio Borneo","email":"borneo.antonio@gmail.com","username":"borneoa"},"ref":"refs/changes/42/9742/2","fetch":{"anonymous http":{"url":"https://review.openocd.org/openocd","ref":"refs/changes/42/9742/2","commands":{"Branch":"git fetch https://review.openocd.org/openocd refs/changes/42/9742/2 \u0026\u0026 git checkout -b change-9742 FETCH_HEAD","Checkout":"git fetch https://review.openocd.org/openocd refs/changes/42/9742/2 \u0026\u0026 git checkout FETCH_HEAD","Cherry Pick":"git fetch https://review.openocd.org/openocd refs/changes/42/9742/2 \u0026\u0026 git cherry-pick FETCH_HEAD","Format Patch":"git fetch https://review.openocd.org/openocd refs/changes/42/9742/2 \u0026\u0026 git format-patch -1 --stdout FETCH_HEAD","Pull":"git pull https://review.openocd.org/openocd refs/changes/42/9742/2","Reset To":"git fetch https://review.openocd.org/openocd refs/changes/42/9742/2 \u0026\u0026 git reset --hard FETCH_HEAD"}}},"commit":{"parents":[{"commit":"3280595478bc2cdd5cd58b1a2069b3cf1d755f7c","subject":"target/riscv: fix bug in scratch_reserve"}],"author":{"name":"Jan Matyas","email":"jan.matyas@codasip.com","date":"2026-06-12 13:34:01.000000000","tz":120},"committer":{"name":"Antonio Borneo","email":"borneo.antonio@gmail.com","date":"2026-09-06 14:45:17.000000000","tz":0},"subject":"target/riscv: refactor scratch_reserve() - use standardized macros","message":"target/riscv: refactor scratch_reserve() - use standardized macros\n\nThe original author of this commit is Farid Khaidari, see [1].\n\nThis commit refactors the scratch_reserve()\n- Replacing hardcoded bit manipulation with BIT() macro\n- Using GENMASK_ULL() instead of hardcoded masks for sign extension\n- Applying ALIGN_UP() macro for address alignment calculations\n- Using DIV_ROUND_UP() instead of manual division with addition\n\n[1] https://github.com/riscv-collab/riscv-openocd/\n    commit/9d4c94e51fdaba3290a16825e48f393b9650a321\n\nChange-Id: Ic40923ef7d9ac5ca0ffb313c9d4fc6d1457d6bbb\nSigned-off-by: Farid Khaydari \u003cf.khaydari@syntacore.com\u003e\nSigned-off-by: Jan Matyas \u003cjan.matyas@codasip.com\u003e\nReviewed-on: https://review.openocd.org/c/openocd/+/9742\nReviewed-by: Evgeniy Naydanov \u003ceugnay@gmail.com\u003e\nReviewed-by: Antonio Borneo \u003cborneo.antonio@gmail.com\u003e\nTested-by: jenkins\nReviewed-by: Mark Zhuang \u003cmark.zhuang@spacemit.com\u003e\nReviewed-by: Farid Khaidari \u003ckhaidari.fg@gmail.com\u003e\n"}}},"requirements":[],"submit_records":[{"rule_name":"gerrit~DefaultSubmitRule","status":"CLOSED","labels":[{"label":"Verified","status":"OK","applied_by":{"_account_id":1000014,"name":"jenkins","username":"jenkins","tags":["SERVICE_USER"]}},{"label":"Code-Review","status":"OK","applied_by":{"_account_id":1000021,"name":"Antonio Borneo","email":"borneo.antonio@gmail.com","username":"borneoa"}}]}],"submit_requirements":[{"name":"Verified","status":"SATISFIED","is_legacy":true,"submittability_expression_result":{"expression":"label:Verified\u003dMAX -label:Verified\u003dMIN","fulfilled":true,"status":"PASS","passing_atoms":["label:Verified\u003dMAX","-label:Verified\u003dMIN"],"failing_atoms":[]}},{"name":"Code-Review","status":"SATISFIED","is_legacy":true,"submittability_expression_result":{"expression":"label:Code-Review\u003dMAX -label:Code-Review\u003dMIN","fulfilled":true,"status":"PASS","passing_atoms":["label:Code-Review\u003dMAX","-label:Code-Review\u003dMIN"],"failing_atoms":[]}}]}
