Re: [PATCH rtems-libbsd] imx: Remove ccm functions alredy defined in RTEMS

2021-08-31 Thread Christian MAUDERER
Hello Gedare and Chris, Am 01.09.21 um 07:55 schrieb Chris Johns: On 1/9/21 7:26 am, Gedare Bloom wrote: Sorry, i think libbsd is still a bit slushy, wait for Chris to ok thx I planned to wait for Chris work anyway. It is so please wait a day or so. I have just finished the last stage of t

Re: [PATCH rtems-libbsd] imx: Remove ccm functions alredy defined in RTEMS

2021-08-31 Thread Chris Johns
On 1/9/21 7:26 am, Gedare Bloom wrote: > Sorry, i think libbsd is still a bit slushy, wait for Chris to ok thx It is so please wait a day or so. I have just finished the last stage of target testing on PowerPC hardware. I wanted to meet with Joel today but he could not make at the last minute. T

Re: [PATCH] tester: Limit simultaneous QEMU jobs to 1

2021-08-31 Thread Chris Johns
On 1/9/21 12:25 pm, Kinsey Moore wrote: > I'll work toward this solution. Thanks, I appreciate your support in this area. Chris ___ devel mailing list devel@rtems.org http://lists.rtems.org/mailman/listinfo/devel

Re: [PATCH] score: Document Futex Handler

2021-08-31 Thread Sebastian Huber
On 31/08/2021 22:31, Joel Sherrill wrote: On Tue, Aug 31, 2021, 7:31 AM Sebastian Huber > wrote: Use EAGIN instead of EWOULDBLOCK to be in line with the Linux man page. EAGAIN AND Linux man page for what? The behaviour of the futex operations i

Re: [PATCH] tester: Limit simultaneous QEMU jobs to 1

2021-08-31 Thread Kinsey Moore
On 8/31/2021 18:00, Chris Johns wrote: On 31/8/21 6:30 pm, Sebastian Huber wrote: On 31/08/2021 09:00, Chris Johns wrote: On 31/8/21 3:20 pm, Sebastian Huber wrote: On 30/08/2021 20:32, Kinsey Moore wrote: On 8/30/2021 12:12, Sebastian Huber wrote: On 24/08/2021 20:45, Kinsey Moore wrote: d

Re: [PATCH v1 2/5] cpukit: Add Exception Manager

2021-08-31 Thread Kinsey Moore
On 8/31/2021 17:50, Chris Johns wrote: On 31/8/21 11:35 pm, Kinsey Moore wrote: On 8/31/2021 04:31, Sebastian Huber wrote: On 30/08/2021 17:13, Kinsey Moore wrote: On 8/30/2021 07:50, Sebastian Huber wrote: On 30/08/2021 14:27, Kinsey Moore wrote: On 8/30/2021 00:42, Sebastian Huber wrote:

Re: [PATCH] tester: Limit simultaneous QEMU jobs to 1

2021-08-31 Thread Chris Johns
On 31/8/21 6:30 pm, Sebastian Huber wrote: > On 31/08/2021 09:00, Chris Johns wrote: >> On 31/8/21 3:20 pm, Sebastian Huber wrote: >>> On 30/08/2021 20:32, Kinsey Moore wrote: On 8/30/2021 12:12, Sebastian Huber wrote: > On 24/08/2021 20:45, Kinsey Moore wrote: >> diff --git a/tester/r

Re: [PATCH v1 2/5] cpukit: Add Exception Manager

2021-08-31 Thread Chris Johns
On 31/8/21 11:35 pm, Kinsey Moore wrote: > On 8/31/2021 04:31, Sebastian Huber wrote: >> On 30/08/2021 17:13, Kinsey Moore wrote: >>> On 8/30/2021 07:50, Sebastian Huber wrote: On 30/08/2021 14:27, Kinsey Moore wrote: > On 8/30/2021 00:42, Sebastian Huber wrote: >> Hello Kinsey, >>

Re: [PATCH rtems-libbsd] imx: Remove ccm functions alredy defined in RTEMS

2021-08-31 Thread Gedare Bloom
Sorry, i think libbsd is still a bit slushy, wait for Chris to ok thx On Tue, Aug 31, 2021 at 3:21 PM Gedare Bloom wrote: > > ok > > On Tue, Aug 31, 2021 at 5:43 AM Christian Mauderer > wrote: > > > > The imx_ccm_*_hz are all defined in RTEMS. So don't duplicate them in > > libbsd. Otherwise som

Re: [PATCH rtems-libbsd] imx: Remove ccm functions alredy defined in RTEMS

2021-08-31 Thread Gedare Bloom
ok On Tue, Aug 31, 2021 at 5:43 AM Christian Mauderer wrote: > > The imx_ccm_*_hz are all defined in RTEMS. So don't duplicate them in > libbsd. Otherwise some applications get linker errors. > > Update #3869 > --- > freebsd/sys/arm/freescale/imx/imx6_ccm.c | 2 ++ > 1 file changed, 2 insertions

Re: [PATCH] score: Document Futex Handler

2021-08-31 Thread Joel Sherrill
On Tue, Aug 31, 2021, 7:31 AM Sebastian Huber < sebastian.hu...@embedded-brains.de> wrote: > Use EAGIN instead of EWOULDBLOCK to be in line with the Linux man page. > EAGAIN AND Linux man page for what? These error numbers have the same values in Newlib. > --- > cpukit/score/src/futex.c | 42 ++

