Re: [PATCH rtems-central] spec: Add JFFS2 delayed write task priority

2023-12-17 Thread Sebastian Huber

On 18.12.23 02:43, Kinsey Moore wrote:

This adds the configuration option used to select the JFFS2 delayed
write task priority to be used when operating on NAND flash.


Thanks for the documentation update. I would place the option 
documentation to the Filesystem Configuration group and wait for at 
least two more options before a JFFS2 group is added.


--
embedded brains GmbH & Co. KG
Herr Sebastian HUBER
Dornierstr. 4
82178 Puchheim
Germany
email: sebastian.hu...@embedded-brains.de
phone: +49-89-18 94 741 - 16
fax:   +49-89-18 94 741 - 08

Registergericht: Amtsgericht München
Registernummer: HRB 157899
Vertretungsberechtigte Geschäftsführer: Peter Rasmussen, Thomas Dörfler
Unsere Datenschutzerklärung finden Sie hier:
https://embedded-brains.de/datenschutzerklaerung/
___
devel mailing list
devel@rtems.org
http://lists.rtems.org/mailman/listinfo/devel

Re: [PATCH 1/2] cpukit/jffs2: Revert to non-granular locking

2023-12-17 Thread Sebastian Huber

On 15.12.23 21:05, Kinsey Moore wrote:

Revert JFFS2 to non-granular locking. This makes the superblock
available to the delayed work that it owns so that delayed work
processing can ensure that shared resources are being exclusively
accessed. This change only affects NAND systems. Moving forward with
granular locking will require a significant investment of time in
producing a test harness that doesn't require hardware such that this
can get a reasonable amount of test coverage.


Thanks, both patches look good.

--
embedded brains GmbH & Co. KG
Herr Sebastian HUBER
Dornierstr. 4
82178 Puchheim
Germany
email: sebastian.hu...@embedded-brains.de
phone: +49-89-18 94 741 - 16
fax:   +49-89-18 94 741 - 08

Registergericht: Amtsgericht München
Registernummer: HRB 157899
Vertretungsberechtigte Geschäftsführer: Peter Rasmussen, Thomas Dörfler
Unsere Datenschutzerklärung finden Sie hier:
https://embedded-brains.de/datenschutzerklaerung/
___
devel mailing list
devel@rtems.org
http://lists.rtems.org/mailman/listinfo/devel

Re: [RSB PATCH] 6: Merge the MacOS M silicon patch from gcc-12 to gcc-13

2023-12-17 Thread Chris Johns
On 16/12/2023 2:04 am, Cedric Berger wrote:
> Hello Heinz,
> 
> On 15.12.2023 10:44, Heinz Junkes wrote:
>> HI,
>> I can follow Cedric's reasoning. Even if I was the initiator of this 
>> discussion.
>>
>> I use RTEMS in my lectures/exercises, among other things, and have always 
>> been
>> able to give the students
>> freedom which laptops with which OS they wanted to use. And there are many of
>> them with used
>> older laptops. Intel Macs, for example.
>>
>> But you can also use a VM with Linux on all these systems.
>>
>> It might then be okay to communicate openly that there will be no more 
>> support
>> for Macs in the future.
> 
> Just to be clear: I'm not advocating dropping Mac support, just dropping the
> support for the old intel-based ones (the ones with issues right now).
> 
> Mac with M1/M2/M3 work fine with the latest tooling.

I think there is a middle ground here and that means some investigation is
needed to determine what works and what is at issue then deciding how much
further work is done. I have done some of this. The results are based on what I
have working:

Builds:

  Sonoma
  Montery
  Big Sur

Fails:

  Ventura

The failure on Ventura is in GMP called from MPFR. Running the GMP tests a
number fail and removing --disable-shared improves the test results but GCC does
not build. I have not looked any further.

Chris

___
devel mailing list
devel@rtems.org
http://lists.rtems.org/mailman/listinfo/devel


[PATCH rtems-central] spec: Add JFFS2 delayed write task priority

2023-12-17 Thread Kinsey Moore
This adds the configuration option used to select the JFFS2 delayed
write task priority to be used when operating on NAND flash.
---
 config.yml|  2 ++
 spec/acfg/if/group-jffs2.yml  | 16 ++
 .../if/jffs2-delayed-write-task-priority.yml  | 22 +++
 3 files changed, 40 insertions(+)
 create mode 100644 spec/acfg/if/group-jffs2.yml
 create mode 100644 spec/acfg/if/jffs2-delayed-write-task-priority.yml

diff --git a/config.yml b/config.yml
index 37594f5f..ef0c0896 100644
--- a/config.yml
+++ b/config.yml
@@ -106,6 +106,8 @@ appl-config:
 target: modules/rtems-docs/c-user/config/general.rst
   - uid: /acfg/if/group-idle
 target: modules/rtems-docs/c-user/config/idle-task.rst
+  - uid: /acfg/if/group-jffs2
+target: modules/rtems-docs/c-user/config/jffs2.rst
   - uid: /acfg/if/group-mpci
 target: modules/rtems-docs/c-user/config/mpci.rst
   - uid: /acfg/if/group-posix
