Re: [V3,1/1] riscv: Increase the upper bound of NR_CPUS to 4095

2023-05-16 Thread Heinrich Schuchardt
On 2/13/23 09:43, Leo Yu-Chi Liang wrote: From: Xiang W The maximum hart number is 32 and is determined by the type of gd->arch.available_harts. However, various RISC-V specifications allow the hart number to be greater than 32. We can eliminate this limitation through bitmaps. The patch modif

[V3,1/1] riscv: Increase the upper bound of NR_CPUS to 4095

2023-02-13 Thread Leo Yu-Chi Liang
From: Xiang W The maximum hart number is 32 and is determined by the type of gd->arch.available_harts. However, various RISC-V specifications allow the hart number to be greater than 32. We can eliminate this limitation through bitmaps. The patch modifies the upper bound of the hart number to 40