Re: [PATCH] membench: Add memory benchmark programs

2023-07-20 Thread Sebastian Huber
On 21.07.23 03:27, Chris Johns wrote: On 21/7/2023 3:51 am, Sebastian Huber wrote: On 20.07.23 18:58, Gedare Bloom wrote: On Thu, Jul 20, 2023 at 7:42 AM Sebastian Huber   wrote: These memory benchmark programs are not supposed to run.  Instead, they can be analysed on the host system to

[PATCH rtems-libbsd/6-freebsd-12 v2 3/4] freebsd/vfs: Pass in the td's cred to the VFS calls

2023-07-20 Thread chrisj
From: Chris Johns Closes #4723 --- rtemsbsd/rtems/rtems-kernel-vfs.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/rtemsbsd/rtems/rtems-kernel-vfs.c b/rtemsbsd/rtems/rtems-kernel-vfs.c index 2f4d009b..0817df81 100644 --- a/rtemsbsd/rtems/rtems-kernel-vfs.c +++

[PATCH rtems-libbsd/6-freebsd-12 v2 4/4] nfs: Support multiple mounts with the same path basename

2023-07-20 Thread chrisj
From: Chris Johns NFSv4 mounts NFS file systems to the flat root of a pseudo file system. This change allow the same basename to be used. --- rtemsbsd/fs/nfsclient/nfs.c| 31 +++-- rtemsbsd/rtems/rtems-bsd-syscall-api.c | 32 +++--- 2 files

v2 Patches to fix #4723

2023-07-20 Thread chrisj
Hi, This verison: 1. Fixes the comment after the review 2. The nfs01 test exits when finished rather than stopping in the shell 3. Add a fix to allow multiple mounts with the same mount basename Chris ___ devel mailing list devel@rtems.org

[PATCH rtems-libbsd/6-freebsd-12 v2 2/4] syscall/open: Reference the path info directory vnode

2023-07-20 Thread chrisj
From: Chris Johns The kernel open call requires a path so to open a file we need to set the current directory to the parent vnode. If the open mode is create the path info vnode is the directory to perform the open create in. Using the parent node creates the file in wrong path. Updates #4723

[PATCH rtems-libbsd/6-freebsd-12 v2 1/4] freenbsd/vfs: VFS attributes need to have the same size mode_t variable

2023-07-20 Thread chrisj
From: Chris Johns If the size in the attributes struct does not match the mode_t the VNOVAL checks fail because size of the values are not the same. Updates #4723 --- freebsd/sys/sys/vnode.h | 4 1 file changed, 4 insertions(+) diff --git a/freebsd/sys/sys/vnode.h

Re: [PATCH] membench: Add memory benchmark programs

2023-07-20 Thread Chris Johns
On 21/7/2023 3:51 am, Sebastian Huber wrote: > On 20.07.23 18:58, Gedare Bloom wrote: >> On Thu, Jul 20, 2023 at 7:42 AM Sebastian Huber >>   wrote: >>> These memory benchmark programs are not supposed to run.  Instead, they >>> can be analysed on the host system to measure the memory usage of >>>

Re: [PATCH 0/2] Add two unit tests

2023-07-20 Thread Chris Johns
+1 Chris On 21/7/2023 3:11 am, Gedare Bloom wrote: > Looks good with a couple minor typo/grammar fixes. > > On Thu, Jul 20, 2023 at 7:40 AM Sebastian Huber > wrote: >> >> >> Frank Kühndel (2): >> unit: Test POSIX-specific message queue impl >> unit: Test unlimited objects configuration >>

Re: [PATCH rtems-source-builder v3] bare/config: add renode rsb installation config

2023-07-20 Thread Chris Johns
OK to push. Chris On 21/7/2023 8:05 am, Muhammad Sulthan Mazaya wrote: > Change file name based on Chris's review here > https://lists.rtems.org/pipermail/devel/2023-July/075802.html > > Plus, fix `cp` so that it also include dotfiles. Because without the > the `.renode-root` file the command

Re: [PATCH 1/3] 6/7: Update Newlib

2023-07-20 Thread Chris Johns
OK to these updates. Thanks Chris On 21/7/2023 5:03 am, Sebastian Huber wrote: > Keep RTEMS up to date with the upstream development. > --- > rtems/config/tools/rtems-gcc-10-newlib-head.cfg | 4 ++-- > rtems/config/tools/rtems-gcc-10.4-newlib-head.cfg | 4 ++-- >

[PATCH rtems-source-builder v3] bare/config: add renode rsb installation config

