Re: [PATCH] interconnect: qcom: Propagate BCM vote commit errors

From: Konrad Dybcio

Date: Fri Nov 27 2026 - 04:41:15 EST


On 11/27/26 10:34 AM, getfeus@xxxxxxxxx wrote:
> qcom_icc_set() discards the return value from
> qcom_icc_bcm_voter_commit(). If the commit fails, icc_set_bw() sees
> success and skips its rollback of the previous bandwidth request.
>
> Return the commit result so the interconnect core can restore the
> previous request, attempt to reapply it and report the original error.
>
> Verified with a mocked commit failure through icc_set_bw() and on a
> Huawei MateBook E Go using a one-shot -ENOMEM injection in the BCM
> voter. The caller received -ENOMEM, and the previous bandwidth request
> was reapplied successfully. The ARM64 kernel and modules also build
> successfully.
>
> Signed-off-by: Lee Youngjoon <getfeus@xxxxxxxxx>
> ---

Reviewed-by: Konrad Dybcio <konrad.dybcio@xxxxxxxxxxxxxxxx>

Konrad