Re: [PATCH] bsp/altera-cyclone-v: fix the creation of reserved memory regions

2022-03-08 Thread Sebastian Huber
Hello Marcus, I have problems to apply this patch e-mail. Could you please send it as an attachment. -- embedded brains GmbH 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 Registerge

Re: [PATCH] mpci: Simplify expressions

2022-03-08 Thread Gedare Bloom
On Tue, Mar 8, 2022 at 6:59 AM Sebastian Huber wrote: > > On 08/03/2022 14:56, Gedare Bloom wrote: > > On Mon, Mar 7, 2022 at 11:52 PM Sebastian Huber > > wrote: > >> Use that rtems_configuration_get_user_multiprocessing_table() returns never > >> NULL if RTEMS_MULTIPROCESSING defined. > >> ---

Re: [PATCH] SMP: Fix start multitasking for some targets

2022-03-08 Thread Kinsey Moore
The AArch64 changes look reasonable and resolve the bug I observed in both the test case you provided as well as the test where I initially discovered it. Thanks, Kinsey On 3/8/2022 12:28, Sebastian Huber wrote: The previous SMP multitasking start assumed that the initial heir thread of a p

Re: [PATCH] microblaze: Add JFFS2 AXI QSPI driver

2022-03-08 Thread Alex White
ping On Wed, Mar 2, 2022 at 8:30 PM Alex White wrote: > > This driver has been tested with Micron NOR Flash via AXI Quad SPI. > --- >  .../microblaze_fpga/fs/jffs2_qspi.c           | 319 ++ >  .../microblaze_fpga/include/bsp/jffs2_qspi.h  |  56 +++ >  .../bsps/microblaze/microblaz

Re: [PATCH 1/2] cpukit/aarch64: Keep state across context switch

2022-03-08 Thread Sebastian Huber
On 08/03/2022 15:06, Kinsey Moore wrote: On 3/8/2022 02:52, Sebastian Huber wrote: On 28/02/2022 20:18, Kinsey Moore wrote: On 2/28/2022 12:19, Sebastian Huber wrote: On 26/02/2022 08:03, Kinsey Moore wrote: On 2/26/2022 00:53, Sebastian Huber wrote: On 26/02/2022 00:41, Kinsey Moore wrote:

[PATCH] SMP: Fix start multitasking for some targets

2022-03-08 Thread Sebastian Huber
The previous SMP multitasking start assumed that the initial heir thread of a processor starts execution in _Thread_Handler(). The _Thread_Handler() sets the interrupt state explicitly by _ISR_Set_level() before it calls the thread entry. Under certain timing conditions, processors may perform an

Re: Warnings when building sparc/leon3

2022-03-08 Thread Joel Sherrill
On Tue, Mar 8, 2022 at 9:18 AM Sebastian Huber < sebastian.hu...@embedded-brains.de> wrote: > > > On 08/03/2022 15:52, Joel Sherrill wrote: > > We could change rtems_configuration_get_user_multiprocessing_table() > to > > return NULL if CONFIGURE_MP_APPLICATION is not defined. > > > > > >

Re: Warnings when building sparc/leon3

2022-03-08 Thread Sebastian Huber
On 08/03/2022 15:52, Joel Sherrill wrote: We could change rtems_configuration_get_user_multiprocessing_table() to return NULL if CONFIGURE_MP_APPLICATION is not defined. That's how it is now. #if defined(RTEMS_MULTIPROCESSING)   #define rtems_configuration_get_user_multiprocessing_t

Re: Warnings when building sparc/leon3

2022-03-08 Thread Joel Sherrill
On Tue, Mar 8, 2022 at 8:46 AM Sebastian Huber < sebastian.hu...@embedded-brains.de> wrote: > On 08/03/2022 15:40, Joel Sherrill wrote: > > > > On Tue, Mar 8, 2022 at 8:31 AM Sebastian Huber > > > > wrote: > > > > On 08/03/2022 15:23, Joel Sherrill w

Re: Warnings when building sparc/leon3

2022-03-08 Thread Sebastian Huber
On 08/03/2022 15:40, Joel Sherrill wrote: On Tue, Mar 8, 2022 at 8:31 AM Sebastian Huber > wrote: On 08/03/2022 15:23, Joel Sherrill wrote: > > > On Tue, Mar 8, 2022 at 12:45 AM Sebastian Huber > mailto:sebastian.hu...@embedde

Re: Warnings when building sparc/leon3

