This is an automated email from Gerrit.

"Adrien Charruel <acharr...@nanoxplore.com>" just uploaded a new patch set to 
Gerrit, which you can find at https://review.openocd.org/c/openocd/+/8659

-- gerrit

commit ecf2f84392a3e8c9611b370ac90027ccf5fd7d72
Author: Adrien Grassein <agrass...@nanoxplore.com>
Date:   Thu Jan 18 15:12:12 2024 +0100

    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 emited.
    
    Change-Id: I52c3ee9a9f9b8a1dc0b8d5439e8b71212f56165a
    Signed-off-by: Adrien Grassein <agrass...@nanoxplore.com>
    Signed-off-by: Adrien Charruel <acharr...@nanoxplore.com>

diff --git a/src/target/armv8_cache.c b/src/target/armv8_cache.c
index 7d5645134f..2834c01df6 100644
--- a/src/target/armv8_cache.c
+++ b/src/target/armv8_cache.c
@@ -61,6 +61,8 @@ static int armv8_cache_d_inner_flush_level(struct 
armv8_common *armv8, struct ar
                                goto done;
                        c_way -= 1;
                } while (c_way >= 0);
+               /* This may be a very long operation. Regularly send keep_alive 
packet. */
+               keep_alive();
                c_index -= 1;
        } while (c_index >= 0);
 

-- 

Reply via email to