Re: [U-Boot] [PATCH v2 5/9] riscv: add support for multi-hart systems

2019-03-10 Thread Auer, Lukas
On Sun, 2019-03-10 at 21:01 +0800, Bin Meng wrote: > On Wed, Mar 6, 2019 at 6:54 AM Lukas Auer > wrote: > > On RISC-V, all harts boot independently. To be able to run on a > > multi-hart system, U-Boot must be extended with the functionality > > to > > manage all harts in the system. All harts

Re: [U-Boot] [PATCH v2 5/9] riscv: add support for multi-hart systems

2019-03-10 Thread Bin Meng
On Wed, Mar 6, 2019 at 6:54 AM Lukas Auer wrote: > > On RISC-V, all harts boot independently. To be able to run on a > multi-hart system, U-Boot must be extended with the functionality to > manage all harts in the system. All harts entering U-Boot are registered > in the available_harts mask

Re: [U-Boot] [PATCH v2 5/9] riscv: add support for multi-hart systems

2019-03-05 Thread Anup Patel
> -Original Message- > From: Lukas Auer > Sent: Wednesday, March 6, 2019 4:23 AM > To: u-boot@lists.denx.de > Cc: Atish Patra ; Anup Patel > ; Bin Meng ; Andreas > Schwab ; Palmer Dabbelt ; > Alexander Graf ; Lukas Auer > ; Anup Patel ; Rick > Chen ; Baruch Siach ; Stefan > Roese ;

[U-Boot] [PATCH v2 5/9] riscv: add support for multi-hart systems

2019-03-05 Thread Lukas Auer
On RISC-V, all harts boot independently. To be able to run on a multi-hart system, U-Boot must be extended with the functionality to manage all harts in the system. All harts entering U-Boot are registered in the available_harts mask stored in global data. A hart lottery system as used in the