2023-07-20 Thread Muhammad Sulthan Mazaya
Change file name based on Chris's review here https://lists.rtems.org/pipermail/devel/2023-July/075802.html Plus, fix `cp` so that it also include dotfiles. Because without the the `.renode-root` file the command won't work. --- bare/config/devel/renode-1.13.3-1.cfg | 11 ++

[PATCH 3/3] 7: Update Binutils, GDB, and GCC

2023-07-20 Thread Sebastian Huber
Keep RTEMS up to date with the upstream development. --- rtems/config/tools/rtems-binutils-head.cfg| 4 ++-- rtems/config/tools/rtems-gcc-head-newlib-head.cfg | 4 ++-- rtems/config/tools/rtems-gdb-head.cfg | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git

[PATCH 1/3] 6/7: Update Newlib

2023-07-20 Thread Sebastian Huber
Keep RTEMS up to date with the upstream development. --- rtems/config/tools/rtems-gcc-10-newlib-head.cfg | 4 ++-- rtems/config/tools/rtems-gcc-10.4-newlib-head.cfg | 4 ++-- rtems/config/tools/rtems-gcc-12-newlib-head.cfg | 4 ++-- rtems/config/tools/rtems-gcc-13-newlib-head.cfg | 4 ++--

[PATCH 2/3] 6: Update GCC 10, 12 and 13

2023-07-20 Thread Sebastian Huber
Keep RTEMS up to date with the upstream development. --- rtems/config/tools/rtems-gcc-10-newlib-head.cfg | 4 ++-- rtems/config/tools/rtems-gcc-12-newlib-head.cfg | 4 ++-- rtems/config/tools/rtems-gcc-13-newlib-head.cfg | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git

Re: Building leon3 prom image for testing on renode

2023-07-20 Thread Joel Sherrill
On Wed, Jul 19, 2023 at 10:30 PM Alan Cudmore wrote: > Hi Mazaya, > > On Tue, Jul 18, 2023 at 8:35 PM Muhammad Sulthan Mazaya < > msulthanmaz...@gmail.com> wrote: > >> Hi Alan, >> >> > Also, as you mentioned, the renode Zephyr example runs directly from >> RAM without a prom image. Is it that

Re: [PATCH rtems-libbsd/6-freebsd-12 2/3] syscall/open: Reference the path info directory vnode

2023-07-20 Thread Cedric Berger
On 20.07.23 09:52, Chris Johns wrote: On 20/7/2023 5:24 pm, Cedric Berger wrote: On 20.07.23 07:45, chr...@rtems.org wrote: From: Chris Johns The kernel open call requires a path so to open a file we need to set the current directory to the parent vnode. If the open mode is create the path

Re: [PATCH] membench: Add memory benchmark programs

2023-07-20 Thread Sebastian Huber
On 20.07.23 18:58, Gedare Bloom wrote: On Thu, Jul 20, 2023 at 7:42 AM Sebastian Huber wrote: These memory benchmark programs are not supposed to run. Instead, they can be analysed on the host system to measure the memory usage of features. See the membench module of rtems-central. This

Re: [PATCH] validation: Improve sparc/leon3 shutdown test

2023-07-20 Thread Gedare Bloom
LGTM. If this will be repeated for other architectures in the future, it may be worth defining an expected fatal code. On Thu, Jul 20, 2023 at 3:57 AM Sebastian Huber wrote: > > Test the shutdown halt separately from the SMP-specific shutdown > request. > > Update #3716. > --- >

Re: [PATCH] c-user: Add glossary terms for SPARC targets

2023-07-20 Thread Gedare Bloom
ok On Thu, Jul 20, 2023 at 6:48 AM Sebastian Huber wrote: > > --- > c-user/glossary.rst | 30 ++ > 1 file changed, 30 insertions(+) > > diff --git a/c-user/glossary.rst b/c-user/glossary.rst > index 6102d88..df3b9a3 100644 > --- a/c-user/glossary.rst > +++

Re: [PATCH] doxgen: Document build system provided files

2023-07-20 Thread Gedare Bloom
On Thu, Jul 20, 2023 at 7:20 AM Sebastian Huber wrote: > > Update #3707. > --- > cpukit/doxygen/build.h | 82 ++ > 1 file changed, 82 insertions(+) > create mode 100644 cpukit/doxygen/build.h > > diff --git a/cpukit/doxygen/build.h

Re: [PATCH 0/2] Add two unit tests

