Timeline



09/21/23:

12:54 Changeset in rtems [a9862623] by Sebastian Huber <sebastian.huber@…>
validation: Check stack of interrupted context Check the stack of the interrupted context during the multitasking start. Update #4955.
11:56 Changeset in rtems-central [c8fc762] by Sebastian Huber <sebastian.huber@…>
spec: Specify interrupt service detail
05:34 Changeset in rtems [ffa29bac] by Sebastian Huber <sebastian.huber@…>
bsps/leon3: Statically initialize get timecount Update #4954.

09/20/23:

18:16 Changeset in rtems [99c637f] by Kinsey Moore <kinsey.moore@…>
cpukit/jffs2: Avoid use of off-chain semantics This reworks the JFFS2 delayed work queue to avoid use of on-chain/off-chain semantics since they vary in behavior under RTEMS_DEBUG and are not guaranteed to be safe to use in SMP systems. This adds all delayed work structs to the chain on FS init and does not remove them until umount. Updates #4956
16:58 Ticket #4956 (Deadlock caused by locking inversion in JFFS2) created by Kinsey Moore
When the code for delayed writes was added to support JFFS2 on NAND, …
07:21 Changeset in rtems [1c36971d] by Sebastian Huber <sebastian.huber@…>
sparc: Fix stack corruption Fix a potential stack corruption in uniprocessor configurations during start multitasking. The system initialization uses the interrupt stack. A first level interrupt shall never interrupt a context which uses the interrupt stack. Such a use would lead to stack corruption and undefined system behaviour. Unfortunately, in uniprocessor configurations this was the case. Multiprocessing is started using _CPU_Context_restore(). The caller of this function (_Thread_Start_multitasking()) uses the interrupt stack. Later we have in cpukit/score/cpu/sparc/cpu_asm.S: mov %g1, %psr ! restore status register and ! ENABLE TRAPS ld [%o1 + G5_OFFSET], %g5 ! restore the global registers ld [%o1 + G7_OFFSET], %g7 ! Load thread specific ISR dispatch prevention flag ld [%o1 + ISR_DISPATCH_DISABLE_STACK_OFFSET], %o2 ! Store it to memory later to use the cycles ldd [%o1 + L0_OFFSET], %l0 ! restore the local registers ldd [%o1 + L2_OFFSET], %l2 ldd [%o1 + L4_OFFSET], %l4 ldd [%o1 + L6_OFFSET], %l6 ! Now restore thread specific ISR dispatch prevention flag st %o2, [%g6 + PER_CPU_ISR_DISPATCH_DISABLE] ldd [%o1 + I0_OFFSET], %i0 ! restore the input registers ldd [%o1 + I2_OFFSET], %i2 ldd [%o1 + I4_OFFSET], %i4 ldd [%o1 + I6_FP_OFFSET], %i6 ldd [%o1 + O6_SP_OFFSET], %o6 ! restore the output registers Between the ENABLE TRAPS and the restore of the output registers, we still use the stack of the caller and interrupts may be enabled. If an interrupt happens in this code block, the interrupt stack is concurrently used which may lead to a crash. Fix this by adding a new function _SPARC_Start_multiprocessing() for uniprocessor configurations. This function first sets the stack pointer to use the stack of the heir thread. Close #4955.
06:54 Ticket #4955 (sparc: Potential stack corruption in uniprocessor configurations ...) created by Sebastian Huber
The system initialization uses the interrupt stack. A first level …

09/19/23:

21:02 Changeset in rtems-libbsd [f0fe043]6-freebsd-12 by Kinsey Moore <kinsey.moore@…>
rtemsbsd/libio: Handle invalid descriptors The documentation for this function suggests that it can handle invalid descriptors safely. This change allows negative descriptors to be handled without a crash.
19:28 Changeset in rtems [41d43ce] by Kinsey Moore <kinsey.moore@…>
bsps/xnandpsu: Ensure buffer cache sync When a buffer is modified by both hardware components such as DMA and by software components, the buffer cache state must be kept in sync so that data is not accidentally thrown away during future invalidations.
19:23 Changeset in rtems [2b5526aa] by Kinsey Moore <kinsey.moore@…>
bsps/xnandpsu: Don't rely on usleep for polling When polling hardware registers in high performance situations, don't rely on usleep or other standard sleep functions since they will necessarily rely on kernel ticks to be woken up. This can easily cause an immense reduction in throughput.

09/18/23:

