Re: [PATCH v2 2/4] RISC-V: Fix of_get_cpu_node usage

2019-04-11 Thread Atish Patra
On 4/10/19 11:59 PM, Christoph Hellwig wrote: On Wed, Apr 10, 2019 at 04:04:41PM -0700, Atish Patra wrote: of_get_cpu_node expects a logical cpu id not a hartid. But only because you changed that with your patch 1, so it should be folded into that. Yes. I should merge this to patch 1. Other

Re: [PATCH v2 2/4] RISC-V: Fix of_get_cpu_node usage

2019-04-10 Thread Christoph Hellwig
On Wed, Apr 10, 2019 at 04:04:41PM -0700, Atish Patra wrote: > of_get_cpu_node expects a logical cpu id not a hartid. But only because you changed that with your patch 1, so it should be folded into that.

[PATCH v2 2/4] RISC-V: Fix of_get_cpu_node usage

2019-04-10 Thread Atish Patra
of_get_cpu_node expects a logical cpu id not a hartid. Signed-off-by: Atish Patra --- arch/riscv/kernel/cpu.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/arch/riscv/kernel/cpu.c b/arch/riscv/kernel/cpu.c index cf2fca12414a..c8d2a3223099 100644 --- a/arch/riscv/kernel/cp