Skip to content

Implement shared_cpu_list for powerpc

Srikar Dronamraju linuxppc-dev 1 version Applied

Status from this message: Applied to powerpc/next.

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 2 repliesApplied

Patches in v1 Applied

#Subject and filesSizeRepliesApplied
1/3powerpc/cacheinfo: Use cpumap_print to print cpumaparch/powerpc/kernel/cacheinfo.c+2 -61 reply
2/3powerpc/cacheinfo: Make cpumap_show code reusablearch/powerpc/kernel/cacheinfo.c+8 -20 replies
3/3powerpc/cacheinfo: Add per cpu per index shared_cpu_listarch/powerpc/kernel/cacheinfo.c+10 -10 replies

Reviews trailers per patch

1 of 3 patches has a Reviewed-by or Acked-by.

PatchTejun Heo
1/3A-b
2/3
3/3

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH 0/3] Implement shared_cpu_list for powerpc

shared_cpu_list sysfs file is missing in powerpc and shared_cpu_map gives an extra newline character.

Before this patchset

# ls /sys/devices/system/cpu0/cache/index1
coherency_line_size  number_of_sets  size  ways_of_associativity
level                shared_cpu_map  type
# cat /sys/devices/system/cpu0/cache/index1/shared_cpu_map
00ff

#
(Notice the extra blank line).

After this patchset

# ls /sys/devices/system/cpu0/cache/index1
coherency_line_size  number_of_sets   shared_cpu_map  type
level                shared_cpu_list  size            ways_of_associativity
# cat /sys/devices/system/cpu0/cache/index1/shared_cpu_map
00ff
# cat /sys/devices/system/cpu0/cache/index1/shared_cpu_list
0-7
#

Srikar Dronamraju (3):
powerpc/cacheinfo: Use cpumap_print to print cpumap powerpc/cacheinfo: Make cpumap_show code reusable powerpc/cacheinfo: Add per cpu per index shared_cpu_list

 arch/powerpc/kernel/cacheinfo.c | 25 ++++++++++++++++++-------
 1 file changed, 18 insertions(+), 7 deletions(-)
Cc Nathan Lynch <[email protected]>
Cc Michael Ellerman <[email protected]>
Signature · 1 line
2.17.1