diff --git a/spec/acfg/if/group-jffs2.yml b/spec/acfg/if/group-jffs2.yml
new file mode 100644
index ..dde71d02
--- /dev/null
+++ b/spec/acfg/if/group-jffs2.yml
@@ -0,0 +1,16 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+copyrights:
+- Copyright (C) 2023 On-Line Applications Research Corporation (OAR)
+description: |
+  This section describes configuration options related to JFFS2.
+enabled-by: true
+index-entries: []
+interface-type: appl-config-group
+links:
+- role: interface-placement
+  uid: domain
+- role: requirement-refinement
+  uid: ../../req/applconfig
+name: JFFS2 Configuration
+text: ''
+type: interface
diff --git a/spec/acfg/if/jffs2-delayed-write-task-priority.yml 
b/spec/acfg/if/jffs2-delayed-write-task-priority.yml
new file mode 100644
index ..757da122
--- /dev/null
+++ b/spec/acfg/if/jffs2-delayed-write-task-priority.yml
@@ -0,0 +1,22 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+appl-config-option-type: integer
+copyrights:
+- Copyright (C) 2023 On-Line Applications Research Corporation (OAR)
+default-value: 15
+description: |
+  The value of this configuration option defines the JFFS2 delayed write task 
priority.
+enabled-by: true
+index-entries: []
+interface-type: appl-config-option
+links:
+- role: interface-placement
+  uid: domain
+- role: interface-ingroup
+  uid: group-jffs2
+- role: constraint
+  uid: ../constraint/option-not-pre-qualified
+- role: constraint
+  uid: ../constraint/valid-task-priority
+name: CONFIGURE_JFFS2_DELAYED_WRITE_TASK_PRIORITY
+notes: null
+type: interface
-- 
2.39.2

___
devel mailing list
devel@rtems.org
http://lists.rtems.org/mailman/listinfo/devel


[FIX rtems master] Fix comments in Zynq testsuite files

2023-12-17 Thread berndmoessner80
From: Bernd Moessner 

---
 bsps/arm/xilinx-zynq/config/xilinx_zynq_a9_qemu-testsuite.tcfg  | 2 +-
 bsps/arm/xilinx-zynq/config/xilinx_zynq_microzed-testsuite.tcfg | 2 +-
 bsps/arm/xilinx-zynq/config/xilinx_zynq_picozed-testsuite.tcfg  | 2 +-
 bsps/arm/xilinx-zynq/config/xilinx_zynq_pynq-testsuite.tcfg | 2 +-
 bsps/arm/xilinx-zynq/config/xilinx_zynq_zc702-testsuite.tcfg| 2 +-
 bsps/arm/xilinx-zynq/config/xilinx_zynq_zc706-testsuite.tcfg| 2 +-
 bsps/arm/xilinx-zynq/config/xilinx_zynq_zedboard-testsuite.tcfg | 2 +-
 bsps/arm/xilinx-zynq/config/xilinx_zynq_zybo-testsuite.tcfg | 2 +-
 bsps/arm/xilinx-zynq/config/xilinx_zynq_zybo_z7-testsuite.tcfg  | 2 +-
 9 files changed, 9 insertions(+), 9 deletions(-)

diff --git a/bsps/arm/xilinx-zynq/config/xilinx_zynq_a9_qemu-testsuite.tcfg 
b/bsps/arm/xilinx-zynq/config/xilinx_zynq_a9_qemu-testsuite.tcfg
index ba80faab99..6c9597d75b 100644
--- a/bsps/arm/xilinx-zynq/config/xilinx_zynq_a9_qemu-testsuite.tcfg
+++ b/bsps/arm/xilinx-zynq/config/xilinx_zynq_a9_qemu-testsuite.tcfg
@@ -1,5 +1,5 @@
 #
-# Xilinx Zedboard RTEMS Test Database.
+# Xilinx Zynq RTEMS Test Database.
 #
 # Format is one line per test that is _NOT_ built.
 #
diff --git a/bsps/arm/xilinx-zynq/config/xilinx_zynq_microzed-testsuite.tcfg 
b/bsps/arm/xilinx-zynq/config/xilinx_zynq_microzed-testsuite.tcfg
index ba80faab99..6c9597d75b 100755
--- a/bsps/arm/xilinx-zynq/config/xilinx_zynq_microzed-testsuite.tcfg
+++ b/bsps/arm/xilinx-zynq/config/xilinx_zynq_microzed-testsuite.tcfg
@@ -1,5 +1,5 @@
 #
-# Xilinx Zedboard RTEMS Test Database.
+# Xilinx Zynq RTEMS Test Database.
 #
 # Format is one line per test that is _NOT_ built.
 #
