Commit a1b25661 authored by Robin Murphy's avatar Robin Murphy Committed by Greg Kroah-Hartman
Browse files

perf/arm-cmn: Improve debugfs pretty-printing for large configs



[ Upstream commit a1083ee7 ]

The debugfs pretty-printer was written for the CMN-600 assumptions of a
maximum 8x8 mesh, but CMN-700 now allows coordinates and ID values up to
12 and 128 respectively, which can overflow the format strings, mess up
the alignment of the table and hurt overall readability. This table does
prove useful for double-checking that the driver is picking up the
topology of new systems correctly and for verifying user expectations,
so tweak the formatting to stay nice and readable with wider values.

Signed-off-by: default avatarRobin Murphy <robin.murphy@arm.com>
Link: https://lore.kernel.org/r/1d1517eadd1bac5992fab679c9dc531b381944da.1702484646.git.robin.murphy@arm.com


Signed-off-by: default avatarWill Deacon <will@kernel.org>
Stable-dep-of: e79634b5 ("perf/arm-cmn: Refactor node ID handling. Again.")
Signed-off-by: default avatarSasha Levin <sashal@kernel.org>
parent f5c4ec8d
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment