interconnect fix for v5.14
This contains a revert for a patch that has been causing issues: - Revert: qcom: rpmh: Add BCMs to commit list in pre_aggregate Signed-off-by: Georgi Djakov <djakov@kernel.org> -----BEGIN PGP SIGNATURE----- iQIcBAABAgAGBQJhGLolAAoJEIDQzArG2BZjELwP/2kph+F/JKur7uR4ze+s7Cg+ qpF2SwFQwbERvKtfVvR1cqX8fYEvlxVFnX23NvdoRua1xp4pisWJGm1bekqMLESV MkH4fDWY8/EhYQ8fGRAwrepzhqiKkrW9cRLaPKYeIAwp/i7JaQykAnk1mW8rZLRK p/ECuRID+E2EbJidUYQIajbhPgI89dEFQhQMdS37b/W1rwnQ90m61UVtObRQi2WZ VTlWygQDzEh3nmJ63Fb/4781UUeUULBRO94oOvow3x03Y1nkR2SRvZOwh/etac7A rnGgf3bLWDtXaiZeIp4yAXGRzSNNJjNI076ZxQo9EPv8Qv3+Ax+7xzXUcW/yhs46 k59DKejz9oGk8KsCp8yxLVAxyejwJaw8HYyWAobyk/cEUDSW+hOoLm+1RBX2DhX+ 0wmz6S/AKmBouPbr/SqHXnL5VdCK38l8HLYmVLRS35XJ+b81gXSg5qdaSR7vtIwS yuc3MWXFIcjItEYBLmJBC8Ue1A2YePIWl03VeH4BavHBGbGsEeJPUJhVHuKDkfLE Tr/VK2PEplauqfNwTif+BHUWw9XicJU3nzBb9PxuX3zvlEkGtSb0EDkQlwjuOqYv w5GL5wzWGx8fuogV9SM87/X6I+BMVwPaf7kVIsv+gz+3/cYjJnjtNP7JGIxt8XSv Y0Fi+2QVq+VHRLt7K54b =IGuY -----END PGP SIGNATURE----- Merge tag 'icc-5.14-rc6' of git://git.kernel.org/pub/scm/linux/kernel/git/djakov/icc into char-misc-linus Georgi writes: interconnect fix for v5.14 This contains a revert for a patch that has been causing issues: - Revert: qcom: rpmh: Add BCMs to commit list in pre_aggregate Signed-off-by: Georgi Djakov <djakov@kernel.org> * tag 'icc-5.14-rc6' of git://git.kernel.org/pub/scm/linux/kernel/git/djakov/icc: Revert "interconnect: qcom: icc-rpmh: Add BCMs to commit list in pre_aggregate"
This commit is contained in:
Коммит
d30836a952
|
@ -20,18 +20,13 @@ void qcom_icc_pre_aggregate(struct icc_node *node)
|
|||
{
|
||||
size_t i;
|
||||
struct qcom_icc_node *qn;
|
||||
struct qcom_icc_provider *qp;
|
||||
|
||||
qn = node->data;
|
||||
qp = to_qcom_provider(node->provider);
|
||||
|
||||
for (i = 0; i < QCOM_ICC_NUM_BUCKETS; i++) {
|
||||
qn->sum_avg[i] = 0;
|
||||
qn->max_peak[i] = 0;
|
||||
}
|
||||
|
||||
for (i = 0; i < qn->num_bcms; i++)
|
||||
qcom_icc_bcm_voter_add(qp->voter, qn->bcms[i]);
|
||||
}
|
||||
EXPORT_SYMBOL_GPL(qcom_icc_pre_aggregate);
|
||||
|
||||
|
@ -49,8 +44,10 @@ int qcom_icc_aggregate(struct icc_node *node, u32 tag, u32 avg_bw,
|
|||
{
|
||||
size_t i;
|
||||
struct qcom_icc_node *qn;
|
||||
struct qcom_icc_provider *qp;
|
||||
|
||||
qn = node->data;
|
||||
qp = to_qcom_provider(node->provider);
|
||||
|
||||
if (!tag)
|
||||
tag = QCOM_ICC_TAG_ALWAYS;
|
||||
|
@ -70,6 +67,9 @@ int qcom_icc_aggregate(struct icc_node *node, u32 tag, u32 avg_bw,
|
|||
*agg_avg += avg_bw;
|
||||
*agg_peak = max_t(u32, *agg_peak, peak_bw);
|
||||
|
||||
for (i = 0; i < qn->num_bcms; i++)
|
||||
qcom_icc_bcm_voter_add(qp->voter, qn->bcms[i]);
|
||||
|
||||
return 0;
|
||||
}
|
||||
EXPORT_SYMBOL_GPL(qcom_icc_aggregate);
|
||||
|
|
Загрузка…
Ссылка в новой задаче