12:17 Changeset in rtems-central [04106a2] by Sebastian Huber <sebastian.huber@…>
modules: Update rtems
09:46 Changeset in rtems [109479e8] by Sebastian Huber <sebastian.huber@…>
build: Remove enabled-by special case Doing the enabled-by processing just for the ldflags and just for the link custom commands is confusing. Use an option instead which is intended to be used for such use cases.
08:59 Changeset in rtems-central [e1d0948] by Sebastian Huber <sebastian.huber@…>
modules: Update rtems-docs
08:59 Changeset in rtems-central [a9e5980] by Sebastian Huber <sebastian.huber@…>
modules: Update rtems
06:51 Changeset in rtems-central [8d4b269] by Sebastian Huber <sebastian.huber@…>
spec: Improve RTEMS_DEFINE_GLOBAL_SYMBOL() tests Assign the symbol address to an object. Check that it has the expected value.
06:48 Changeset in rtems-docs [68ece64] by Sebastian Huber <sebastian.huber@…>
eng: Allow target attribute in build script items

09/16/23:

05:42 Changeset in rtems [601b84c7] by Sebastian Huber <sebastian.huber@…>
bsps/leon3: leon3_counter_use_irqamp_timestamp() Simplify leon3_counter_use_irqamp_timestamp(). Update #4954.
05:31 Changeset in rtems [8266a8a3] by Sebastian Huber <sebastian.huber@…>
bsps/leon3: Move code blocks Move code blocks to simplify C preprocessor usage. Update #4954.

09/15/23:

14:20 Changeset in rtems [958d517] by Sebastian Huber <sebastian.huber@…>
bsps/leon3: Use DSU time tag for GR712RC Close #4954.
13:46 Changeset in rtems [abb2f8b] by Sebastian Huber <sebastian.huber@…>
bsps/leon3: Use custom CPU counter implementation Merge the timecounter and CPU counter support for the leon3 BSP family. Remove now unused functions from the CPU counter support of the erc32 and leon3 BSPs. Update #4954.
09:24 Changeset in rtems [ff533cec] by Sebastian Huber <sebastian.huber@…>
bsps/leon3: Simplify clock and CPU counter Share the timecounter instance between the clock and the CPU counter. This greatly simplifies the clock driver since we have to do the device selection only in one place, the CPU counter support. Update #4954.
09:11 Changeset in rtems [3f03a6d] by Sebastian Huber <sebastian.huber@…>
bsps/leon3: Make GPTIMER fall back mandatory Using the auto reload counter which generates the clock ticks for the timecounter or CPU counter is quite difficult and only works in uniprocessor configurations. Update #4954.
08:39 Ticket #4954 (sparc: Simplify the clock driver and CPU counter support) created by Sebastian Huber
Unfortunately, most SPARC SoCs? supported by RTEMS lack a proper …
08:01 Changeset in rtems [8fe0fc4] by Sebastian Huber <sebastian.huber@…>
bsps/leon3: Optional IRQ(A)MP timestamp support This is necessary to run the tests on SIS with profiling enabled. Update #4954.
07:53 Changeset in rtems [36b3309] by Sebastian Huber <sebastian.huber@…>
bsp/stm32h7: Exclude some tests
07:49 Changeset in rtems [92fc82b5] by Sebastian Huber <sebastian.huber@…>
arm/lm3s69xx: Exclude monitor test program It is too big with GCC 13.
06:56 Changeset in rtems [de25f012] by Sebastian Huber <sebastian.huber@…>
libdl: Use _CPU_Get_TLS_thread_pointer() Update #4920.
06:21 Changeset in rtems [49a88a7] by Sebastian Huber <sebastian.huber@…>
score: Add _CPU_Get_TLS_thread_pointer() Add _CPU_Get_TLS_thread_pointer() to get the thread pointer which is used to get the address of thread-local storage objects associated with a thread. Update #4920.

09/14/23:

14:08 Changeset in rtems [b6dc4b4] by Sebastian Huber <sebastian.huber@…>
sparc: Move CPU counter implementation Enable a BSP-specific CPU counter implementation. Update #4954.
12:03 Changeset in rtems [5f8415b] by Sebastian Huber <sebastian.huber@…>
validation: Add RTEMS_DEFINE_GLOBAL_SYMBOL() test Update #4953.
09:59 Changeset in rtems-central [8b5ddf1] by Sebastian Huber <sebastian.huber@…>
spec: rtems_configuration_get_interrupt_stack_size() Fix rtems_configuration_get_interrupt_stack_size() for some code models. The _ISR_Stack_size symbol has an arbitrary absolute address and may not be representable in the code model used by the compiler.
07:09 Changeset in rtems [2111497] by Sebastian Huber <sebastian.huber@…>
rtems: rtems_configuration_get_interrupt_stack_size() Fix rtems_configuration_get_interrupt_stack_size() for some code models. The _ISR_Stack_size symbol has an arbitrary absolute address and may not be representable in the code model used by the compiler. Update #4953.

