Re: Fwd: New Defects reported by Coverity Scan for RTEMS

2020-12-09 Thread Sebastian Huber
On 08/12/2020 19:10, Gedare Bloom wrote: Hi all, I get a text report on new defects from Coverity. I don't know how I managed to sign up for it, and I'm not sure I can get it sent to any list automatically, but here is the current updated new defects. Just looks like two new ones related to

Re: Fwd: New Defects reported by Coverity Scan for RTEMS

2020-12-09 Thread Sebastian Huber
On 09/12/2020 10:11, Sebastian Huber wrote: On 08/12/2020 19:10, Gedare Bloom wrote: Hi all, I get a text report on new defects from Coverity. I don't know how I managed to sign up for it, and I'm not sure I can get it sent to any list automatically, but here is the current updated new def

RTEMS Tester: Set Timeout in *.ini?

2020-12-09 Thread Sebastian Huber
Hello, I have some tests which run a bit longer than the default 180s timeout of the RTEMS Tester. Can I change the default timeout in the *.ini files? This didn't work: [fvp_cortex_r52x1] bsp  = fvp_cortex_r52 arch = arm tester   = %{_rtscripts}/run.cfg bsp_run_cmd  = FVP

CMake support

2020-12-09 Thread Robin Müller
Hello, I was wondering whether CMake support or an example is available or will be added in the future. We are using a framework which has different abstraction layers for OSes like (embedded) Linux, RTEMS and FreeRTOS, but we would like to use the same build system to build applications and right

Re: CMake support

2020-12-09 Thread Sebastian Huber
Hello Robin, you can use whatever build system you want to build your applications. You can use pkgconfig to get the necessary flags for a particular BSP installation. On 09/12/2020 13:50, Robin Müller wrote: I also had another question about a specific flag used when linking RTEMS executabl

Re: [PATCH 1/2] cpukit/aarch64: Use hex consistently for offsets

