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

2021-10-19 Thread Chris Johns
On 20/10/21 2:46 am, Christian MAUDERER wrote: > Am 19.10.21 um 16:48 schrieb Sebastian Huber: >> >> >> On 18/10/2021 23:08, Chris Johns wrote: >>> On 18/10/21 8:37 pm, Sebastian Huber wrote: On 18/10/2021 09:53, Chris Johns wrote: > On 18/10/21 4:50 pm, Sebastian Huber wrote: >> On

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

2021-10-19 Thread Christian MAUDERER
Am 19.10.21 um 16:48 schrieb Sebastian Huber: On 18/10/2021 23:08, Chris Johns wrote: On 18/10/21 8:37 pm, Sebastian Huber wrote: On 18/10/2021 09:53, Chris Johns wrote: On 18/10/21 4:50 pm, Sebastian Huber wrote: On 18/10/2021 07:19,chr...@rtems.org   wrote: From: Chris Johns - Coherent

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

2021-10-19 Thread Sebastian Huber
On 18/10/2021 23:08, Chris Johns wrote: On 18/10/21 8:37 pm, Sebastian Huber wrote: On 18/10/2021 09:53, Chris Johns wrote: On 18/10/21 4:50 pm, Sebastian Huber wrote: On 18/10/2021 07:19,chr...@rtems.org   wrote: From: Chris Johns - Coherent cache memory is used in libbsd for things like

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

2021-10-18 Thread Chris Johns
On 18/10/21 8:37 pm, Sebastian Huber wrote: > On 18/10/2021 09:53, Chris Johns wrote: >> On 18/10/21 4:50 pm, Sebastian Huber wrote: >>> 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

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

2021-10-18 Thread Sebastian Huber
On 18/10/2021 09:53, Chris Johns wrote: On 18/10/21 4:50 pm, Sebastian Huber wrote: 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

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

2021-10-18 Thread Chris Johns
On 18/10/21 4:50 pm, Sebastian Huber wrote: > 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

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