Re: [PATCH v2] ia64: move cacheinfo sysfs to generic cacheinfo infrastructure

From: Hanjun Guo
Date: Fri Dec 02 2016 - 04:56:13 EST


On 2016/12/1 23:08, Sudeep Holla wrote:
This patch removes the redundant sysfs cacheinfo code by reusing
the recently introduced generic cacheinfo infrastructure through the
commit 246246cbde5e ("drivers: base: support cpu cache information
interface to userspace via sysfs")

Signed-off-by: Sudeep Holla <sudeep.holla@xxxxxxx>
Cc: Tony Luck <tony.luck@xxxxxxxxx>
Cc: Fenghua Yu <fenghua.yu@xxxxxxxxx>
Cc: Hanjun Guo <hanjun.guo@xxxxxxxxxx>
Cc: linux-ia64@xxxxxxxxxxxxxxx
---
arch/ia64/kernel/topology.c | 384 ++++++++++++++------------------------------
1 file changed, 117 insertions(+), 267 deletions(-)

v1->v2:
- Rebased on top -next that has a patch introducing
cpu_map_populated
- Also added SMP related macros that I missed in v1
Hi,

This is repost of the patch that was posted before several times to
remove duplicate code. Since I don't have the platform to test, I was
hoping to get some testing. This time Hanjun has kindly agreed to do
some testing. Thanks a lot Hanjun in advance. You need to base this on
top linux-next as there are few patches there. Take your time as this is
not urgent at all.

You are welcome, I will test it next week :)

Thanks
Hanjun