Skip to content

Commit 72ff2e2

Browse files
Adrien Grasseinborneoa
authored andcommitted
target/armv8: regularly send keep_alive packet.
Flushing all d-cache may be a long operation. We need to send keep_alive regularly to keep the connection alive. If not done a warning is emitted. Change-Id: I52c3ee9a9f9b8a1dc0b8d5439e8b71212f56165a Signed-off-by: Adrien Grassein <[email protected]> Signed-off-by: Adrien Charruel <[email protected]> Reviewed-on: https://review.openocd.org/c/openocd/+/8659 Reviewed-by: Antonio Borneo <[email protected]> Tested-by: jenkins
1 parent bb4c7e3 commit 72ff2e2

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/target/armv8_cache.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,7 @@ static int armv8_cache_d_inner_flush_level(struct armv8_common *armv8, struct ar
6161
goto done;
6262
c_way -= 1;
6363
} while (c_way >= 0);
64+
keep_alive();
6465
c_index -= 1;
6566
} while (c_index >= 0);
6667

0 commit comments

Comments
 (0)