[PATCH] bsps/raspberrypi: Add SEV instruction to Pi SMP

2021-08-06 Thread pranav
Add Send Event instruction to get the SMP working on the Pi. Patch doesn't work for SMP on Pi 2 v1.1 --- bsps/arm/raspberrypi/include/bsp/irq.h | 1 + bsps/arm/raspberrypi/start/bspsmp.c| 1 + 2 files changed, 2 insertions(+) diff --git a/bsps/arm/raspberrypi/include/bsp/irq.h b/bsps/arm/ras

[PATCH 1/1] libc: Added prototypes for new POSIX APIs

2021-08-06 Thread Matt Joyce
Added function prototypes to newlib/libc/include/pthread.h for the following Issue 8 Standard APIs: pthread_cond_clockwait() pthread_mutex_clocklock() pthread_rwlock_clockrdlock() pthread_rwlock_clockwrlock() --- newlib/libc/include/pthread.h | 31 +++ 1 file changed, 3

[PATCH 0/1] libc: Added Prototypes for POSIX Clock APIs

2021-08-06 Thread Matt Joyce
Added function prototypes to newlib/libc/include/pthread.h for the following APIs: 1) pthread_cond_clockwait() 2) pthread_mutex_clocklock() 3) pthread_rwlock_clockrdlock() 3) pthread_rwlock_clockwrlock() All four will be newly added to the Issue 8 POSIX Standard. Matt Joyce (1): libc: Added pr

[PATCH 0/2] testsuites: Add Compile Tests for POSIX Clock APIs

2021-08-06 Thread Matt Joyce
Added compile only tests in cpukit/testsuites/psxtests/psxhdrs/pthread for the following APIs: 1) pthread_cond_clockwait() 2) pthread_mutex_clocklock() 3) pthread_rwlock_clockrdlock() 4) pthread_rwlock_clockwrlock() All four methods are being added to the Issue 8 POSIX Standard. Matt Joyce (2):

[PATCH 1/2] testsuites: added compile tests for new APIs

2021-08-06 Thread Matt Joyce
Added compile only tests for new POSIX standard APIs pthread_rwlock_clockrdlock() and pthread_rwlock_clockwrlock() in testsuites/psxtests/psxhdrs/pthread --- spec/build/testsuites/psxtests/libpsxhdrs.yml | 2 + .../pthread/pthread_rwlock_clockrdlock.c | 59 +++ .../pthread/pt

[PATCH 2/2] testsuites: added compile tests for new APIs

2021-08-06 Thread Matt Joyce
Added compile only tests for new POSIX standard APIs pthread_cond_clockwait and pthread_mutex_clocklock in testsuites/psxtests/psxhdrs/pthread --- spec/build/testsuites/psxtests/libpsxhdrs.yml | 2 + .../psxhdrs/pthread/pthread_cond_clockwait.c | 54 ++ .../psxhdrs/pthread/pthrea

Re: [PATCH] bsps/raspberrypi: Add SEV instruction to Pi SMP

2021-08-06 Thread Joel Sherrill
On Fri, Aug 6, 2021 at 5:11 AM pranav wrote: > > Add Send Event instruction to get the SMP working on the Pi. Patch > doesn't work for SMP on Pi 2 v1.1 > --- > bsps/arm/raspberrypi/include/bsp/irq.h | 1 + > bsps/arm/raspberrypi/start/bspsmp.c| 1 + > 2 files changed, 2 insertions(+) > > diff

Re: [PATCH 1/1] libc: Added prototypes for new POSIX APIs

2021-08-06 Thread Matthew Joyce
Thanks very much for the quick reply! Ok, I'll make that change and submit. Sincerely, Matt On Fri, Aug 6, 2021 at 3:52 PM Joel Sherrill wrote: > > On Fri, Aug 6, 2021 at 8:37 AM Matt Joyce wrote: > > > > Added function prototypes to newlib/libc/include/pthread.h > > for the following Issue 8

Re: [PATCH 1/1] libc: Added prototypes for new POSIX APIs

2021-08-06 Thread Joel Sherrill
On Fri, Aug 6, 2021 at 8:37 AM Matt Joyce wrote: > > Added function prototypes to newlib/libc/include/pthread.h > for the following Issue 8 Standard APIs: > pthread_cond_clockwait() > pthread_mutex_clocklock() > pthread_rwlock_clockrdlock() > pthread_rwlock_clockwrlock() > --- > newlib/libc/inclu

Re: [PATCH 2/2] testsuites: added compile tests for new APIs

2021-08-06 Thread Joel Sherrill
I'm hoping you sent the same patch twice. Otherwise, I don't know what is the difference. :) On Fri, Aug 6, 2021 at 8:42 AM Matt Joyce wrote: > > Added compile only tests for new POSIX standard APIs pthread_cond_clockwait > and > pthread_mutex_clocklock in testsuites/psxtests/psxhdrs/pthread > -

Re: [PATCH v3] Test needed for timer_create with CLOCK_MONOTONIC

2021-08-06 Thread zack leung
How do i report the findings of the psx and tests? Thanks Zack On Thu, 5 Aug 2021 at 19:23, Gedare Bloom wrote: > On Thu, Aug 5, 2021 at 12:36 PM Zacchaeus Leung > wrote: > > > > the timer_create() method can use CLOCK_MONOTONIC but there was no test > for this > > > The commit message nee

Re: [PATCH] bsps/raspberrypi: Add SEV instruction to Pi SMP

2021-08-06 Thread Pranav Dangi
The Pi firmware added a wfe(wait for event) so now, the cores 1-3 wait for the start address being written to the mailbox register, followed by a SEV that acts as a poke to the mailbox, or in other words, a wfe wake-up event. I've added the SEV correspondingly here. So, would 'Add SEV instruction'

Re: [PATCH] bsps/raspberrypi: Add SEV instruction to Pi SMP

2021-08-06 Thread Joel Sherrill
On Fri, Aug 6, 2021 at 1:19 PM Pranav Dangi wrote: > > The Pi firmware added a wfe(wait for event) so now, the cores 1-3 wait > for the start address being written to the mailbox register, followed > by a SEV that acts as a poke to the mailbox, or in other words, a wfe > wake-up event. I've added

[PATCH 0/1] testsuites: Add Compile Tests for POSIX Clock APIs

2021-08-06 Thread Matt Joyce
Re-submitting based on recommended edits: (Defined _GNU_SOURCE, initialized timespec struct, added comment identifying Issue 8 as the origin of the methods) Thank you! ** Added compile only tests in cpukit/testsuites/psxtests/psxhdrs/pthread for the following APIs: 1) pthread_cond_clockw

[PATCH 1/1] testsuites: added compile tests for new APIs

2021-08-06 Thread Matt Joyce
Added compile only tests for the following POSIX standard APIs: 1) pthread_rwlock_clockrdlock() 2) pthread_rwlock_clockwrlock() 3) pthread_cond_clockwait() 4) pthread_mutex_clocklock() All four were added to Issue 8 POSIX Standard and were added to testsuites/psxtests/psxhdrs/pthread. --- spec/bu

[PATCH] user: Update rsb-packages to reflect RTEMS 6 changes

2021-08-06 Thread Ray Garza
This updates all references and examples in the rtems docs: user/start/rsb-packages.rst to RTEMS 6 --- user/start/rsb-packages.rst | 68 ++--- 1 file changed, 34 insertions(+), 34 deletions(-) diff --git a/user/start/rsb-packages.rst b/user/start/rsb-packages.rst