]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
interconnect: Show bandwidth for disabled paths as zero in debugfs
authorMatthias Kaehlcke <mka@chromium.org>
Wed, 29 Jul 2020 17:50:12 +0000 (10:50 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 23 Sep 2020 10:59:50 +0000 (12:59 +0200)
commite917cbad17f2f3676bff1a7a49e1929bbba18380
treeeebfaa190d0640727f283c4e41021d5d4bdba233
parent03a0df5665d9902b6c00c2eec297ed33b45c5f79
interconnect: Show bandwidth for disabled paths as zero in debugfs

[ Upstream commit b1910c6b9983817160e04d4e87b2dc1413c5361a ]

For disabled paths the 'interconnect_summary' in debugfs currently shows
the orginally requested bandwidths. This is confusing, since the bandwidth
requests aren't active. Instead show the bandwidths for disabled
paths/requests as zero.

Signed-off-by: Matthias Kaehlcke <mka@chromium.org>
Reviewed-by: Evan Green <evgreen@chromium.org>
Link: https://lore.kernel.org/r/20200729104933.1.If8e80e4c0c7ddf99056f6e726e59505ed4e127f3@changeid
Signed-off-by: Georgi Djakov <georgi.djakov@linaro.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/interconnect/core.c