This is an automated email from Gerrit. "Daniel Goehring <[email protected]>" just uploaded a new patch set to Gerrit, which you can find at https://review.openocd.org/c/openocd/+/9249
-- gerrit commit 91440118e3ca25699814eaf1cc0655bac0eaf6d6 Author: Daniel Goehring <[email protected]> Date: Tue Aug 5 10:10:23 2025 -0600 target/arm: add nested AP low level ADI support Update the debug log message for the mem_ap_setup_transfer_verify_size_packing() procedure to support nested APs. Change-Id: I18d01e9c70614131e344e6403f01e07bcb971542 Signed-off-by: Daniel Goehring <[email protected]> diff --git a/src/target/arm_adi_v5.c b/src/target/arm_adi_v5.c index a87933fe0f..2a599904c4 100644 --- a/src/target/arm_adi_v5.c +++ b/src/target/arm_adi_v5.c @@ -405,8 +405,13 @@ static int mem_ap_setup_transfer_verify_size_packing(struct adiv5_ap *ap, return retval; bool size_supported = ((csw_readback & CSW_SIZE_MASK) == csw_size); - LOG_DEBUG("AP#0x%" PRIx64 " probed size %u: %s", ap->ap_num, size, - size_supported ? "supported" : "not supported"); + if (!ap->ap_gateway) + LOG_DEBUG("AP#0x%" PRIx64 " probed size %u: %s", ap->ap_num, size, + size_supported ? "supported" : "not supported"); + else + LOG_DEBUG("AP#0x%" PRIx64 " GW#0x%" PRIx64 " probed size %u: %s", + ap->ap_num, ap->ap_gateway->ap_num, size, + size_supported ? "supported" : "not supported"); ap->csw_size_probed_mask |= size; if (size_supported) { ap->csw_size_supported_mask |= size; --
