Received: by 2002:a05:7412:8d06:b0:f9:332d:97f1 with SMTP id bj6csp30570rdb; Mon, 18 Dec 2023 08:07:57 -0800 (PST) X-Google-Smtp-Source: AGHT+IHhqC5aNh8K8t1KrXal4wkS++7d1DRy21nEaJ1NW+ynUsMZwKssN1B26ikS2/I1kwtw/ZM4 X-Received: by 2002:a17:906:2c7:b0:a1d:b7b3:a565 with SMTP id 7-20020a17090602c700b00a1db7b3a565mr7543488ejk.12.1702915677605; Mon, 18 Dec 2023 08:07:57 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1702915677; cv=none; d=google.com; s=arc-20160816; b=b9qU8nVoH1wfb2xJ/1gPRd2Bl1YzfZ3r8MH6p3ylnxxT1tgRRd68RgzaOenX4zOhsF i4h9xNMJrflhwHtvwhYVfl9zRU71Q+UWxME3WmK2pCdxbG1BPK7rTp7XLyPYPukh+U4Y uZerL2aXGZx9mzT685hTtmEjP4/QnKIGeyxvZ6ZyLFoR44y0P8IM7IKMRJ2n4xgp/KDP Rsz9LuOKpUco+CGg6AAPlzxmx/u1aYXoALmh7Ir9fO8C3H3+LnnR67R+Lotc5XoleIos TyA+mK5dHwmuby1IHB/P7aJRddHMTtqpvzbWJA1H1+KwDMGEk6NsX9TCWM1j5f2/u/cC An+g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:list-unsubscribe:list-subscribe:list-id:precedence :subject:date:from:dkim-signature; bh=e/cUjOTCjdJi3GHiAbeX7Aqusov41HuBo2ahAKhsdxQ=; fh=rEVFm9YKCHx5M/iMjT98S44/HnQ1Oqs3Kh4kDoUSPds=; b=M50YEhB5zCEvoaR3mJRrcmcEQ1V6NHc0qqzcKCtS3lQPH040T3Hwoy2OsQioqRBeCL DlztdgADBEgNvcHAPxNOQvmSBIYlw8LcXUpSDQPeaL0g8/K3MCFyY6/TkPVfNg5PKkdM Nw+08zAI7f268OEydXyIfk8Jav4KF+oX6YDKr/CRblDe4jXFW71Wn7RlPtGkUJF0WBu5 QdhMVcloe6jS9taTRRKWnGsOuyU1ifsTbAClUT3B/j7QT1hV+zBg4VfPnlRV9bqH5t/w iOj/67pLvlYYoivJElvGnQJNZUkvJTjmDk5XgRb1BXJqyEwTX+h2MHthmU9rvJEcOFIV QcZg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=ET0SNX9g; spf=pass (google.com: domain of linux-kernel+bounces-4015-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-4015-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [2604:1380:4601:e00::3]) by mx.google.com with ESMTPS id m12-20020a1709062b8c00b00a22ef7f1041si5835470ejg.578.2023.12.18.08.07.57 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 18 Dec 2023 08:07:57 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-4015-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) client-ip=2604:1380:4601:e00::3; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=ET0SNX9g; spf=pass (google.com: domain of linux-kernel+bounces-4015-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-4015-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by am.mirrors.kernel.org (Postfix) with ESMTPS id 8EA711F23A7D for ; Mon, 18 Dec 2023 16:03:43 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 5C5474238D; Mon, 18 Dec 2023 16:02:26 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="ET0SNX9g" X-Original-To: linux-kernel@vger.kernel.org Received: from mail-ej1-f54.google.com (mail-ej1-f54.google.com [209.85.218.54]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 0BEBD3D56F for ; Mon, 18 Dec 2023 16:02:20 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linaro.org Received: by mail-ej1-f54.google.com with SMTP id a640c23a62f3a-a1f33c13ff2so269201066b.3 for ; Mon, 18 Dec 2023 08:02:20 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1702915339; x=1703520139; darn=vger.kernel.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=e/cUjOTCjdJi3GHiAbeX7Aqusov41HuBo2ahAKhsdxQ=; b=ET0SNX9gaTqAfTUvB8Ys/hMaLOSkfr3ACiXsqEAJ7bXtSUxEgOLKePc+Wztp+hfgNC y8LZNnN0r5QJB/5x+WC37K+eLrFD8R1WEypFnCWne6KgvK4wDjjvqIoGHPb0uEy+JcaL /onYA+NEZ0YMsWghrPCGljcVf77lO1DK8ObmHYTxsEfBCb90D0gpmA47DamDFQu5UDJT dsfZGL8D02Jg7YYaoZvbmt5fAVFsLliTugOzchGVuyNeIGKeNCtzZApmjBDpXL/Re2EI 3L9soAhmcEKNZrFdfdaAsvS2VO+aQwHi8JgGx8AXI4zJwnJV3uP2+2DAWJr7w1PfTuQi Q96A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1702915339; x=1703520139; 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=e/cUjOTCjdJi3GHiAbeX7Aqusov41HuBo2ahAKhsdxQ=; b=YiALjECsLikqP3rI1POgqk6orVQ4l4zGpyGyK7Pta149b4cJumTUcsIAn7+uzy/0YH j7PT/YShzNkwA15ab5GyQYwFwI0bge5YJ1EccBquIUPRGPguGS/nvQTnwpB2wozt/9Ia dH77ifukc0Te+quxKGbkyKpSSS1FFomoeV0IZBBUunwWKQjBCiao0QY4GMVJV7hUSRGg xI9StT8NnxNamwQYDSrYLgp68bzVxrJ/pdQxCkr7tye5+lPkFXKi84F/rNKUJFqnIopv M/M+W3X3sTxXjkU2CIrfwuLDFZqr7Bh9d8OzuwfqNrSf61aMo29ZIFAVjnbsMyx3Oz/m sM8g== X-Gm-Message-State: AOJu0Yxmjhvv+Hs5wD5OSnEutDdU+E2g50zlaGZa4vPwjq0RacUqVFbE Ev+rtdCmQIsRenxrnbLL5cNasA== X-Received: by 2002:a17:906:73d2:b0:a23:357f:f583 with SMTP id n18-20020a17090673d200b00a23357ff583mr1479782ejl.30.1702915339425; Mon, 18 Dec 2023 08:02:19 -0800 (PST) Received: from [10.167.154.1] (178235179137.dynamic-4-waw-k-1-3-0.vectranet.pl. [178.235.179.137]) by smtp.gmail.com with ESMTPSA id ts7-20020a170907c5c700b00a1dd58874b8sm14260693ejc.119.2023.12.18.08.02.17 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 18 Dec 2023 08:02:19 -0800 (PST) From: Konrad Dybcio Date: Mon, 18 Dec 2023 17:02:03 +0100 Subject: [PATCH 02/12] interconnect: qcom: sm8550: Enable sync_state Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Message-Id: <20231218-topic-8550_fixes-v1-2-ce1272d77540@linaro.org> References: <20231218-topic-8550_fixes-v1-0-ce1272d77540@linaro.org> In-Reply-To: <20231218-topic-8550_fixes-v1-0-ce1272d77540@linaro.org> To: Bjorn Andersson , Georgi Djakov , Abel Vesa , Michael Turquette , Stephen Boyd , Taniya Das , Jagadeesh Kona , Neil Armstrong , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Sai Prakash Ranjan Cc: Marijn Suijten , linux-arm-msm@vger.kernel.org, linux-pm@vger.kernel.org, linux-kernel@vger.kernel.org, linux-clk@vger.kernel.org, devicetree@vger.kernel.org, Konrad Dybcio X-Mailer: b4 0.12.2 X-Developer-Signature: v=1; a=ed25519-sha256; t=1702915332; l=794; i=konrad.dybcio@linaro.org; s=20230215; h=from:subject:message-id; bh=vn3HlIlPR6ucV7JF0xNr2wT4h4pXu1XpkqI9qeViBog=; b=NAyGsbdan2haOqAWOkwgUgINzfJZo+6CBBSFmKyYwJlLOaooPc8dnPr8UBAlz7a+e58XODMnH Q54QEwcjOMEDRBauJyD1DSpTyc6ddEKIPfMlu9phhAyI3PiuvN65/0C X-Developer-Key: i=konrad.dybcio@linaro.org; a=ed25519; pk=iclgkYvtl2w05SSXO5EjjSYlhFKsJ+5OSZBjOkQuEms= To ensure the interconnect votes are actually meaningful and in order to prevent holding all buses at FMAX, introduce the sync state callback. Fixes: e6f0d6a30f73 ("interconnect: qcom: Add SM8550 interconnect provider driver") Signed-off-by: Konrad Dybcio --- drivers/interconnect/qcom/sm8550.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/interconnect/qcom/sm8550.c b/drivers/interconnect/qcom/sm8550.c index abc52ad3d1f2..4d0e6fa9e003 100644 --- a/drivers/interconnect/qcom/sm8550.c +++ b/drivers/interconnect/qcom/sm8550.c @@ -1649,6 +1649,7 @@ static struct platform_driver qnoc_driver = { .driver = { .name = "qnoc-sm8550", .of_match_table = qnoc_of_match, + .sync_state = icc_sync_state, }, }; -- 2.43.0