Skip to content

Commit

Permalink
core: pta: stats: Explicit Public DDR stats are deprecated
Browse files Browse the repository at this point in the history
Explicitly mention in Public DDR allocation stats info that these
statistics are deprecated. With this change, the information
displayed by `xtest --stats --alloc` better show why the
printed values are all 0s for this pool.

Signed-off-by: Etienne Carriere <etienne.carriere@foss.st.com>
Acked-by: Jens Wiklander <jens.wiklander@linaro.org>
  • Loading branch information
etienne-lms committed Jan 20, 2025
1 parent 6531027 commit 38c178f
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions core/pta/stats.c
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,8 @@ static TEE_Result get_alloc_stats(uint32_t type, TEE_Param p[TEE_NUM_PARAMS])

case ALLOC_ID_PUBLIC_DDR:
EMSG("public DDR not managed by secure side anymore");
strlcpy(stats->desc, "Public DDR (deprecated)",
sizeof(stats->desc));
break;

case ALLOC_ID_TA_RAM:
Expand Down

0 comments on commit 38c178f

Please sign in to comment.