RISC-V: Add RISC-V specific arch_match_cpu_phys_id
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. Fix the instances where logical cpuid is expected as an argument in of_get_cpu_node. Signed-off-by:Atish Patra <atish.patra@wdc.com> Reviewed-by:
Christoph Hellwig <hch@lst.de> Reviewed-by:
Sudeep Holla <sudeep.holla@arm.com> Signed-off-by:
Palmer Dabbelt <palmer@sifive.com>
parent
fd7f744c
Please register or sign in to comment