Received: by 2002:a05:6359:c8b:b0:c7:702f:21d4 with SMTP id go11csp2102060rwb; Sat, 24 Sep 2022 03:02:57 -0700 (PDT) X-Google-Smtp-Source: AMsMyM7oESCJwBsSRBcE3kClZOsunXQWWmj5PvUQvuygm10/R8lu36YXiwgKLCcRWKFH7176ZzSx X-Received: by 2002:a17:90a:9295:b0:202:582b:1765 with SMTP id n21-20020a17090a929500b00202582b1765mr13829797pjo.99.1664013777690; Sat, 24 Sep 2022 03:02:57 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1664013777; cv=none; d=google.com; s=arc-20160816; b=lErQ38sREL6ef8PE8+cokwOhBYgQzUTy+kiLCqpp/etkFb+VzubwRi1NDi3cc53+wr qLCbIZE7bm9Zw9sdjRzu7ypKpcGDkKIUelkkvhFy7uXNry19WsaJN6FtCP5sauo6jcoK wWQqj96vF0lrMISGYoK+D8hdOAdg8oPktBrVa3MYF+oOCh0JpTlgdIC2oLEnpjlUVeCJ Y6ORzOml9J5rJ2zpQj4FRUm2d8/2PfF7S2BYO8GwZOPgnF+cIWeCXPx+hEtDPOTQ3zmJ MAYbsnYbqAHk9fym6lNxXL2YTEViq1vRMG7z9c/yTKE8Aefe7Hg17LR42QQF2U4LhakI lOuQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=dLCxz3U4VtxQTX3abEMb3Iiusp1Wrt9xu0nb0n9bGsA=; b=v8vibWPl15CUIVts0Y+IJdcwcjDLv6DB4cdOonPVqGrIof7X6ABhYF+exbASWE3BwZ J9EuIdxSsi9GKG7DvqESV3JTGuSGc5UTiNLz9cOnPk1MgY+ZXo6LRneMPnPj95OMpiCD ydMCB5VlFv6ijRtpyzDtQeeZQnzpZihXrIRXyGjaa2y1b+MdtkKf8f6Z6XQm6OcJZlR/ XRCBKJ8PugfGE7S1pQ0utxyuen/QEYuhVtmc+wikezkkiBdViEa6cVKqtPXITVyNaJ5X 0C0+ccE+EncC+jO+VJwcZTO4PuBvGAEW2b13zduALSuKXQJKRxDYPI/e6Q56w1ZGXOX7 W6Og== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=WwI4czSd; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id s203-20020a632cd4000000b0043c0b519c4csi8186266pgs.3.2022.09.24.03.02.46; Sat, 24 Sep 2022 03:02:57 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=WwI4czSd; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233633AbiIXJeU (ORCPT + 99 others); Sat, 24 Sep 2022 05:34:20 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60004 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233204AbiIXJeS (ORCPT ); Sat, 24 Sep 2022 05:34:18 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D546112E429; Sat, 24 Sep 2022 02:34:17 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 70CA3608C3; Sat, 24 Sep 2022 09:34:17 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 542DBC433C1; Sat, 24 Sep 2022 09:34:16 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1664012056; bh=3mobUcHXtIiwJ/IgBy0YxctGCTuEvcBls7FCY9NGx94=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=WwI4czSd+PC2k+Gv5uUc0PfQbDuMvfCng+HMUKtnB711hP7bxapr7iMQBnl8KUtev GJPt8x3FUhpAgWK2k2xNMhyhiIVvrMUPYzmGcHPTPKCKYrkKosNqQMAkyx4V0NtKj8 pEgW219IWo2sqggtMPPfTq+vFrA9EleWzOkE7FwY= Date: Sat, 24 Sep 2022 11:34:13 +0200 From: Greg KH To: Alex Elder Cc: Douglas Anderson , stable@vger.kernel.org, swboyd@chromium.org, Mike Tipton , Georgi Djakov , Andy Gross , Bjorn Andersson , Georgi Djakov , linux-arm-msm@vger.kernel.org, linux-kernel@vger.kernel.org, linux-pm@vger.kernel.org Subject: Re: [5.10 PATCH] interconnect: qcom: icc-rpmh: Add BCMs to commit list in pre_aggregate Message-ID: References: <20220922141725.5.10.1.I791715539cae1355e21827ca738b0b523a4a0f53@changeid> <00eb82ca-8bf6-c744-d04d-96b97ce06b17@linaro.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <00eb82ca-8bf6-c744-d04d-96b97ce06b17@linaro.org> X-Spam-Status: No, score=-7.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_HI, SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Sep 22, 2022 at 04:28:25PM -0500, Alex Elder wrote: > On 9/22/22 4:18 PM, Douglas Anderson wrote: > > From: Mike Tipton > > > > commit b95b668eaaa2574e8ee72f143c52075e9955177e upstream. > > > > We're only adding BCMs to the commit list in aggregate(), but there are > > cases where pre_aggregate() is called without subsequently calling > > aggregate(). In particular, in icc_sync_state() when a node with initial > > BW has zero requests. Since BCMs aren't added to the commit list in > > these cases, we don't actually send the zero BW request to HW. So the > > resources remain on unnecessarily. > > > > Add BCMs to the commit list in pre_aggregate() instead, which is always > > called even when there are no requests. > > > > Signed-off-by: Mike Tipton > > [georgi: remove icc_sync_state for platforms with incomplete support] > > Link: https://lore.kernel.org/r/20211125174751.25317-1-djakov@kernel.org > > Signed-off-by: Georgi Djakov > > [dianders: dropped sm8350.c which isn't present in 5.10] > > Signed-off-by: Douglas Anderson > > Whoops, sorry about that. > > Acked-by: Alex Elder Now queued up, thanks. greg k-h