Re: [PATCH] testsuite/spcache01: Clear allocated coherent cache memory

2021-10-17 Thread Sebastian Huber
On 18/10/2021 07:19, chr...@rtems.org wrote: From: Chris Johns - Coherent cache memory is used in libbsd for things like descriptors and it optionally clears the memory on allocation. Test is works. There is no guarantee that memset() and memcpy() work with cache coherent memory. Such memo

ZynqMP and Versal crash clearing coherent cache memory with memset

2021-10-17 Thread Chris Johns
Hi, I cannot run libbsd on real hardware because the cadence rx descriptor cache coherent allocation crashes in `memset`. It is used to clear the memory. The rtemsbsd allocator call optionally clears the memory and it seems the newlib aarch64 memset code crashes when doing this. A basic loop with

[PATCH] testsuite/spcache01: Clear allocated coherent cache memory

2021-10-17 Thread chrisj
From: Chris Johns - Coherent cache memory is used in libbsd for things like descriptors and it optionally clears the memory on allocation. Test is works. --- testsuites/sptests/spcache01/init.c | 5 - 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/testsuites/sptests/spcache01

Re: [PATCH 0/3] Add Secure Monitor Call API

2021-10-17 Thread Sebastian Huber
On 16/10/2021 22:12, Gedare Bloom wrote: Gedare Bloom (3): aarch64: add internal API for secure monitor call (smc) bsps/aarch64: use SMC API in bspsmp-arm-psci bsps/aarch64: use SMC API in bspreset-arm-psci Looks good. Maybe use for the @brief of the source file: This source file cont

Re: [rtems-tools commit] tester/exe: Adjust timeouts by the step size

2021-10-17 Thread Chris Johns
On 16/10/21 1:14 am, Sebastian Huber wrote: > On 15/10/2021 08:26, Chris Johns wrote: >> On 15/10/21 5:15 pm, Sebastian Huber wrote: >>> On 22/09/2021 00:59, Chris Johns wrote: Module:    rtems-tools Branch:    master Commit:    cfd5aa41e847752cd98cde65515df7ce45ff9665 Changeset