This is an automated email from Gerrit. "Conor Paxton <[email protected]>" just uploaded a new patch set to Gerrit, which you can find at https://review.openocd.org/c/openocd/+/8569
-- gerrit commit 58ec701994fe898ed49d2ba346cc6ba24be259cf Author: Conor Paxton <[email protected]> Date: Tue Jun 18 22:09:12 2024 +0100 target: riscv: resume all thread group members when run algorithm When there are multiple harts in the same thread group, all harts should be resumed, not just the hart that runs the algorithm code. This may be different for multi processor configurations. Change-Id: I5dac7a7ead4ff4964b44c27bc2b7409eec237def Signed-off-by: Tommy Murphy <[email protected]> Signed-off-by: Anton Krug <[email protected]> Signed-off-by: Daire McNamara <[email protected]> Signed-off-by: Matteo Bonicolini <[email protected]> Signed-off-by: Conor Paxton <[email protected]> diff --git a/src/target/riscv/riscv.c b/src/target/riscv/riscv.c index e66e35b277..76afb26734 100644 --- a/src/target/riscv/riscv.c +++ b/src/target/riscv/riscv.c @@ -2163,7 +2163,7 @@ static int riscv_run_algorithm(struct target *target, int num_mem_params, /* Run algorithm */ LOG_DEBUG("resume at 0x%" TARGET_PRIxADDR, entry_point); - if (riscv_resume(target, 0, entry_point, 0, 0, true) != ERROR_OK) + if (riscv_resume(target, 0, entry_point, 0, 0, false) != ERROR_OK) return ERROR_FAIL; int64_t start = timeval_ms(); --