09/13/23:

10:14 Changeset in rtems [206bbeb] by Sebastian Huber <sebastian.huber@…>
score: Fix TLS support for some code models Store symbols with an arbitrary absolute address such as _TLS_Size, _TLS_Alignment, _TLS_Data_size, and _TLS_BSS_size in an object to avoid issues with some code models. Update #4953.
10:08 Changeset in rtems-docs [d8514c4] by Sebastian Huber <sebastian.huber@…>
user: Fix typo
08:52 Ticket #4953 (Use of symbol addresses for arbitrary values may not work for some ...) reopened by Sebastian Huber
The spconfig01 test fails on aarch64 with: […] The rtems_configuration_get_interrupt_stack_size() needs to be fixed.
05:56 Changeset in rtems [5dc43a04] by Sebastian Huber <sebastian.huber@…>
build: Merge regulator build into library item There is no need to use a separate build object item.
05:44 Ticket #4953 (Use of symbol addresses for arbitrary values may not work for some ...) closed by Sebastian Huber
fixed: Since the start files are written in assembly, they can use the right instructions to load an arbitrary absolute address. A review of the uses of _ISR_Stack_size showed that there is actually no issue right now. Adjusting the tests for RTEMS_DEFINE_GLOBAL_SYMBOL() should be enough.

09/12/23:

15:53 Changeset in rtems-central [1c53643] by Sebastian Huber <sebastian.huber@…>
spec: Improve RTEMS_DEFINE_GLOBAL_SYMBOL() tests Use a symbol value relative to an existing symbol address to make the test work on more code models.
15:52 Changeset in rtems-central [833e2e48] by Sebastian Huber <sebastian.huber@…>
spec: Fix RTEMS_DEFINE_GLOBAL_SYMBOL() The availability of a proper RTEMS_DEFINE_GLOBAL_SYMBOL() implementation depends on asm() and thus GNUC. Clarify documentation.
14:42 Changeset in rtems [d7a6e80] by Sebastian Huber <sebastian.huber@…>
tests: Improve RTEMS_DEFINE_GLOBAL_SYMBOL() tests Use a symbol value relative to an existing symbol address to make the test work on more code models. Update #4953.
14:29 Changeset in rtems [0add2d2] by Sebastian Huber <sebastian.huber@…>
score: Fix RTEMS_DEFINE_GLOBAL_SYMBOL() The availability of a proper RTEMS_DEFINE_GLOBAL_SYMBOL() implementation depends on asm() and thus GNUC. Clarify documentation. Update #4953.
13:48 Ticket #4953 (Use of symbol addresses for arbitrary values may not work for some ...) created by Sebastian Huber
The _ISR_Stack_size is defined by the application configuration like …
07:27 Ticket #4947 (Testsuite libtest tests not built with optimise or debug flags) closed by Sebastian Huber <sebastian.huber@…>
fixed: In d2d1fa18/rtems: […]
06:53 Changeset in rtems [1e7733ac] by Sebastian Huber <sebastian.huber@…>
sp37: Check ISR level of system init

09/11/23:

09:33 Changeset in rtems [d2d1fa18] by Sebastian Huber <sebastian.huber@…>
build: Use build context for custom commands Revert duplicated listing of TEST_OPTIMIZATION_FLAGS. Close #4947.
02:47 Ticket #4952 (rtems-ld created wrong RAP file on arm) created by zhengxiaojun
I use the latest rtems-tools to generate RAP file, I found the object …

09/08/23:

19:57 Changeset in rtems [2bb23c7e] by Alex White <alex.white@…>
microblaze: Fix relocation targets Previously the addend was only used in 64 bit relocations. This behavior was incorrect but did not cause the RTEMS libdl tests to fail.

09/07/23:

16:49 Changeset in rtems-tools [7dc34d2] by Sam Price <thesamprice@…>
rtems-tools: stty rename / spelling bug. This patch fixes a spelling/rename mistake in rtems-tools.
Note: See TracTimeline for information about the timeline view.