Re: [PATCH] tests: Avoid printf versions that uses floats

2018-09-19 Thread Sebastian Huber
I am not sure if we should introduce this Newlib-specific functions in throughout the code base. The siprintf() is currently not used. I am more in favour to enable the FPU for the corresponding tasks. The rest of the patch series looks good. -- Sebastian Huber, embedded brains GmbH Address

Re: [PATCH] clang: Keep -qrtems and -B for compilers without -specs support

2018-09-19 Thread Sebastian Huber
On 19/09/2018 17:43, Joel Sherrill wrote: Just an aside that I have done a fair amount of clean up on the bsp_specs on a local branch with corresponding GCC patches to begin to eliminate the need for them. I think the x86_64 tools are built with a subset of that patch and have an empty

Re: GR740-SMP BSP test results (gcc-7.2)

2018-09-19 Thread Sebastian Huber
Hello Daniel, thanks for your status report. The RSB uses currently GCC 7.3.0 without patches and the Newlib commit d13c84eb07e35984bf7a974cd786a6cdac29e6b9. On 19/09/2018 14:46, Daniel Hellstrom wrote: Hi, I just wanted to share the current test status for the GR740 I have today, using

Re: [PATCH] clang: Keep -qrtems and -B for compilers without -specs support

2018-09-19 Thread Joel Sherrill
Just an aside that I have done a fair amount of clean up on the bsp_specs on a local branch with corresponding GCC patches to begin to eliminate the need for them. I think the x86_64 tools are built with a subset of that patch and have an empty bsp_specs. Hopefully after the next rtems release I

[PATCH] clang: Keep -qrtems and -B for compilers without -specs support

2018-09-19 Thread Daniel Hellstrom
From: Jacob Hansen This is needed for building rtems correctly with Clang. Note that this change does not mean rtems can build correctly with mainline clang. However the change allows building rtems with a Clang toolchain that has a rtems frontend similar that of GCC's builtin rtems specs. ---

[PATCH] leon: remove warning missing string.h

2018-09-19 Thread Daniel Hellstrom
--- bsps/sparc/shared/uart/cons.c | 1 + 1 file changed, 1 insertion(+) diff --git a/bsps/sparc/shared/uart/cons.c b/bsps/sparc/shared/uart/cons.c index 37f448c..410d6e2 100644 --- a/bsps/sparc/shared/uart/cons.c +++ b/bsps/sparc/shared/uart/cons.c @@ -14,6 +14,7 @@ #include #include

[PATCH] smp03: make printout match actual task name

2018-09-19 Thread Daniel Hellstrom
--- testsuites/smptests/smp03/init.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/testsuites/smptests/smp03/init.c b/testsuites/smptests/smp03/init.c index 3ad0352..cd6bba1 100644 --- a/testsuites/smptests/smp03/init.c +++ b/testsuites/smptests/smp03/init.c @@ -96,7 +96,7

[PATCH] leon, grspw_pkt: support CCSDS/ISO16 data CRC

2018-09-19 Thread Daniel Hellstrom
From: Martin Aberg When the CCSDS/CCITT CRC-16 and 16-bit ISO-checksum logic is available in GRSPW2, the DCRCT field is used to determine how to generate the CRC/checksum code. grspw_hw_sup has been extended with the field ccsds_crc --- bsps/sparc/include/bsp/grspw_pkt.h | 16 ++--

[PATCH] tm26: enable FP context when fprintf used

2018-09-19 Thread Daniel Hellstrom
calling rtems_print_printer_fprintf_putc() results in usage of vfprintf() which may use floating point instructions in its implementation. --- testsuites/tmtests/tm26/system.h | 1 + 1 file changed, 1 insertion(+) diff --git a/testsuites/tmtests/tm26/system.h b/testsuites/tmtests/tm26/system.h

[PATCH] leon, grspw_pkt: protect TX descriptor from bad input (hdrlen)

2018-09-19 Thread Daniel Hellstrom
--- bsps/sparc/shared/spw/grspw_pkt.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/bsps/sparc/shared/spw/grspw_pkt.c b/bsps/sparc/shared/spw/grspw_pkt.c index ff481f2..39f5087 100644 --- a/bsps/sparc/shared/spw/grspw_pkt.c +++ b/bsps/sparc/shared/spw/grspw_pkt.c @@

[PATCH] sparc: clang AS does no accept UNIMP without argument