2022-03-08 Thread Joel Sherrill
On Tue, Mar 8, 2022 at 8:31 AM Sebastian Huber < sebastian.hu...@embedded-brains.de> wrote: > On 08/03/2022 15:23, Joel Sherrill wrote: > > > > > > On Tue, Mar 8, 2022 at 12:45 AM Sebastian Huber > > > > wrote: > > > > On 07/03/2022 19:19, Joel Sherr

Re: Warnings when building sparc/leon3

2022-03-08 Thread Sebastian Huber
On 08/03/2022 15:23, Joel Sherrill wrote: On Tue, Mar 8, 2022 at 12:45 AM Sebastian Huber > wrote: On 07/03/2022 19:19, Joel Sherrill wrote: > > > On Mon, Mar 7, 2022 at 11:54 AM Sebastian Huber > mailto:sebastian.hu...@embed

Re: Warnings when building sparc/leon3

2022-03-08 Thread Joel Sherrill
On Tue, Mar 8, 2022 at 12:45 AM Sebastian Huber < sebastian.hu...@embedded-brains.de> wrote: > On 07/03/2022 19:19, Joel Sherrill wrote: > > > > > > On Mon, Mar 7, 2022 at 11:54 AM Sebastian Huber > > > > wrote: > > > > On 07/03/2022 17:48, Joel Sher

Re: [PATCH 1/2] cpukit/aarch64: Keep state across context switch

2022-03-08 Thread Kinsey Moore
On 3/8/2022 02:52, Sebastian Huber wrote: On 28/02/2022 20:18, Kinsey Moore wrote: On 2/28/2022 12:19, Sebastian Huber wrote: On 26/02/2022 08:03, Kinsey Moore wrote: On 2/26/2022 00:53, Sebastian Huber wrote: On 26/02/2022 00:41, Kinsey Moore wrote: This may also be an issue for ARM, RISC-V

Re: [PATCH] mpci: Simplify expressions

2022-03-08 Thread Sebastian Huber
On 08/03/2022 14:56, Gedare Bloom wrote: On Mon, Mar 7, 2022 at 11:52 PM Sebastian Huber wrote: Use that rtems_configuration_get_user_multiprocessing_table() returns never NULL if RTEMS_MULTIPROCESSING defined. --- bsps/m68k/mvme147s/start/bspstart.c | 2 +- bsps/riscv/griscv/include/amba.

Re: [PATCH] mpci: Simplify expressions

2022-03-08 Thread Gedare Bloom
On Mon, Mar 7, 2022 at 11:52 PM Sebastian Huber wrote: > > Use that rtems_configuration_get_user_multiprocessing_table() returns never > NULL if RTEMS_MULTIPROCESSING defined. > --- > bsps/m68k/mvme147s/start/bspstart.c | 2 +- > bsps/riscv/griscv/include/amba.h| 3 +-- > bsps/sparc/leon3/b

Re: [PATCH] score: Disable thread dispatching earlier

2022-03-08 Thread Gedare Bloom
looks ok to me On Tue, Mar 8, 2022 at 1:50 AM Sebastian Huber wrote: > > Disable thread dispatching earlier on secondary processors. This ensures that > fatal error and per-CPU job handlers are called with thread dispatching > disabled. On the boot processor, the thread dispatching is already d

Re: [GSoC-Entry PATCH] RTEMS port for Raspberry pi 4 AArch64

2022-03-08 Thread Gedare Bloom
Hi Mohd Noor Aman, Got it, thanks. Hopefully you can entice a mentor to express interest in the port :) That always helps. We'll get proposal preparation started in earnest soon. Gedare On Mon, Mar 7, 2022 at 9:28 PM Noor Aman wrote: > > Hello, This is my patch for qualifying the RTEMS GSoC pr

Re: [PATCH 1/2] cpukit/aarch64: Keep state across context switch

2022-03-08 Thread Sebastian Huber
On 28/02/2022 20:18, Kinsey Moore wrote: On 2/28/2022 12:19, Sebastian Huber wrote: On 26/02/2022 08:03, Kinsey Moore wrote: On 2/26/2022 00:53, Sebastian Huber wrote: On 26/02/2022 00:41, Kinsey Moore wrote: This may also be an issue for ARM, RISC-V and others as it doesn't appear that ARM

[PATCH] score: Disable thread dispatching earlier

2022-03-08 Thread Sebastian Huber
Disable thread dispatching earlier on secondary processors. This ensures that fatal error and per-CPU job handlers are called with thread dispatching disabled. On the boot processor, the thread dispatching is already disabled by _Thread_Dispatch_initialization(). --- cpukit/score/src/smp.c