Re: [PATCH v2 1/4] RISC-V: Add RISC-V specific arch_match_cpu_phys_id

2019-04-10 Thread Christoph Hellwig
On Wed, Apr 10, 2019 at 04:04:40PM -0700, Atish Patra wrote: > OF/DT core has a hook for architecture specific logical cpuid to hartid > mapping. By implementing this, we can pass the logical cpu id to cpu > node parsing functions. But that also means we must pass it that way. So as-is this would

[PATCH v2 1/4] RISC-V: Add RISC-V specific arch_match_cpu_phys_id

2019-04-10 Thread Atish Patra
OF/DT core has a hook for architecture specific logical cpuid to hartid mapping. By implementing this, we can pass the logical cpu id to cpu node parsing functions. Signed-off-by: Atish Patra --- arch/riscv/kernel/smp.c | 5 + 1 file changed, 5 insertions(+) diff --git a/arch/riscv/kernel/s