2018-09-19 Thread Daniel Hellstrom
--- cpukit/score/cpu/sparc/include/rtems/score/cpuimpl.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cpukit/score/cpu/sparc/include/rtems/score/cpuimpl.h b/cpukit/score/cpu/sparc/include/rtems/score/cpuimpl.h index c125b8a..7c31501 100644 ---

[PATCH] leon, l2cache: workaround for scrubber

2018-09-19 Thread Daniel Hellstrom
From: Martin Aberg This is a workaround for a L2CACHE scrubber corner case described in GR740 User's Manual, Version 1.10, section 43.2.30. The issue affects some version of the L2CACHE. However, since the performance impact of the workaround is marginal, special device probing logic has been

[PATCH] tests: Avoid printf versions that uses floats

2018-09-19 Thread Daniel Hellstrom
From: Daniel Cederman --- testsuites/fstests/fserror/test.c| 8 +++--- testsuites/fstests/fspermission/test.c | 2 +- testsuites/fstests/fsrename/test.c | 44 testsuites/libtests/block06/init.c | 4 +--

[PATCH] sparc: Remove sequence that could trigger B2BST errata

2018-09-19 Thread Daniel Hellstrom
From: Daniel Cederman --- cpukit/score/cpu/sparc/syscall.S | 2 -- 1 file changed, 2 deletions(-) diff --git a/cpukit/score/cpu/sparc/syscall.S b/cpukit/score/cpu/sparc/syscall.S index 574cf66..603ed7a 100644 --- a/cpukit/score/cpu/sparc/syscall.S +++ b/cpukit/score/cpu/sparc/syscall.S @@

[PATCH] leon3, ckinit: avoid unsued code warnings when drvmgr is enabled

2018-09-19 Thread Daniel Hellstrom
--- bsps/sparc/shared/btimer/tlib_ckinit.c | 9 ++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/bsps/sparc/shared/btimer/tlib_ckinit.c b/bsps/sparc/shared/btimer/tlib_ckinit.c index 3e2feb1..6643335 100644 --- a/bsps/sparc/shared/btimer/tlib_ckinit.c +++

[PATCH] leon3: fix warning when SMP is enabled

2018-09-19 Thread Daniel Hellstrom
--- bsps/sparc/leon3/clock/ckinit.c | 1 + 1 file changed, 1 insertion(+) diff --git a/bsps/sparc/leon3/clock/ckinit.c b/bsps/sparc/leon3/clock/ckinit.c index c3edaf2..0cd78ea 100644 --- a/bsps/sparc/leon3/clock/ckinit.c +++ b/bsps/sparc/leon3/clock/ckinit.c @@ -21,6 +21,7 @@ */ #include

Re: Four SMP tests fails after recent commit

2018-09-19 Thread Daniel Hellstrom
It works now with your patch. Thanks again. Daniel On 2018-09-19 12:23, Daniel Hellstrom wrote: Thanks for looking into it Sebastian. I will try it out now. On 2018-09-19 12:00, Sebastian Huber wrote: Hello Daniel, On 19/09/2018 11:32, Daniel Hellstrom wrote: Hi, When I rebased earlier

Re: Four SMP tests fails after recent commit

2018-09-19 Thread Daniel Hellstrom
Thanks for looking into it Sebastian. I will try it out now. On 2018-09-19 12:00, Sebastian Huber wrote: Hello Daniel, On 19/09/2018 11:32, Daniel Hellstrom wrote: Hi, When I rebased earlier this week four SMP test now fails (smp03, smppsxaffinity01, smpschedaffinity04,

Re: Four SMP tests fails after recent commit

2018-09-19 Thread Sebastian Huber
Hello Daniel, On 19/09/2018 11:32, Daniel Hellstrom wrote: Hi, When I rebased earlier this week four SMP test now fails (smp03, smppsxaffinity01, smpschedaffinity04, smpschedaffinity05). After some testing it turns out that after commit cfc4231d8fe1056fa501508a929c8ccaa1dd11be ("score: Add

Four SMP tests fails after recent commit

2018-09-19 Thread Daniel Hellstrom
Hi, When I rebased earlier this week four SMP test now fails (smp03, smppsxaffinity01, smpschedaffinity04, smpschedaffinity05). After some testing it turns out that after commit cfc4231d8fe1056fa501508a929c8ccaa1dd11be ("score: Add flexible per-CPU data") the tests fails when creating tasks