[PATCH] bsp/riscv: block unused cores in OS non-smp configurations

2022-10-18 Thread lucian-raul . silistru
From: Lucian-Raul Silistru When running on a multicore device with SMP disabled it is possible for unused harts to still be pulled out of reset. This change parks them in a wfi loop. Updates #4735 --- bsps/riscv/shared/start/start.S | 6 ++ 1 file changed, 6 insertions(+) diff --git a/bsps

Re: Ping on ticket 4728 + patch

2022-10-18 Thread Alan Cudmore
The log does have the error, and I get it when building by hand too: start.o: in function `.L0 ': /home/alan/rtems/test-build/rtems-tmp/build/riscv/rv32imafdc/../../../bsps/riscv/shared/start/start.S:86:(.bsp_start_text+0x5c): relocation truncated to fit: R_RISCV_GPREL_I against symbol `bsp_section

Re: Ping on ticket 4728 + patch

2022-10-18 Thread Joel Sherrill
On Tue, Oct 18, 2022 at 8:44 AM Alan Cudmore wrote: > The log does have the error, and I get it when building by hand too: > start.o: in function `.L0 ': > > /home/alan/rtems/test-build/rtems-tmp/build/riscv/rv32imafdc/../../../bsps/riscv/shared/start/start.S:86:(.bsp_start_text+0x5c): > relocati

Re: Ping on ticket 4728 + patch

2022-10-18 Thread Alan Cudmore
On Tue, Oct 18, 2022 at 9:55 AM Joel Sherrill wrote: > > > > On Tue, Oct 18, 2022 at 8:44 AM Alan Cudmore wrote: >> >> The log does have the error, and I get it when building by hand too: >> start.o: in function `.L0 ': >> /home/alan/rtems/test-build/rtems-tmp/build/riscv/rv32imafdc/../../../bsps

Re: Ping on ticket 4728 + patch

2022-10-18 Thread Sebastian Huber
On 18/10/2022 16:36, Alan Cudmore wrote: On Tue, Oct 18, 2022 at 9:55 AM Joel Sherrill wrote: On Tue, Oct 18, 2022 at 8:44 AM Alan Cudmore wrote: The log does have the error, and I get it when building by hand too: start.o: in function `.L0 ': /home/alan/rtems/test-build/rtems-tmp/build/ris

RE: Ping on ticket 4728 + patch

2022-10-18 Thread Alan Cudmore
  From: Sebastian HuberSent: Tuesday, October 18, 2022 11:15 AMTo: Alan Cudmore; j...@rtems.orgCc: rtems-de...@rtems.orgSubject: Re: Ping on ticket 4728 + patch On 18/10/2022 16:36, Alan Cudmore wrote:> On Tue, Oct 18, 2022 at 9:55 AM Joel Sherrill  wrote:>> >> >> On Tue, Oct 18, 2022 at 8:44 AM Al

Re: Ping on ticket 4728 + patch

2022-10-18 Thread Sebastian Huber
On 18/10/2022 21:02, Alan Cudmore wrote: *From: *Sebastian Huber *Sent: *Tuesday, October 18, 2022 11:15 AM *To: *Alan Cudmore ; j...@rtems.org *Cc: *rtems-de...@rtems.org