Re: How to schedule a node on a different processor?

2020-08-19 Thread Richi Dubey
Thanks, I changed the _Scheduler_Strong_APA_Get_lowest_scheduled to make it responsible for preempting and allocating the processors and doing the entire backtracking on its own. On Tue, Aug 18, 2020 at 11:41 PM Gedare Bloom wrote: > On Tue, Aug 18, 2020 at 11:20 AM Richi Dubey wrote: > > > > H

Need help figuring out why ARM hits data_abort right after hitting Exception_interrupt

2020-08-19 Thread Richi Dubey
Hi, This mail is in continuation of https://lists.rtems.org/pipermail/devel/2020-August/061446.html. Right after the check_cpu_allocation test for the last action gets passed (code here

Re: Need help figuring out why ARM hits data_abort right after hitting Exception_interrupt

2020-08-19 Thread Sebastian Huber
On 19/08/2020 09:18, Richi Dubey wrote: This mail is in continuation of https://lists.rtems.org/pipermail/devel/2020-August/061446.html. Right after the check_cpu_allocation test for the last action gets passed (code here

Re: Need help figuring out why ARM hits data_abort right after hitting Exception_interrupt

2020-08-19 Thread Richi Dubey
Got it. Thanks for your answer. I'm working on your suggestion. On Wed, Aug 19, 2020 at 12:53 PM Sebastian Huber < sebastian.hu...@embedded-brains.de> wrote: > On 19/08/2020 09:18, Richi Dubey wrote: > > > This mail is in continuation of > > https://lists.rtems.org/pipermail/devel/2020-August/061

Re: Need help figuring out why ARM hits data_abort right after hitting Exception_interrupt

2020-08-19 Thread Sebastian Huber
On 19/08/2020 10:15, Richi Dubey wrote: Got it. Thanks for your answer. I'm working on your suggestion. As an addition to the use of GDB you can also use the event recording in combination with -finstrument-functions: https://docs.rtems.org/branches/master/user/tracing/eventrecording.html

[PATCH 1/5] eng: Add test case attributes

2020-08-19 Thread Sebastian Huber
Update #3715. --- eng/req/items.rst | 18 ++ 1 file changed, 18 insertions(+) diff --git a/eng/req/items.rst b/eng/req/items.rst index cba6cc6..d2b2860 100644 --- a/eng/req/items.rst +++ b/eng/req/items.rst @@ -1716,10 +1716,20 @@ test-brief The attribute value shall be an op

[PATCH 5/5] eng: Add automatically generated warning

2020-08-19 Thread Sebastian Huber
Update #3715. --- eng/req/items.rst | 7 +++ 1 file changed, 7 insertions(+) diff --git a/eng/req/items.rst b/eng/req/items.rst index 18b3366..0d73574 100644 --- a/eng/req/items.rst +++ b/eng/req/items.rst @@ -2,6 +2,13 @@ .. Copyright (C) 2019, 2020 embedded brains GmbH (http://www.embed

[PATCH 0/5] Improve specification of test cases

2020-08-19 Thread Sebastian Huber
This patch set resulted during the work to specify the Event Manager. Sebastian Huber (5): eng: Add test case attributes eng: Remove test name attribute eng: Add test header to test case eng: Unify test attribute keys eng: Add automatically generated warning eng/req/items.rst | 222 +++

[PATCH 2/5] eng: Remove test name attribute

2020-08-19 Thread Sebastian Huber
Derive the test name from the item UID. Update #3715. --- eng/req/items.rst | 28 1 file changed, 28 deletions(-) diff --git a/eng/req/items.rst b/eng/req/items.rst index d2b2860..030f47f 100644 --- a/eng/req/items.rst +++ b/eng/req/items.rst @@ -1745,9 +1745,6 @@ te

[PATCH 4/5] eng: Unify test attribute keys

2020-08-19 Thread Sebastian Huber
Update #3715. --- eng/req/items.rst | 38 +++--- 1 file changed, 19 insertions(+), 19 deletions(-) diff --git a/eng/req/items.rst b/eng/req/items.rst index 878c47e..18b3366 100644 --- a/eng/req/items.rst +++ b/eng/req/items.rst @@ -2042,55 +2042,55 @@ if the value

[PATCH 3/5] eng: Add test header to test case

2020-08-19 Thread Sebastian Huber
Update #3715. --- eng/req/items.rst | 159 -- 1 file changed, 82 insertions(+), 77 deletions(-) diff --git a/eng/req/items.rst b/eng/req/items.rst index 030f47f..878c47e 100644 --- a/eng/req/items.rst +++ b/eng/req/items.rst @@ -1735,7 +1735,7 @@ test-d

Re: [GSoC 2020]: Need help in writing sed alternative in Python for RSB recipes

2020-08-19 Thread Heinz Junkes
Hallo Mritunjay, this was an improvement in the EPICS configuration to include the tool/path definitions from the RTEMS BSP directory: configure/os/CONFIG.Common.RTEMS: ... #--- # Pick up the RTEMS tool/path definitions from the RTEMS BSP direc

