Re: [PATCH v2] spec/pkgconfig: Allow builds to override headers

2022-11-09 Thread Kinsey Moore
Ping. I'd like to get some kind of commentary on this if only just an "ok" since I wouldn't feel comfortable committing it without some kind of acknowledgement. It now takes care of both existing build descriptions (makefile and pkgconfig). I also have a reversion of the libbsd workaround ready to

[PATCH rtems-lwip] rtemslwip: Add note to intentionally blank files

2022-11-09 Thread Kinsey Moore
--- rtemslwip/bsd_compat_include/arpa/nameser.h | 1 + rtemslwip/bsd_compat_include/machine/rtems-bsd-kernel-space.h | 1 + rtemslwip/bsd_compat_include/machine/rtems-bsd-user-space.h | 1 + rtemslwip/bsd_compat_include/net/if_var.h | 1 +

Re: [5 DOCS PATCH] waf: Backport from main build fixes

2022-11-09 Thread Gedare Bloom
looks fine. i'm not sure where + "review": ("Gerrit Code Review", "https://review.rtems.org/;), came from, but I see it in before too. On Wed, Nov 9, 2022 at 9:36 PM wrote: > > From: Chris Johns > > Closes #4752 > --- > common/conf.py| 17 ++-- > common/latex.py

[5 DOCS PATCH] waf: Backport from main build fixes

2022-11-09 Thread chrisj
From: Chris Johns Closes #4752 --- common/conf.py| 17 ++-- common/latex.py | 7 +++-- common/rtemsdomain.py | 64 +++ common/version.py | 5 +++- common/waf.py | 20 ++ 5 files changed, 78 insertions(+), 35

[PATCH rtems-lwip v2] lwip.py: Move bsp-specific information out

2022-11-09 Thread Kinsey Moore
This moves all BSP-specific information out of lwip.py and into JSON descriptions of the files required to compile the drivers for each BSP. Note that file-import.json is kept separate because it is used to manage updating from upstream. --- COPYING.defs | 23

Re: [PATCH rtems-libbsd v2 0/3] CFC400X support

2022-11-09 Thread Chris Johns
Looks good. Thanks Chris On 9/11/2022 4:10 pm, Kinsey Moore wrote: In this revised patch set, SGMII support has been reworked to use device trees while preserving existing static instantiation used by Zynq and Versal BSPs. ___ devel mailing list

Re: Add Formal Verification chapter v2

