On Thu, Nov 29, 2018 at 03:28:19PM -0800, Atish Patra wrote:Thanks. It definitely need to rigorous build testing for different configurations.
Both RISC-V & ARM64 are using cpu-map device tree to describeFrom a quick look and diffstat, it looks like a simple move. However
their cpu topology. It's better to move the relevant code to
a common place instead of duplicate code.
Signed-off-by: Atish Patra <atish.patra@xxxxxxx>
---
arch/arm64/include/asm/topology.h | 22 ---
arch/arm64/kernel/topology.c | 303 +-------------------------------------
drivers/base/arch_topology.c | 294 ++++++++++++++++++++++++++++++++++++
include/linux/arch_topology.h | 26 ++++
include/linux/topology.h | 1 +
5 files changed, 325 insertions(+), 321 deletions(-)
I would like to throw this at 0-day bot to test various build configurations
so that it's not breaking anything. I can push to a branch in my git
@kernel.org but not sure on the build coverage. Anyways will update
with any results on build and testing on my side ASAP.
--
Regards,
Sudeep