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)
commitdb6cd5148724b07617cf43eb2cb916a853d52bc3
treef88d7ddfd381b9c2499e5d13bfafc9ef4cdcc655
parent5b40810b19db072b74e2fea7e927a908c1b7c5c5
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