2022-11-09 Thread Chris Johns
On 9/11/2022 9:48 pm, andrew.butterfi...@scss.tcd.ie wrote: ping (my fault really, i've let this sit!) Thank you for raising this and I am sorry we have not been as proactive as we should be. But I have been busy, interacting with a group doing a follow-up IV project with the

Re: [rtems-docs commit] Update build system related sections for RTEMS 6

2022-11-09 Thread Chris Johns
On 9/11/2022 4:28 pm, Sebastian Huber wrote: On 09/11/2022 01:35, Chris Johns wrote: Was this posted for review? I do not remember seeing it? Yes, on September 12. Thanks. Sorry, I must have missed it. There are a number of things that could be improved with this change. I am sure

[PATCH rtems-lwip] lwip.py: Move bsp-specific information out

2022-11-09 Thread Kinsey Moore
This moves all BSP-specific information out of lwip.py and into JSON descriptions of the files required to compile the drivers for each BSP. Note that file-import.json is kept separate because it is used to manage updating from upstream. --- COPYING.defs | 23

RE: _Timecounter_* behaviour with sleeping cores (windup delayed)

2022-11-09 Thread Silistru, Lucian-Raul
Hi, The one this is happening on is a 4.11 ... might be worth trying that change. As for the second part, thanks for the info. Will verify current idea and possibly have to manage monotony of time when exiting sleep. Best regards, Lucian Silistru ___

Re: _Timecounter_* behaviour with sleeping cores (windup delayed)

2022-11-09 Thread Sebastian Huber
Hello Lucian Silistru, which RTEMS version do you use? Is it maybe this bug: http://devel.rtems.org/ticket/4617 If there is a full rollover of the hardware counter, then there is nothing we can do. -- embedded brains GmbH Herr Sebastian HUBER Dornierstr. 4 82178 Puchheim Germany email:

_Timecounter_* behaviour with sleeping cores (windup delayed)

2022-11-09 Thread Silistru, Lucian-Raul
I've seen a strange behaviour with _Timecounter_Binuptime where time can go back in a setup where the core is sometimes sleeping (with no periodic interrupts enabled - tick is off). The timecounter keeps running. My current guess would be that the tick is skipped enough times that the

[PATCH] cpukit/fdt: Fix typos and clarify params

2022-11-09 Thread Kinsey Moore
--- cpukit/include/rtems/rtems-fdt.h | 24 +++- 1 file changed, 15 insertions(+), 9 deletions(-) diff --git a/cpukit/include/rtems/rtems-fdt.h b/cpukit/include/rtems/rtems-fdt.h index 3919593582..18e04352aa 100644 --- a/cpukit/include/rtems/rtems-fdt.h +++

[PATCH 08/10] bsps/riscv: bsp_interrupt_get/set_affinity()

2022-11-09 Thread Sebastian Huber
Provide bsp_interrupt_get_affinity() and bsp_interrupt_set_affinity() only if RTEMS_SMP is enabled. Replace fatal error with a status code. --- bsps/include/bsp/fatal.h | 2 +- bsps/riscv/riscv/irq/irq.c | 19 ++- 2 files changed, 7 insertions(+), 14 deletions(-) diff --git

[PATCH 07/10] bsps/riscv: bsp_interrupt_raise_on()

2022-11-09 Thread Sebastian Huber
Implement bsp_interrupt_raise_on() and bsp_interrupt_raise(). --- bsps/riscv/riscv/irq/irq.c | 24 1 file changed, 20 insertions(+), 4 deletions(-) diff --git a/bsps/riscv/riscv/irq/irq.c b/bsps/riscv/riscv/irq/irq.c index 2e68551ae5..2999485f88 100644 ---

[PATCH 09/10] bsps/riscv: Always dispatch software interrupts

2022-11-09 Thread Sebastian Huber
This helps to run the interrupt API validation tests. --- bsps/riscv/riscv/irq/irq.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/bsps/riscv/riscv/irq/irq.c b/bsps/riscv/riscv/irq/irq.c index 44d0778ec7..c8b0801cc3 100644 --- a/bsps/riscv/riscv/irq/irq.c +++

[PATCH 10/10] bsps/riscv: Add tm27 support

2022-11-09 Thread Sebastian Huber
--- bsps/riscv/riscv/include/tm27.h | 137 +++- 1 file changed, 136 insertions(+), 1 deletion(-) diff --git a/bsps/riscv/riscv/include/tm27.h b/bsps/riscv/riscv/include/tm27.h index 0dfa7bf628..3e092214e5 100644 --- a/bsps/riscv/riscv/include/tm27.h +++

[PATCH 06/10] bsps/riscv: bsp_interrupt_is_pending()

2022-11-09 Thread Sebastian Huber
Implement this function. --- bsps/riscv/riscv/irq/irq.c | 27 +-- 1 file changed, 25 insertions(+), 2 deletions(-) diff --git a/bsps/riscv/riscv/irq/irq.c b/bsps/riscv/riscv/irq/irq.c index a48ba2346c..2e68551ae5 100644 --- a/bsps/riscv/riscv/irq/irq.c +++

[PATCH 02/10] bsps/riscv: bsp_interrupt_vector_is_enabled()

2022-11-09 Thread Sebastian Huber
Implement this function. --- bsps/riscv/riscv/irq/irq.c | 49 -- 1 file changed, 47 insertions(+), 2 deletions(-) diff --git a/bsps/riscv/riscv/irq/irq.c b/bsps/riscv/riscv/irq/irq.c index 943dd4a68b..8de9e47cbc 100644 --- a/bsps/riscv/riscv/irq/irq.c +++

[PATCH 05/10] bsps/riscv: bsp_interrupt_get_attributes()

2022-11-09 Thread Sebastian Huber
Implement this function. --- bsps/riscv/riscv/irq/irq.c | 15 +++ 1 file changed, 15 insertions(+) diff --git a/bsps/riscv/riscv/irq/irq.c b/bsps/riscv/riscv/irq/irq.c index 238cb7f62a..a48ba2346c 100644 --- a/bsps/riscv/riscv/irq/irq.c +++ b/bsps/riscv/riscv/irq/irq.c @@ -294,6

[PATCH 00/10] Improve riscv interrupt API support

2022-11-09 Thread Sebastian Huber
Sebastian Huber (10): bsps/riscv: bsp_interrupt_is_valid_vector() bsps/riscv: bsp_interrupt_vector_is_enabled() bsps/riscv: Improve bsp_interrupt_vector_enable() bsps/riscv: Improve bsp_interrupt_vector_disable() bsps/riscv: bsp_interrupt_get_attributes() bsps/riscv:

[PATCH 01/10] bsps/riscv: bsp_interrupt_is_valid_vector()

2022-11-09 Thread Sebastian Huber
Implement this function. --- bsps/riscv/riscv/include/bsp/irq.h | 2 ++ bsps/riscv/riscv/irq/irq.c | 17 - 2 files changed, 18 insertions(+), 1 deletion(-) diff --git a/bsps/riscv/riscv/include/bsp/irq.h b/bsps/riscv/riscv/include/bsp/irq.h index ae1ba3c757..93c9780111

[PATCH 04/10] bsps/riscv: Improve bsp_interrupt_vector_disable()

2022-11-09 Thread Sebastian Huber
Add support for hart-specific software and timer interrupts. --- bsps/riscv/riscv/irq/irq.c | 8 1 file changed, 8 insertions(+) diff --git a/bsps/riscv/riscv/irq/irq.c b/bsps/riscv/riscv/irq/irq.c index 3bce33ae13..238cb7f62a 100644 --- a/bsps/riscv/riscv/irq/irq.c +++

[PATCH 03/10] bsps/riscv: Improve bsp_interrupt_vector_enable()

2022-11-09 Thread Sebastian Huber
Add support for hart-specific software and timer interrupts. --- bsps/riscv/riscv/irq/irq.c | 8 1 file changed, 8 insertions(+) diff --git a/bsps/riscv/riscv/irq/irq.c b/bsps/riscv/riscv/irq/irq.c index 8de9e47cbc..3bce33ae13 100644 --- a/bsps/riscv/riscv/irq/irq.c +++

[PATCH rtems] Remove remnants of rtems_io_lookup_name

2022-11-09 Thread Joel Sherrill
Updates #3420. --- cpukit/include/adainclude/rtems-io.adb | 21 - testsuites/sptests/sp21/sp21.scn | 3 --- 2 files changed, 24 deletions(-) diff --git a/cpukit/include/adainclude/rtems-io.adb b/cpukit/include/adainclude/rtems-io.adb index 41a315c..addc2e2 100644 ---