[PATCH 1/3] bsps/riscv: Make SMP start more robust

Sebastian Huber sebastian.huber at embedded-brains.de
Fri Mar 17 12:56:15 UTC 2023


Hello Alan,

On 16.03.23 22:33, Alan Cudmore wrote:
> I applied these three patches after my patches and ran them on my K210 
> board and simulator. I have a set of 12 tests including benchmarks, 
> SMP01, SMP08, ticker, etc. Everything ran OK.
> Is there anything in particular I can try to test them like setting the 
> maximum CPUs to 1? (K210 is a dual core)

the check for the configured processor maximum was already in the code, 
however, in C code. So without compiler optimization there was a risk 
that stack memory is still used.

The other patches aim to improve the support for RISCV_BOOT_HARTID != 0.

-- 
embedded brains GmbH
Herr Sebastian HUBER
Dornierstr. 4
82178 Puchheim
Germany
email: sebastian.huber at 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/


More information about the devel mailing list