Re: [PATCH v6 5/7] RISC-V: Parse cpu topology during boot.

From: Paul Walmsley
Date: Fri Jun 07 2019 - 01:05:12 EST


On Wed, 29 May 2019, Atish Patra wrote:

> Currently, there are no topology defined for RISC-V.
> Parse the cpu-map node from device tree and setup the
> cpu topology.
>
> CPU topology after applying the patch.
> $cat /sys/devices/system/cpu/cpu2/topology/core_siblings_list
> 0-3
> $cat /sys/devices/system/cpu/cpu3/topology/core_siblings_list
> 0-3
> $cat /sys/devices/system/cpu/cpu3/topology/physical_package_id
> 0
> $cat /sys/devices/system/cpu/cpu3/topology/core_id
> 3
>
> Signed-off-by: Atish Patra <atish.patra@xxxxxxx>
> Acked-by: Sudeep Holla <sudeep.holla@xxxxxxx>

Looks reasonable to me.

Acked-by: Paul Walmsley <paul.walmsley@xxxxxxxxxx>

We're assuming, on the RISC-V side, that these patches will go in via
another tree.


- Paul