Re: [PATCH v1 2/5] cpukit: Add Exception Manager

2021-08-31 Thread Kinsey Moore
On 8/31/2021 04:31, Sebastian Huber wrote: On 30/08/2021 17:13, Kinsey Moore wrote: On 8/30/2021 07:50, Sebastian Huber wrote: On 30/08/2021 14:27, Kinsey Moore wrote: On 8/30/2021 00:42, Sebastian Huber wrote: Hello Kinsey, why can't you use the existing fatal error extension for this? You

[PATCH] score: Document Futex Handler

2021-08-31 Thread Sebastian Huber
Use EAGIN instead of EWOULDBLOCK to be in line with the Linux man page. These error numbers have the same values in Newlib. --- cpukit/score/src/futex.c | 42 ++-- 1 file changed, 40 insertions(+), 2 deletions(-) diff --git a/cpukit/score/src/futex.c b/cpukit/s

[PATCH rtems-libbsd] imx: Remove ccm functions alredy defined in RTEMS

2021-08-31 Thread Christian Mauderer
The imx_ccm_*_hz are all defined in RTEMS. So don't duplicate them in libbsd. Otherwise some applications get linker errors. Update #3869 --- freebsd/sys/arm/freescale/imx/imx6_ccm.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/freebsd/sys/arm/freescale/imx/imx6_ccm.c b/freebsd/sys/arm/

[PATCH 1/5] score: Fix priority discipline handling

2021-08-31 Thread Sebastian Huber
The priority queues in clustered scheduling configurations use a per scheduler priority queue rotation to ensure FIFO fairness across schedulers. This mechanism is implemented in the thread queue surrender operation. Unfortunately some semaphore and message queue directives used wrongly the threa

[PATCH 2/5] score: Fix blocking message queue receive

2021-08-31 Thread Sebastian Huber
In order to ensure FIFO fairness across schedulers, the thread queue surrender operation must be used to dequeue a thread from the thread queue. The thread queue extract operation is intended for timeouts. Add _Thread_queue_Resume() which may be used to make extracted or surrendered threads ready

[PATCH 4/5] score: Remove _Thread_queue_Unblock_critical()

2021-08-31 Thread Sebastian Huber
This function was only used in one place. Replace it with a call to _Thread_queue_Resume(). --- cpukit/include/rtems/score/threadqimpl.h | 34 - cpukit/score/src/threadqenqueue.c| 38 2 files changed, 12 insertions(+), 60 deletions(-) diff --g

[PATCH 5/5] score: Update priority only if necessary

2021-08-31 Thread Sebastian Huber
In _Thread_queue_Flush_critical(), update the priority of the thread queue owner only if necessary. The scheduler update priority operation could be expensive. --- cpukit/include/rtems/score/threadqimpl.h | 4 ++-- cpukit/score/src/threadchangepriority.c | 2 +- cpukit/score/src/threadqflush.c

[PATCH 0/5] Thread queue related fixes and clean ups

2021-08-31 Thread Sebastian Huber
This patch set fixes some issues which popped up in the new validation tests. Sebastian Huber (5): score: Fix priority discipline handling score: Fix blocking message queue receive score: Remove _Thread_queue_First_locked() score: Remove _Thread_queue_Unblock_critical() score: Update pri

[PATCH 3/5] score: Remove _Thread_queue_First_locked()

2021-08-31 Thread Sebastian Huber
The _Thread_queue_First_locked() was only used in one place. Move the code of this inline function to this place. --- cpukit/include/rtems/score/threadqimpl.h | 28 cpukit/score/src/threadqfirst.c | 10 - 2 files changed, 9 insertions(+), 29 deletions(-)

Re: [PATCH v1 2/5] cpukit: Add Exception Manager

2021-08-31 Thread Sebastian Huber
On 30/08/2021 17:13, Kinsey Moore wrote: On 8/30/2021 07:50, Sebastian Huber wrote: On 30/08/2021 14:27, Kinsey Moore wrote: On 8/30/2021 00:42, Sebastian Huber wrote: Hello Kinsey, why can't you use the existing fatal error extension for this? You just have to test for an RTEMS_FATAL_SOURCE

Re: [PATCH] tester: Limit simultaneous QEMU jobs to 1

2021-08-31 Thread Sebastian Huber
On 31/08/2021 09:00, Chris Johns wrote: On 31/8/21 3:20 pm, Sebastian Huber wrote: On 30/08/2021 20:32, Kinsey Moore wrote: On 8/30/2021 12:12, Sebastian Huber wrote: On 24/08/2021 20:45, Kinsey Moore wrote: diff --git a/tester/rtems/testing/bsps/a53_ilp32_qemu.ini b/tester/rtems/testing/bsps

Re: [PATCH] tester: Limit simultaneous QEMU jobs to 1

2021-08-31 Thread Chris Johns
On 31/8/21 3:20 pm, Sebastian Huber wrote: > On 30/08/2021 20:32, Kinsey Moore wrote: >> On 8/30/2021 12:12, Sebastian Huber wrote: >>> On 24/08/2021 20:45, Kinsey Moore wrote: diff --git a/tester/rtems/testing/bsps/a53_ilp32_qemu.ini b/tester/rtems/testing/bsps/a53_ilp32_qemu.ini in