Re: [PATCH 3/3] RISC-V: Fix non-smp kernel boot on SMP systems

2019-01-05 Thread Atish Patra
On 12/26/18 7:58 PM, Anup Patel wrote: On Thu, Dec 27, 2018 at 4:39 AM Atish Patra wrote: In non-smp configuration, hartid can be higher that NR_CPUS. riscv_of_processor_hartid should not be compared to hartid to NR_CPUS in that case. Moreover, this function checks all the DT properties of a

Re: [PATCH 3/3] RISC-V: Fix non-smp kernel boot on SMP systems

2018-12-26 Thread Anup Patel
On Thu, Dec 27, 2018 at 4:39 AM Atish Patra wrote: > > In non-smp configuration, hartid can be higher that NR_CPUS. > riscv_of_processor_hartid should not be compared to hartid to > NR_CPUS in that case. Moreover, this function checks all the > DT properties of a hart node. NR_CPUS comparison