diff options
author | Vladimir Kondratiev <vladimir.kondratiev@intel.com> | 2019-11-24 16:07:31 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2020-01-17 19:45:53 +0100 |
commit | ac9951c4894ee3a6c2d8b1e110a95b1ab1e8625b (patch) | |
tree | e5d5fa266fd5589849850795e734089dc664f259 /arch/sh | |
parent | d3c981eb0bd7444039b5950fc06602e92f676f6c (diff) | |
download | linux-stable-ac9951c4894ee3a6c2d8b1e110a95b1ab1e8625b.tar.gz linux-stable-ac9951c4894ee3a6c2d8b1e110a95b1ab1e8625b.tar.bz2 linux-stable-ac9951c4894ee3a6c2d8b1e110a95b1ab1e8625b.zip |
mips: cacheinfo: report shared CPU map
[ Upstream commit 3b1313eb32c499d46dc4c3e896d19d9564c879c4 ]
Report L1 caches as shared per core; L2 - per cluster.
This fixes "perf" that went crazy if shared_cpu_map attribute not
reported on sysfs, in form of
/sys/devices/system/cpu/cpu*/cache/index*/shared_cpu_list
/sys/devices/system/cpu/cpu*/cache/index*/shared_cpu_map
Signed-off-by: Vladimir Kondratiev <vladimir.kondratiev@intel.com>
Signed-off-by: Paul Burton <paulburton@kernel.org>
Cc: Ralf Baechle <ralf@linux-mips.org>
Cc: James Hogan <jhogan@kernel.org>
Cc: linux-mips@vger.kernel.org
Cc: linux-kernel@vger.kernel.org
Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'arch/sh')
0 files changed, 0 insertions, 0 deletions