Re: Ticket 4503

2021-10-18 Thread zack leung
bump On Sat, 25 Sept 2021 at 00:26, zack leung wrote: > bump > > On Thu, 9 Sept 2021 at 02:17, zack leung wrote: > >> >Thanks! I guess i'm really unsure about how the pointer relates to the >> amount of memory that you can use. I assume the Malloc keeps track of the >> sections being used in

Re: Ticket 4429

2021-10-18 Thread zack leung
bump On Wed, 6 Oct 2021 at 00:30, zack leung wrote: > For relative times, the clock identifier is not used to select the clock > and instead always the CLOCK_MONOTONIC is used. A side-effect is that > sleep() and nanosleep() use the wrong clock (CLOCK_MONOTONIC instead of > CLOCK_REALTIME). >

[PATCH] fix memory leak within calloc.c libtests

2021-10-18 Thread zack leung
fix came from github code inspector, flagged by one of the analysis that was done --- testsuites/libtests/POSIX/calloc.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/testsuites/libtests/POSIX/calloc.c b/testsuites/libtests/POSIX/calloc.c index bd04faa800..a7537c8cc4

Re: [PATCH] rtems/6: Update binutils to 2.37

2021-10-18 Thread Chris Johns
On 19/10/21 9:23 am, Joel Sherrill wrote: > Was there something wrong with Ryan's patch to do this? He also bumped RTEMS 7 > tools.  No not at all. > You reviewed it. :) I thought I had reviewed it and I checked the repo today and could not see anything. Is it pushed? Chris

Re: [PATCH] rtems/6: Update binutils to 2.37

2021-10-18 Thread Joel Sherrill
Was there something wrong with Ryan's patch to do this? He also bumped RTEMS 7 tools. You reviewed it. :) On Mon, Oct 18, 2021, 5:20 PM wrote: > From: Chris Johns > > --- > rtems/config/6/rtems-default.bset | 2 +- > rtems/config/tools/rtems-binutils-2.37.cfg | 15 +++ >

[PATCH] rtems/6: Update binutils to 2.37

2021-10-18 Thread chrisj
From: Chris Johns --- rtems/config/6/rtems-default.bset | 2 +- rtems/config/tools/rtems-binutils-2.37.cfg | 15 +++ 2 files changed, 16 insertions(+), 1 deletion(-) create mode 100644 rtems/config/tools/rtems-binutils-2.37.cfg diff --git

Re: ZynqMP and Versal crash clearing coherent cache memory with memset

2021-10-18 Thread Chris Johns
On 19/10/21 8:59 am, Joel Sherrill wrote: > On Mon, Oct 18, 2021 at 4:28 PM Chris Johns wrote: >> >> On 19/10/21 3:53 am, Kinsey Moore wrote: >>> On 10/18/2021 00:44, Chris Johns wrote: Hi, I cannot run libbsd on real hardware because the cadence rx descriptor cache

Re: ZynqMP and Versal crash clearing coherent cache memory with memset

2021-10-18 Thread Joel Sherrill
On Mon, Oct 18, 2021 at 4:28 PM Chris Johns wrote: > > On 19/10/21 3:53 am, Kinsey Moore wrote: > > On 10/18/2021 00:44, Chris Johns wrote: > >> Hi, > >> > >> I cannot run libbsd on real hardware because the cadence rx descriptor > >> cache > >> coherent allocation crashes in `memset`. It is

Re: [PATCH RSB] rtems-tools-6.cfg: Bump hash to include MicroBlaze

2021-10-18 Thread Chris Johns
OK and thanks Chris On 19/10/21 2:09 am, Alex White wrote: > Hash: 323007a6b520140a20b2e268c90b78ff67afaf45 > --- > rtems/config/tools/rtems-tools-6.cfg | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > > diff --git a/rtems/config/tools/rtems-tools-6.cfg >

Re: ZynqMP and Versal crash clearing coherent cache memory with memset

2021-10-18 Thread Chris Johns
On 19/10/21 3:53 am, Kinsey Moore wrote: > On 10/18/2021 00:44, Chris Johns wrote: >> 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

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: ZynqMP and Versal crash clearing coherent cache memory with memset

2021-10-18 Thread Kinsey Moore
On 10/18/2021 00:44, Chris Johns wrote: 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

[PATCH RSB] rtems-tools-6.cfg: Bump hash to include MicroBlaze

2021-10-18 Thread Alex White
Hash: 323007a6b520140a20b2e268c90b78ff67afaf45 --- rtems/config/tools/rtems-tools-6.cfg | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/rtems/config/tools/rtems-tools-6.cfg b/rtems/config/tools/rtems-tools-6.cfg index cfb..4158753 100644 ---

Re:

2021-10-18 Thread Alex White
Hi, Ignore this. It looks like my ".patch" file was malformed somehow. I will see if I can fix it and resend. Alex From: devel on behalf of Alex White Sent: Monday, October 18, 2021 10:01 AM To: devel@rtems.org Subject: >From

[no subject]

2021-10-18 Thread Alex White
>From c47d01739f2abf79a1423ea3cdcc7e98c621b222 Mon Sep 17 00:00:00 2001 From: Alex White Date: Thu, 14 Oct 2021 01:44:08 -0500 Subject: [PATCH RSB] rtems-tools-6.cfg: Bump hash to include MicroBlaze Hash: 323007a6b520140a20b2e268c90b78ff67afaf45 --- rtems/config/tools/rtems-tools-6.cfg | 4 ++--

Re: [PATCH 3/3] bsps/aarch64: use SMC API in bspreset-arm-psci

2021-10-18 Thread Kinsey Moore
Comments below. On 10/16/2021 15:12, Gedare Bloom wrote: --- bsps/shared/start/bspreset-arm-psci.c | 20 1 file changed, 20 insertions(+) diff --git a/bsps/shared/start/bspreset-arm-psci.c b/bsps/shared/start/bspreset-arm-psci.c index 215be5c9b5..bafdfe6299 100644 ---

Re: [PATCH 1/3] aarch64: add internal API for secure monitor call (smc)

2021-10-18 Thread Kinsey Moore
Comments inline below. On 10/16/2021 15:12, Gedare Bloom wrote: --- cpukit/score/cpu/aarch64/aarch64-smc.c| 72 .../aarch64/include/rtems/score/aarch64-smc.h | 84 +++ spec/build/cpukit/cpuaarch64.yml | 2 + 3 files changed, 158

[PATCH] score: Move code block to separate function

2021-10-18 Thread Sebastian Huber
Move a code block to the new function _Thread_Scheduler_withdraw_nodes() to make ease code review. --- cpukit/score/src/threadscheduler.c | 58 -- 1 file changed, 32 insertions(+), 26 deletions(-) diff --git a/cpukit/score/src/threadscheduler.c

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