diff --git a/bsps/arm/xilinx-zynq/config/xilinx_zynq_picozed-testsuite.tcfg 
b/bsps/arm/xilinx-zynq/config/xilinx_zynq_picozed-testsuite.tcfg
index ba80faab99..6c9597d75b 100755
--- a/bsps/arm/xilinx-zynq/config/xilinx_zynq_picozed-testsuite.tcfg
+++ b/bsps/arm/xilinx-zynq/config/xilinx_zynq_picozed-testsuite.tcfg
@@ -1,5 +1,5 @@
 #
-# Xilinx Zedboard RTEMS Test Database.
+# Xilinx Zynq RTEMS Test Database.
 #
 # Format is one line per test that is _NOT_ built.
 #
diff --git a/bsps/arm/xilinx-zynq/config/xilinx_zynq_pynq-testsuite.tcfg 
b/bsps/arm/xilinx-zynq/config/xilinx_zynq_pynq-testsuite.tcfg
index ba80faab99..6c9597d75b 100755
--- a/bsps/arm/xilinx-zynq/config/xilinx_zynq_pynq-testsuite.tcfg
+++ b/bsps/arm/xilinx-zynq/config/xilinx_zynq_pynq-testsuite.tcfg
@@ -1,5 +1,5 @@
 #
-# Xilinx Zedboard RTEMS Test Database.
+# Xilinx Zynq RTEMS Test Database.
 #
 # Format is one line per test that is _NOT_ built.
 #
diff --git a/bsps/arm/xilinx-zynq/config/xilinx_zynq_zc702-testsuite.tcfg 
b/bsps/arm/xilinx-zynq/config/xilinx_zynq_zc702-testsuite.tcfg
index ba80faab99..6c9597d75b 100644
--- a/bsps/arm/xilinx-zynq/config/xilinx_zynq_zc702-testsuite.tcfg
+++ b/bsps/arm/xilinx-zynq/config/xilinx_zynq_zc702-testsuite.tcfg
@@ -1,5 +1,5 @@
 #
-# Xilinx Zedboard RTEMS Test Database.
+# Xilinx Zynq RTEMS Test Database.
 #
 # Format is one line per test that is _NOT_ built.
 #
diff --git a/bsps/arm/xilinx-zynq/config/xilinx_zynq_zc706-testsuite.tcfg 
b/bsps/arm/xilinx-zynq/config/xilinx_zynq_zc706-testsuite.tcfg
index ba80faab99..6c9597d75b 100644
--- a/bsps/arm/xilinx-zynq/config/xilinx_zynq_zc706-testsuite.tcfg
+++ b/bsps/arm/xilinx-zynq/config/xilinx_zynq_zc706-testsuite.tcfg
@@ -1,5 +1,5 @@
 #
-# Xilinx Zedboard RTEMS Test Database.
+# Xilinx Zynq RTEMS Test Database.
 #
 # Format is one line per test that is _NOT_ built.
 #
diff --git a/bsps/arm/xilinx-zynq/config/xilinx_zynq_zedboard-testsuite.tcfg 
b/bsps/arm/xilinx-zynq/config/xilinx_zynq_zedboard-testsuite.tcfg
index ba80faab99..6c9597d75b 100644
--- a/bsps/arm/xilinx-zynq/config/xilinx_zynq_zedboard-testsuite.tcfg
+++ b/bsps/arm/xilinx-zynq/config/xilinx_zynq_zedboard-testsuite.tcfg
@@ -1,5 +1,5 @@
 #
-# Xilinx Zedboard RTEMS Test Database.
+# Xilinx Zynq RTEMS Test Database.
 #
 # Format is one line per test that is _NOT_ built.
 #
diff --git a/bsps/arm/xilinx-zynq/config/xilinx_zynq_zybo-testsuite.tcfg 
b/bsps/arm/xilinx-zynq/config/xilinx_zynq_zybo-testsuite.tcfg
index ba80faab99..6c9597d75b 100755
--- a/bsps/arm/xilinx-zynq/config/xilinx_zynq_zybo-testsuite.tcfg
+++ b/bsps/arm/xilinx-zynq/config/xilinx_zynq_zybo-testsuite.tcfg
@@ -1,5 +1,5 @@
 #
-# Xilinx Zedboard RTEMS Test Database.
+# Xilinx Zynq RTEMS Test Database.
 #
 # Format is one line per test that is _NOT_ built.
 #
diff --git a/bsps/arm/xilinx-zynq/config/xilinx_zynq_zybo_z7-testsuite.tcfg 
b/bsps/arm/xilinx-zynq/config/xilinx_zynq_zybo_z7-testsuite.tcfg
index ba80faab99..6c9597d75b 100755
--- a/bsps/arm/xilinx-zynq/config/xilinx_zynq_zybo_z7-testsuite.tcfg
+++ b/bsps/arm/xilinx-zynq/config/xilinx_zynq_zybo_z7-testsuite.tcfg
@@ -1,5 +1,5 @@
 #
-# Xilinx Zedboard RTEMS Test Database.
+# Xilinx Zynq RTEMS Test Database.
 #
 # Format is one line per test that is _NOT_ built.
 #
-- 
2.34.1

___
devel mailing list