From patchwork Sun Aug 4 05:40:12 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dmitry Baryshkov X-Patchwork-Id: 13752477 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id C8145C3DA7F for ; Sun, 4 Aug 2024 05:45:08 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:List-Subscribe:List-Help :List-Post:List-Archive:List-Unsubscribe:List-Id:Cc:To:In-Reply-To:References :Message-Id:Content-Transfer-Encoding:Content-Type:MIME-Version:Subject:Date: From:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=I8Wu94fGKiTMPD1PzKnesNCvm5Ij4LDiKxVI9I0uyRk=; b=CBkujUWyv5Q9hV3vg4ziZu2EF/ kwwQx5mqmgY+Nb63eGZnfb6d0nv1TLgba7sAykHSLztJKu8fF+1bOF8R3Eocf4MQWHBJvsJhz3nK7 hHRrHw3zd/y7lxnOPhmzshupFvGLQDQf6wvnPOjalYgEb3IkxsAB9A/bR/Ocy57dZgmFHo8DNQGLT oVwuw0fzaw0jOL+xkrxOFkMiXHTxjv0rSluPLS96PHjMU3MWTyad9EswDs0pM5GzS2DP6srkIlBhD 0Jg/ligsioVYcWaNAQbaaCUUOowHLdP+spilWmuWXZZpHVwPmj37XIqYe2WvK87hd22iMXZxz4N70 XwiFAWug==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1saU38-0000000Chdn-2wYf; Sun, 04 Aug 2024 05:44:58 +0000 Received: from mail-lf1-x12f.google.com ([2a00:1450:4864:20::12f]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1saTyr-0000000CgIz-30fr for linux-arm-kernel@lists.infradead.org; Sun, 04 Aug 2024 05:40:35 +0000 Received: by mail-lf1-x12f.google.com with SMTP id 2adb3069b0e04-52efa9500e0so11261457e87.3 for ; Sat, 03 Aug 2024 22:40:33 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1722750031; x=1723354831; darn=lists.infradead.org; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:from:to:cc:subject:date:message-id :reply-to; bh=I8Wu94fGKiTMPD1PzKnesNCvm5Ij4LDiKxVI9I0uyRk=; b=Cl9pItWIptmOK9i+hqz3xfh7Mxc0npFCEMqt6Uh/QajyjaOyoBjmjlapLSwoJ/Wg/0 KOpHqdiKnsF9DzEtVCrCvVPLBU9X1xFVgiTpjMIETjIR/pryB8h7uuX/6Iy8mgzf7IP7 5rWl2Pt3/6iLzMHNwTz7Il94XY8EfmGxMkh4OmrPaCyTR+BoorpZjL+YaIMi8ZVtPedy Zr+s5Z3wON628J9CxknikWZSWPvmfbAF+u83qTQUnz4iD+wqLZC2PnH/o0AzsYeNnFYD m/3tprnLCxc8yFncnFZ4F433nYDCjXEuyY2fTa2N9BttPlrEfvTCziOHSAeswxD24eds hCbQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1722750031; x=1723354831; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=I8Wu94fGKiTMPD1PzKnesNCvm5Ij4LDiKxVI9I0uyRk=; b=g7F/sIGtOa9xdijfF2ru1lDbcl260KdwMpOel/chVRhNwbjISKUKp4VR80GARswGgJ OjGo+s8O5RNXlc697ITntcaXQE5POSB967wQgF3PfJF5TGdKqlYtYiV9FJ/Oj6x5IKw8 uLjVk4YEHZGhyVhItOy3HeHlVxstRF3dVQ5ZwodhGG0uc7yDqCQEJxJ2AWossmchet/z 9YQQrL06f5JjUiMIBrUJ1TvtlolktQnf1mSApcjBQaceLqf8yE1DWVL2kyDTCxwfdjya UU7k/LKPDrfWlx625KDYFfUiDYmAbCdCvMsvLU5TLcctau6JRdAaWncFnI968tpOhmeZ qrSw== X-Forwarded-Encrypted: i=1; AJvYcCU9THIqixJMIDVQWKtvgXl27YOen71boJEUO0suUnG6BBXP4NEFy9xzKr+npVPm+fgIWQ60qXLDSnm7OA4gKIftK2PTdzOf22c9/yfS9iXSAFb8Ucw= X-Gm-Message-State: AOJu0YzCaM67Kst18X57Q0Ada4ADjcklzl71XilyRrvylstzGdxc5JOI rM6B/dDBteW5gERvhjyqm6HNUEtQDkW9WKMxoeuthpuGCTgbzhASKAPAkgiyFYY= X-Google-Smtp-Source: AGHT+IFfmnlD6mrDT3KruFvoon8BUGprvXegwalTaKHvGV+9P6kPPphMtaSDcjG1NUuShKFfX0CTEw== X-Received: by 2002:a05:6512:1590:b0:52c:e28f:4da6 with SMTP id 2adb3069b0e04-530bb3b1517mr4682167e87.51.1722750031400; Sat, 03 Aug 2024 22:40:31 -0700 (PDT) Received: from umbar.lan ([192.130.178.91]) by smtp.gmail.com with ESMTPSA id a640c23a62f3a-a7dc9bc3bd7sm292248466b.34.2024.08.03.22.40.29 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 03 Aug 2024 22:40:31 -0700 (PDT) From: Dmitry Baryshkov Date: Sun, 04 Aug 2024 08:40:12 +0300 Subject: [PATCH 08/11] interconnect: qcom: sm8250: Enable sync_state MIME-Version: 1.0 Message-Id: <20240804-sm8350-fixes-v1-8-1149dd8399fe@linaro.org> References: <20240804-sm8350-fixes-v1-0-1149dd8399fe@linaro.org> In-Reply-To: <20240804-sm8350-fixes-v1-0-1149dd8399fe@linaro.org> To: Bjorn Andersson , Michael Turquette , Stephen Boyd , Jonathan Marek , Robert Foss , Vinod Koul , Rob Clark , Abhinav Kumar , Sean Paul , Marijn Suijten , David Airlie , Daniel Vetter , Konrad Dybcio , Georgi Djakov , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Mike Tipton , Catalin Marinas , Will Deacon Cc: linux-arm-msm@vger.kernel.org, linux-clk@vger.kernel.org, linux-kernel@vger.kernel.org, dri-devel@lists.freedesktop.org, freedreno@lists.freedesktop.org, linux-pm@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, Dmitry Baryshkov X-Mailer: b4 0.14.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=856; i=dmitry.baryshkov@linaro.org; h=from:subject:message-id; bh=ZI9fPJt840zyCD0T/bdD2HXJKwtHsbp4pPiV3WmPfv4=; b=owEBbQGS/pANAwAKAYs8ij4CKSjVAcsmYgBmrxQ/jMwL35sKEU5D9Tjp6mYCnOmmqoQLsUae1 0DawQf91CuJATMEAAEKAB0WIQRMcISVXLJjVvC4lX+LPIo+Aiko1QUCZq8UPwAKCRCLPIo+Aiko 1Wd1CACoGYeZT9QIFHk06IumJN0/f3vOzPfA9od+eKNLVIGC6yd7rm9bCEyQzomcgGvPKr0Hxzz ppcABqc8lJWSoKS3xOJDQ8kD5vZCwVV4MGJ3acpjzTsYn0F2T6GXEp3Sj7DGftexTbNh3Z/JhBx RYS5hdWYsl6yIgSeVKkIo2KoCxvbv3NtX6o/AylXee2y6ZgOXlE90ASOPKaRg+siUF2I7SFsWvR ALaRIt8XmnvWLl2KLVShljReh+EiVuvwBXguCSYi3RqH9dFpHFgdW50ru6PZyu6FO35ucww3HlT CKHK8YPjkcXBS9TJ6g3zS4L3BiEv95HTup5R9lfaU4olHiCn X-Developer-Key: i=dmitry.baryshkov@linaro.org; a=openpgp; fpr=8F88381DD5C873E4AE487DA5199BF1243632046A X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240803_224033_876095_A80F3558 X-CRM114-Status: GOOD ( 10.93 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Enable the generic icc sync_state callback to ensure interconnect votes are actually taken into account, instead of being forced to the maximum value. Fixes: b95b668eaaa2 ("interconnect: qcom: icc-rpmh: Add BCMs to commit list in pre_aggregate") Signed-off-by: Dmitry Baryshkov --- drivers/interconnect/qcom/sm8350.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/interconnect/qcom/sm8350.c b/drivers/interconnect/qcom/sm8350.c index 108934fc8ebf..4236a43dc256 100644 --- a/drivers/interconnect/qcom/sm8350.c +++ b/drivers/interconnect/qcom/sm8350.c @@ -1811,6 +1811,7 @@ static struct platform_driver qnoc_driver = { .driver = { .name = "qnoc-sm8350", .of_match_table = qnoc_of_match, + .sync_state = icc_sync_state, }, }; module_platform_driver(qnoc_driver);