Re: Need help figuring out why ARM hits data_abort right after hitting Exception_interrupt

2020-08-19 Thread Richi Dubey
Thanks, I'll check it out. On Wed, Aug 19, 2020 at 1:53 PM Sebastian Huber < sebastian.hu...@embedded-brains.de> wrote: > On 19/08/2020 10:15, Richi Dubey wrote: > > > Got it. Thanks for your answer. I'm working on your suggestion. > > As an addition to the use of GDB you can also use the event

Re: [PATCH] build: Use Python tarfile instead of pax

2020-08-19 Thread Joel Sherrill
On Tue, Aug 18, 2020 at 5:52 PM Chris Johns wrote: > On 18/8/20 9:16 pm, Sebastian Huber wrote: > > This patch is for the new build system. > > > > Looking forward to this change. > Me too. We determined that the Python tar defaulted to " POSIX.1-2001 (pax) format" which is newer than the "IEE

[PATCH] Confstr Patches

2020-08-19 Thread Eshan dhawan
Adds Confstr file To RTEMS with test Signed-off-by: Eshan dhawan --- cpukit/Makefile.am| 1 + cpukit/posix/src/confstr.c| 127 testsuites/psxtests/Makefile.am | 9 ++ testsuites/psxtests/configure.ac

Re: [PATCH] Confstr Patches