2020-12-09 Thread Sebastian Huber
Both patches are fine although I am not sure if changes like  @@ -189,7 +189,7 @@ curr_el_spx_irq_get_pc:/* The current PC is now in LR */ * current SP. */ curr_el_spx_fiq: - stp x0, lr, [sp, #-16]! /* Push x0,lr on to the stack */ + stp x0, lr, [

[PATCH] bsps: Print CPU in default fatal error extension

2020-12-09 Thread Sebastian Huber
--- bsps/shared/start/bspfatal-default.c | 9 - 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/bsps/shared/start/bspfatal-default.c b/bsps/shared/start/bspfatal-default.c index f5f7e58812..0289dbda63 100644 --- a/bsps/shared/start/bspfatal-default.c +++ b/bsps/shared/start/b

[PATCH 2/2] bsps: Fix GICv3 arm_gic_trigger_sgi()

2020-12-09 Thread Sebastian Huber
Use the targets parameter to determine the targets of the SGI. Update #4202. --- bsps/shared/dev/irq/arm-gicv3.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bsps/shared/dev/irq/arm-gicv3.c b/bsps/shared/dev/irq/arm-gicv3.c index db10371c72..569c7610c4 100644 --- a/bsps/sha

[PATCH 1/2] bsps: Add SMP support to ARM GICv3

2020-12-09 Thread Sebastian Huber
Update #4202. --- bsps/shared/dev/irq/arm-gicv3.c | 56 +++-- 1 file changed, 33 insertions(+), 23 deletions(-) diff --git a/bsps/shared/dev/irq/arm-gicv3.c b/bsps/shared/dev/irq/arm-gicv3.c index da19300b15..db10371c72 100644 --- a/bsps/shared/dev/irq/arm-gicv3.c +++

[PATCH] eng: Requirements counting shall start at zero

2020-12-09 Thread Frank Kuehndel
From: Frank Kühndel --- eng/req/req-for-req.rst | 8 1 file changed, 8 insertions(+) diff --git a/eng/req/req-for-req.rst b/eng/req/req-for-req.rst index 9225e95..8345e35 100644 --- a/eng/req/req-for-req.rst +++ b/eng/req/req-for-req.rst @@ -308,6 +308,14 @@ spec:/classic/task/create-e

RE: [PATCH 1/2] bsps: Add SMP support to ARM GICv3

2020-12-09 Thread Kinsey Moore
-Original Message- From: devel On Behalf Of Sebastian Huber Sent: Wednesday, December 9, 2020 07:35 To: devel@rtems.org Subject: [PATCH 1/2] bsps: Add SMP support to ARM GICv3 > Update #4202. > --- > bsps/shared/dev/irq/arm-gicv3.c | 56 +++-- > 1 file changed

Re: [PATCH] eng: Requirements counting shall start at zero

2020-12-09 Thread Andrew Butterfield
Hi Frank, I plan to generate numbered test sources - should these also be numbered from 0? E.g. tr-model-events-mgr-n.c - I was going to have `n` range from 1..N -- should I adopt the same convention as you suggest for consistency? Regards, Andrew > On 9 Dec 2020, at 13:36, Frank Kuehndel

Re: [PATCH] eng: Requirements counting shall start at zero

2020-12-09 Thread Sebastian Huber
Hello Andrew, On 09/12/2020 14:47, Andrew Butterfield wrote:  I plan to generate numbered test sources - should these also be numbered from 0? E.g.  tr-model-events-mgr-n.c  - I was going to have `n` range from 1..N -- should I adopt the same convention as you suggest for consistency? if we agr

Re: RTEMS Tester: Set Timeout in *.ini?

2020-12-09 Thread Sebastian Huber
On 09/12/2020 13:46, Sebastian Huber wrote: Hello, I have some tests which run a bit longer than the default 180s timeout of the RTEMS Tester. Can I change the default timeout in the *.ini files? This didn't work: [fvp_cortex_r52x1] bsp  = fvp_cortex_r52 arch = arm tester   

Re: CMake support

2020-12-09 Thread Robin Müller
Thank you Sebastian. I'm looking at building the example erc32 application and the blinky executable right now. There is the issue that determining the BSP path,tool binary determination, all the checking etc.. bleeds into the application CMakeLists.txt but there is probably a good way to extract t

RE: [PATCH 2/2] bsps: Fix GICv3 arm_gic_trigger_sgi()

2020-12-09 Thread Kinsey Moore
-Original Message- From: devel On Behalf Of Sebastian Huber Sent: Wednesday, December 9, 2020 07:35 To: devel@rtems.org Subject: [PATCH 2/2] bsps: Fix GICv3 arm_gic_trigger_sgi() Use the targets parameter to determine the targets of the SGI. Update #4202. --- bsps/shared/dev/irq/arm-gic

Re: CMake support

2020-12-09 Thread Joel Sherrill
On Wed, Dec 9, 2020 at 8:06 AM Robin Müller wrote: > Thank you Sebastian. I'm looking at building the example erc32 application > and the blinky executable right now. There is the issue > that determining the BSP path,tool binary determination, all the checking > etc.. bleeds into the application

Re: [PATCH 2/2] bsps: Fix GICv3 arm_gic_trigger_sgi()

2020-12-09 Thread Sebastian Huber
On 09/12/2020 15:14, Kinsey Moore wrote: -Original Message- From: devel On Behalf Of Sebastian Huber Sent: Wednesday, December 9, 2020 07:35 To: devel@rtems.org Subject: [PATCH 2/2] bsps: Fix GICv3 arm_gic_trigger_sgi() Use the targets parameter to determine the targets of the SGI. Up

[PATCH v2] bsps: Fix GICv3 arm_gic_trigger_sgi()

2020-12-09 Thread Sebastian Huber
Use the targets parameter to determine the targets of the SGI. Update #4202. --- v2: Fix tm27 test support. bsps/include/dev/irq/arm-gic-tm27.h | 8 bsps/shared/dev/irq/arm-gicv3.c | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/bsps/include/dev/irq/arm-gic-tm

[PATCH 1/5] arm: Support Armv8 in

2020-12-09 Thread Sebastian Huber
Update #4202. --- .../score/cpu/arm/include/rtems/score/arm.h | 21 +-- 1 file changed, 10 insertions(+), 11 deletions(-) diff --git a/cpukit/score/cpu/arm/include/rtems/score/arm.h b/cpukit/score/cpu/arm/include/rtems/score/arm.h index f753dd60ed..b1e4b07a37 100644 --- a/cpuki

[PATCH 0/5] Support for Armv8-R (AArch32)

2020-12-09 Thread Sebastian Huber
Sebastian Huber (5): arm: Support Armv8 in arm/cache-cp15: Support Armv8 bsps/arm: Unify ARM Generic Timer options bsps/arm: Support system level ARM Generic Timer bsps/arm: Move BSP_START_IN_HYP_SUPPORT option bsps/arm/shared/cache/cache-cp15.c| 25 +-- bsp

[PATCH 4/5] bsps/arm: Support system level ARM Generic Timer

2020-12-09 Thread Sebastian Huber
Update #4202. --- bsps/shared/dev/clock/arm-generic-timer.c | 13 - spec/build/bsps/arm/optgtsysbase.yml | 19 +++ spec/build/bsps/arm/optgtsyscntcr.yml | 20 3 files changed, 51 insertions(+), 1 deletion(-) create mode 100644 spec/build/b

[PATCH 3/5] bsps/arm: Unify ARM Generic Timer options

2020-12-09 Thread Sebastian Huber
Update #4202. --- .../optgentmrfreq.yml => optgtfreq.yml} | 9 + .../optgentmrusevirt.yml => optgtusevirt.yml} | 3 ++- spec/build/bsps/arm/xen/bspxen.yml| 2 +- spec/build/bsps/arm/xen/optgentmrusevirt.yml | 15 --- .../bsps/arm/xilinx-zyn

[PATCH 2/5] arm/cache-cp15: Support Armv8

2020-12-09 Thread Sebastian Huber
Update #4202. --- bsps/arm/shared/cache/cache-cp15.c | 25 - 1 file changed, 12 insertions(+), 13 deletions(-) diff --git a/bsps/arm/shared/cache/cache-cp15.c b/bsps/arm/shared/cache/cache-cp15.c index cdce02425f..9a58146277 100644 --- a/bsps/arm/shared/cache/cache-cp15.c

[PATCH 5/5] bsps/arm: Move BSP_START_IN_HYP_SUPPORT option

2020-12-09 Thread Sebastian Huber
Clarify documentation. Update #4202. --- .../bsps/arm/{raspberrypi/optenhyp.yml => optstarthyp.yml} | 3 ++- spec/build/bsps/arm/raspberrypi/grp.yml| 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) rename spec/build/bsps/arm/{raspberrypi/optenhyp.yml => optstar

RE: [PATCH 0/5] Support for Armv8-R (AArch32)

2020-12-09 Thread Kinsey Moore
These changes look good to me. Kinsey -Original Message- From: devel On Behalf Of Sebastian Huber Sent: Wednesday, December 9, 2020 10:44 To: devel@rtems.org Subject: [PATCH 0/5] Support for Armv8-R (AArch32) Sebastian Huber (5): arm: Support Armv8 in arm/cache-cp15: Support Armv8

RE: [PATCH v2] bsps: Fix GICv3 arm_gic_trigger_sgi()

2020-12-09 Thread Kinsey Moore
-Original Message- From: devel On Behalf Of Sebastian Huber Sent: Wednesday, December 9, 2020 10:33 To: devel@rtems.org Subject: [PATCH v2] bsps: Fix GICv3 arm_gic_trigger_sgi() > Use the targets parameter to determine the targets of the SGI. > > Update #4202. > --- > v2: Fix tm27 test su

Re: [rtems-docs commit] c-user: Generate Timer Manager documentation

2020-12-09 Thread Chris Johns
On 9/12/20 7:20 pm, Sebastian Huber wrote: > Module:rtems-docs > Branch:master > Commit:d716c79070901195912526c6e49d43defad00bdd > Changeset: > http://git.rtems.org/rtems-docs/commit/?id=d716c79070901195912526c6e49d43defad00bdd > > Author:Sebastian Huber > Date: Wed Dec 2 0

Re: CMake support

2020-12-09 Thread Chris Johns
On 10/12/20 1:18 am, Joel Sherrill wrote: > As I read this thread, this morning, it occurred to me that the Users > Manual needs a chapter on build systems for end user applications.  > It needs to cover fetching the settings from the pkgconfig files and using > waf, old Makefile infrastructure, et

Re: [rtems-docs commit] c-user: Generate Timer Manager documentation

2020-12-09 Thread Sebastian Huber
On 10/12/2020 03:24, Chris Johns wrote: On 9/12/20 7:20 pm, Sebastian Huber wrote: Module:rtems-docs Branch:master Commit:d716c79070901195912526c6e49d43defad00bdd Changeset: http://git.rtems.org/rtems-docs/commit/?id=d716c79070901195912526c6e49d43defad00bdd Author:Sebastian Hu

Re: [PATCH v2] bsps: Fix GICv3 arm_gic_trigger_sgi()

2020-12-09 Thread Sebastian Huber
On 10/12/2020 00:26, Kinsey Moore wrote: -Original Message- From: devel On Behalf Of Sebastian Huber Sent: Wednesday, December 9, 2020 10:33 To:devel@rtems.org Subject: [PATCH v2] bsps: Fix GICv3 arm_gic_trigger_sgi() Use the targets parameter to determine the targets of the SGI. Upd

[PATCH v3 1/2] bsps: Fix GICv3 arm_gic_trigger_sgi()

2020-12-09 Thread Sebastian Huber
Use the targets parameter to determine the targets of the SGI. Change targets parameter type to 32-bit to ease the parameter passing. GICv3 supports up to 16 targets. Update #4202. --- v2: Fix tm27 test support. v3: Use arm_cp15_get_multiprocessor_affinity() to determine the tm27 SGI target

[PATCH v3 2/2] bsps: Remove ARM GIC SGI target filter

2020-12-09 Thread Sebastian Huber
Remove the target filter for software-generated interrupts since this feature is not supported by the affinity routing in GICv3. Update #4202. --- bsps/arm/shared/start/arm-a9mpcore-smp.c | 1 - bsps/include/dev/irq/arm-gic-irq.h | 15 ++- bsps/include/dev/irq/arm-gic-tm27.h