2023-07-20 Thread Gedare Bloom
Looks good with a couple minor typo/grammar fixes. On Thu, Jul 20, 2023 at 7:40 AM Sebastian Huber wrote: > > > Frank Kühndel (2): > unit: Test POSIX-specific message queue impl > unit: Test unlimited objects configuration > > .../build/testsuites/unit/unit-no-clock-0.yml | 2 + >

Re: [PATCH 1/2] unit: Test POSIX-specific message queue impl

2023-07-20 Thread Gedare Bloom
Minor nits. On Thu, Jul 20, 2023 at 7:40 AM Sebastian Huber wrote: > > From: Frank Kühndel > > This unit test covers code paths of the Message Handler which are only > reached by through POSIX message queue API. > > Update #3716. > --- > .../build/testsuites/unit/unit-no-clock-0.yml | 1 + >

Re: [PATCH] membench: Add memory benchmark programs

2023-07-20 Thread Gedare Bloom
On Thu, Jul 20, 2023 at 7:42 AM Sebastian Huber wrote: > > These memory benchmark programs are not supposed to run. Instead, they > can be analysed on the host system to measure the memory usage of > features. See the membench module of rtems-central. > This needs some kind of documentation and

[PATCH 2/2] unit: Test unlimited objects configuration

2023-07-20 Thread Sebastian Huber
From: Frank Kühndel This unit test covers code paths which are only reached if unlimited objects are used. Update #3716. --- .../build/testsuites/unit/unit-no-clock-0.yml | 1 + testsuites/unit/tc-config.c | 171 ++ 2 files changed, 172 insertions(+) create

[PATCH 0/2] Add two unit tests

2023-07-20 Thread Sebastian Huber
Frank Kühndel (2): unit: Test POSIX-specific message queue impl unit: Test unlimited objects configuration .../build/testsuites/unit/unit-no-clock-0.yml | 2 + testsuites/unit/tc-config.c | 171 +++ testsuites/unit/tc-score-msgq.c | 452

[PATCH 1/2] unit: Test POSIX-specific message queue impl

2023-07-20 Thread Sebastian Huber
From: Frank Kühndel This unit test covers code paths of the Message Handler which are only reached by through POSIX message queue API. Update #3716. --- .../build/testsuites/unit/unit-no-clock-0.yml | 1 + testsuites/unit/tc-score-msgq.c | 452 ++ 2 files

[PATCH] doxgen: Document build system provided files

2023-07-20 Thread Sebastian Huber
Update #3707. --- cpukit/doxygen/build.h | 82 ++ 1 file changed, 82 insertions(+) create mode 100644 cpukit/doxygen/build.h diff --git a/cpukit/doxygen/build.h b/cpukit/doxygen/build.h new file mode 100644 index 00..e76c173eb8 --- /dev/null +++

[PATCH] c-user: Add glossary terms for SPARC targets

2023-07-20 Thread Sebastian Huber
--- c-user/glossary.rst | 30 ++ 1 file changed, 30 insertions(+) diff --git a/c-user/glossary.rst b/c-user/glossary.rst index 6102d88..df3b9a3 100644 --- a/c-user/glossary.rst +++ b/c-user/glossary.rst @@ -382,6 +382,18 @@ Glossary GNU This term is an

[PATCH] validation: Improve sparc/leon3 shutdown test

2023-07-20 Thread Sebastian Huber
Test the shutdown halt separately from the SMP-specific shutdown request. Update #3716. --- .../bsps/fatal-sparc-leon3-shutdown.yml | 11 +- .../validation/bsps/objsparcleon3shutdown.yml | 17 +++ .../bsps/tc-fatal-sparc-leon3-shutdown-halt.c | 142 ++ ...>

Re: [PATCH rtems-libbsd/6-freebsd-12 2/3] syscall/open: Reference the path info directory vnode

2023-07-20 Thread Chris Johns
On 20/7/2023 5:24 pm, Cedric Berger wrote: > On 20.07.23 07:45, chr...@rtems.org wrote: > >> From: Chris Johns >> >> The kernel open call requires a path so to open a file we need to >> set the current directory to the parent vnode. If the open mode is >> create the path info vnode is the

Re: [PATCH rtems-libbsd/6-freebsd-12 2/3] syscall/open: Reference the path info directory vnode

2023-07-20 Thread Cedric Berger
On 20.07.23 07:45, chr...@rtems.org wrote: From: Chris Johns The kernel open call requires a path so to open a file we need to set the current directory to the parent vnode. If the open mode is create the path info vnode is the directory to perform the open create in. Using the parent node