]> git.baikalelectronics.ru Git - kernel.git/commit
net: ipa: store average and peak interconnect bandwidth
authorAlex Elder <elder@linaro.org>
Fri, 15 Jan 2021 12:50:47 +0000 (06:50 -0600)
committerJakub Kicinski <kuba@kernel.org>
Mon, 18 Jan 2021 19:51:05 +0000 (11:51 -0800)
commit8d0c0c053db15b874ecb01fa99599bba4c2a4d50
treef88d7ddfd381b9c2499e5d13bfafc9ef4cdcc655
parent4cf443f943d617e1b750c4b9b7e2a5ed733d634c
net: ipa: store average and peak interconnect bandwidth

Add fields in the ipa_interconnect structure to hold the average and
peak bandwidth values for the interconnect.  Pass the configuring
data for interconnects to ipa_interconnect_init() so these values
can be recorded, and use them when enabling the interconnects.

There's no longer any need to keep a copy of the interconnect data
after initialization.

Signed-off-by: Alex Elder <elder@linaro.org>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
drivers/net/ipa/ipa_clock.c