2020-08-19 Thread Sebastian Huber
On 19/08/2020 15:04, Eshan dhawan wrote: diff --git a/testsuites/psxtests/psxconfstr/init.c b/testsuites/psxtests/psxconfstr/init.c new file mode 100644 index 00..8660f04b29 --- /dev/null +++ b/testsuites/psxtests/psxconfstr/init.c @@ -0,0 +1,137 @@ +/* + * @file + * @brief Test suite

Re: [PATCH] Confstr Patches

2020-08-19 Thread Sebastian Huber
I don't think it make sense to use the FreeBSD implementation with this amount of #ifndef __rtems__. ___ devel mailing list devel@rtems.org http://lists.rtems.org/mailman/listinfo/devel

Re: [PATCH] build: Use Python tarfile instead of pax

2020-08-19 Thread Sebastian Huber
On 19/08/2020 14:44, Joel Sherrill wrote: On Tue, Aug 18, 2020 at 5:52 PM Chris Johns > wrote: On 18/8/20 9:16 pm, Sebastian Huber wrote: > This patch is for the new build system. Looking forward to this change. Me too. We determined that the Pytho

Re: [PATCH] Confstr Patches

2020-08-19 Thread Eshan Dhawan
On Wed, Aug 19, 2020 at 7:07 PM Sebastian Huber < sebastian.hu...@embedded-brains.de> wrote: > I don't think it make sense to use the FreeBSD implementation with this > amount of #ifndef __rtems__. > > I will send a new patch with for the changes in test and remove ifdef __rtems__ and code inside

Re: [PATCH] Confstr Patches

2020-08-19 Thread Eshan Dhawan
On Wed, Aug 19, 2020 at 7:05 PM Sebastian Huber < sebastian.hu...@embedded-brains.de> wrote: > On 19/08/2020 15:04, Eshan dhawan wrote: > > > diff --git a/testsuites/psxtests/psxconfstr/init.c > b/testsuites/psxtests/psxconfstr/init.c > > new file mode 100644 > > index 00..8660f04b29 > > -

Re: [PATCH] build: Use Python tarfile instead of pax

2020-08-19 Thread Joel Sherrill
On Wed, Aug 19, 2020 at 8:38 AM Sebastian Huber < sebastian.hu...@embedded-brains.de> wrote: > On 19/08/2020 14:44, Joel Sherrill wrote: > > > On Tue, Aug 18, 2020 at 5:52 PM Chris Johns > > wrote: > > > > On 18/8/20 9:16 pm, Sebastian Huber wrote: > > > This patc

[PATCH] Add Strong APA test

2020-08-19 Thread Richi Dubey
--- testsuites/smptests/smpstrongapa01/init.c | 85 +-- 1 file changed, 49 insertions(+), 36 deletions(-) diff --git a/testsuites/smptests/smpstrongapa01/init.c b/testsuites/smptests/smpstrongapa01/init.c index bf8bc05231..89cc6404b9 100644 --- a/testsuites/smptests/smpstrong

Re: [PATCH] Add Strong APA test

2020-08-19 Thread Richi Dubey
Hi, I would request someone to please verify if this patch looks correct since I am testing my code on this test. The logic is taken from the paper and I was wondering if the reset function is handled correctly in this test because I still h

Re: [PATCH] build: Use Python tarfile instead of pax

2020-08-19 Thread Sebastian Huber
On 19/08/2020 16:12, Joel Sherrill wrote: On Wed, Aug 19, 2020 at 8:38 AM Sebastian Huber > wrote: On 19/08/2020 14:44, Joel Sherrill wrote: > On Tue, Aug 18, 2020 at 5:52 PM Chris Johns mailto:chr...@rtems.org> >

Re: [PATCH] Add Strong APA test

2020-08-19 Thread Gedare Bloom
Hi Richi, On Wed, Aug 19, 2020 at 9:52 AM Richi Dubey wrote: > > Hi, > > I would request someone to please verify if this patch looks correct since I > am testing my code on this test. The logic is taken from the paper and I was > wondering if the reset function is handled correctly in this tes

Re: [PATCH] ada: Add missing attributes

2020-08-19 Thread Gedare Bloom
Looks good. I forgot about these with the barrier change... I guess there has been some bitrot in here. I wonder if there is an easier way to remember to keep this updated. On Tue, Aug 18, 2020 at 10:49 PM Sebastian Huber wrote: > > --- > cpukit/include/adainclude/rtems.ads | 9 + > 1 fi

Re: [PATCH 0/5] Improve specification of test cases

2020-08-19 Thread Gedare Bloom
Looks good, thanks On Wed, Aug 19, 2020 at 3:14 AM Sebastian Huber wrote: > > This patch set resulted during the work to specify the Event Manager. > > Sebastian Huber (5): > eng: Add test case attributes > eng: Remove test name attribute > eng: Add test header to test case > eng: Unify t

Re: [PATCH] ada: Add missing attributes

2020-08-19 Thread Joel Sherrill
On Wed, Aug 19, 2020, 12:20 PM Gedare Bloom wrote: > Looks good. I forgot about these with the barrier change... I guess > there has been some bitrot in here. I wonder if there is an easier way > to remember to keep this updated. > I don't know. The binding and tests are derived from the old Ada

Re: [PATCH] Add Strong APA test

2020-08-19 Thread Richi Dubey
Hi, Sorry, I left the meeting early. It was earlier : > SET_PRIORITY( T2,P(2), T2, T0, T1), but now after checking thoroughly, I can confirm that it ought to be (because of the way affinities are set and checked while running the get_lowest_scheduled logic) : SET_PRIORITY( T2,P(2), T2, T1,

Re: [GSoC 2020]: Need help in writing sed alternative in Python for RSB recipes

2020-08-19 Thread Mritunjay Sharma
[UPDATE]: Finally modified the RSB recipes to make them work with make utility and EPICS was built successfully. iff --git a/source-builder/config/epics-7-1.cfg b/source-builder/config/epics-7-1.cfg index f51c6582..a9581a2e 100644 --- a/source-builder/config/epics-7-1.cfg +++ b/source-builder/conf

Re: [GSoC 2020]: Need help in writing sed alternative in Python for RSB recipes

2020-08-19 Thread Chris Johns
On 19/8/20 7:17 pm, Heinz Junkes wrote: > The assumption was that Makefile.inc is present in every BSP. You can for RTEMS 5 and I suppose RTEMS 6 but after that it is not as clear. I am concerned about hidden complexity in Makefile.inc that may be exposed in a generated version in RTEMS 6 and so i

Re: [GSoC 2020]: Need help in writing sed alternative in Python for RSB recipes

2020-08-19 Thread Chris Johns
On 20/8/20 8:09 am, Mritunjay Sharma wrote: > [UPDATE]: Finally modified the RSB recipes to make them work with make utility > and EPICS was built successfully. Great you have had some success but there is a lot more work before it is usable. > iff --git a/source-builder/config/epics-7-1.cfg >

Re: [PATCH] Fix -Wchar-subscripts warnings

2020-08-19 Thread Sebastian Huber
On 18/08/2020 17:31, Aschref Ben-Thabet wrote: From: Aschref Ben Thabet The argument to the ctype functions must be an int and the value of the character must be representable as an unsigned char or equal to the value of the macro EOF. If the argument has any other value, the behavior is undefi

Re: [PATCH] psxkey01: Fix configuration

2020-08-19 Thread Sebastian Huber
On 18/08/2020 17:52, Aschref Ben-Thabet wrote: From: Aschref Ben Thabet Key_ID array must have the right size, it shall have a value greater than zero. Note: In Standard C and C++, zero-size array is not allowed.. Thanks, I checked in the patch. ___

Re: [PATCH v4] Psxtest : Fix String Turncation warning

2020-08-19 Thread Sebastian Huber
Hallo Aschref, könntest du bitte die Reviews auf der RTEMS Mailinglist vorrangig behandeln. Wenn man einen Patch an die Mailingliste schickt, dann sollte man das auch durchziehen. Der Betreff im Commit sollte den Bereich der Änderung möglichst genau als Stichwort enthalten. Es gibt viele psx

Re: [PATCH v4] Psxtest : Fix String Turncation warning

2020-08-19 Thread Sebastian Huber
On 20/08/2020 08:04, Sebastian Huber wrote: Hallo Aschref, könntest du bitte die Reviews auf der RTEMS Mailinglist vorrangig behandeln. Wenn man einen Patch an die Mailingliste schickt, dann sollte man das auch durchziehen. Der Betreff im Commit sollte den Bereich der Änderung möglichst gen