From patchwork Tue Jan 23 08:49:05 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Neil Armstrong X-Patchwork-Id: 765883 Received: from mail-wm1-f45.google.com (mail-wm1-f45.google.com [209.85.128.45]) (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 043D858100 for ; Tue, 23 Jan 2024 08:49:09 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.128.45 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1705999751; cv=none; b=A//YXmU7dhsXys05R3uJo4CkDnTeJEIJBpKCNLpIATpMH0TDC2+sI93VHNyX0JBRRA5VnxNKSRdfLdWrOshtlHx47icpOSvL6vIj5kIXTY8aoNUSja8814AoaqI6GjzXPnbuclB49heIE2rkww6YHOl7oINEi7IJcUBqGFJe0JA= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1705999751; c=relaxed/simple; bh=Ijb4cNUN6qT6KjrYfTKe64L5Bjvj6MAO6mPdifj/E9M=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:To:Cc; b=fhjzVKibehG8s6yJIxJQ7k2+/QTixiHdEcuLRkKhMMAgsLORbjhYxYrJqGbNCO/d9cudMJmtCXbBHxr2WVXuhov20iaZH1ib0li+vDuGxnrUIf9W/Lzv42uvmt5lS0jTaOFd0NigdC5IwbZROm/yLCW3T0YpWvcXcBKlYsVdhRg= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org; spf=pass smtp.mailfrom=linaro.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b=tYY6FxVY; arc=none smtp.client-ip=209.85.128.45 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 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="tYY6FxVY" Received: by mail-wm1-f45.google.com with SMTP id 5b1f17b1804b1-40e60e135a7so39855905e9.0 for ; Tue, 23 Jan 2024 00:49:09 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1705999747; x=1706604547; darn=vger.kernel.org; h=cc:to:message-id:content-transfer-encoding:mime-version:subject :date:from:from:to:cc:subject:date:message-id:reply-to; bh=UniTpQrqL4gEvFujj2TXerHH/FkdwNuatW9WdHjVmBI=; b=tYY6FxVYFkWLq8DL0GW4uTsShVl5Tzn1CruTA19WgGhBzox6FbepfU9YPuiVKUwQ6y ZjXqnnRGhfncmSedYjCym9Zx1z1H1pXVrpiP3hDSV9t+KdzcYS5JfIC0J9Gd2qlHxvL+ i63IVECboHUiXdXgwnHrjx+rp3FibaGc6oRCaVZOf0R+nAbPwEeIpuzsb73DHr7+uX93 1RB4fblOmYIBrYm8KCX0hVKyQUCgfiA8v5+YVvK1y0U2mBg6eS9q50wfatHwDKdq4PRU PkFTrv2v4zlA+QPWU3xrTkDSxbCpn4rIfiQOnUMa2BpFQwlxtkoJGeATeN4z+OHPbXuv 9Cjg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1705999747; x=1706604547; h=cc:to:message-id:content-transfer-encoding:mime-version:subject :date:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=UniTpQrqL4gEvFujj2TXerHH/FkdwNuatW9WdHjVmBI=; b=C/28dmujtP9rb/Uj4O1601aqlezG6cVQusPv/Oo0dKvXXFGjks4P5yg3xyYWj1+XPm twlXCIT3FFObrQ4y0olivXGJsiL4+KQgQg0/pDKBn23nkzTyMYEgr9Mrr2UL23yZUbOh q8KPLHa0QOFKbosAyhFtiCMR0ufNPc1o4s/9w7QGIpRp57zq9HLEehVj04M8hPjsm14v tY4QUGMUnrvj6g7WpfHHMIn5GfzobMp+Jhb4VtXkhgPXddqY+px6A0jjDj06tdDKoATD Hq1BQRfUnGeRoErFYso60jEwbULJEBg6XsNdHsuYfuvt/S8+HnG7QLl1bn3gFN/fxId0 gdkw== X-Gm-Message-State: AOJu0Yz+oy+N+neWwfBhwaBkYaGKMpxP08XifQVDXfNF3cImf2dWQukZ K2CoB38M4mMXVSwcUf6J9Pjx0MZE7sc/B/wJEC/dvAJrzF+Xkd+9oLAUUH3yeyeEhmQ3G/ODdFd 4jpIRVQ== X-Google-Smtp-Source: AGHT+IEkCcVPU/FK2inSNEvYVRWeDzN8ynD1UxoEOZsD3GAqwzodWEFehqcekVS9BEM5DzURtMlaTg== X-Received: by 2002:a05:600c:358b:b0:40e:5aa4:44f9 with SMTP id p11-20020a05600c358b00b0040e5aa444f9mr348679wmq.10.1705999747583; Tue, 23 Jan 2024 00:49:07 -0800 (PST) Received: from arrakeen.starnux.net ([2a01:e0a:982:cbb0:8261:5fff:fe11:bdda]) by smtp.gmail.com with ESMTPSA id j5-20020a05600c1c0500b0040e9f7dadc6sm13991339wms.25.2024.01.23.00.49.06 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 23 Jan 2024 00:49:07 -0800 (PST) From: Neil Armstrong Date: Tue, 23 Jan 2024 09:49:05 +0100 Subject: [PATCH] interconnect: qcom: sm8550: Enable sync_state Precedence: bulk X-Mailing-List: linux-pm@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Message-Id: <20240123-topic-sm8550-upstream-icc-sync-state-v1-1-a66259e0e176@linaro.org> X-B4-Tracking: v=1; b=H4sIAIB9r2UC/x2NQQqDMBBFryKz7kCMDTa9SnER4lRnYQyZKIp49 w7dPHhv8f8FQoVJ4N1cUGhn4TWptI8G4hzSRMijOlhjn6a1HdY1c0RZXs4Z3LLUQmFBjtrOpKi hEvamd947P3ZkQadyoS8f/5vPcN8/0KCCdXYAAAA= To: Bjorn Andersson , Konrad Dybcio , Georgi Djakov , Abel Vesa Cc: linux-arm-msm@vger.kernel.org, linux-pm@vger.kernel.org, linux-kernel@vger.kernel.org, Neil Armstrong X-Mailer: b4 0.12.4 X-Developer-Signature: v=1; a=openpgp-sha256; l=1000; i=neil.armstrong@linaro.org; h=from:subject:message-id; bh=Ijb4cNUN6qT6KjrYfTKe64L5Bjvj6MAO6mPdifj/E9M=; b=owEBbQKS/ZANAwAKAXfc29rIyEnRAcsmYgBlr32CmM9RGz7SKz81e/YjcfXxear+XAPZ1lEqJAg0 sC0HyAiJAjMEAAEKAB0WIQQ9U8YmyFYF/h30LIt33NvayMhJ0QUCZa99ggAKCRB33NvayMhJ0SBkD/ 94Y9aB5H5NrNSHd4WYb+O6xnbh/v7BRwU3Il3CjmBwiQshTRV4VpIUeZIlvgYMMbXr9bcvyPPgxf8R CRyPzf1vcG/8AMstNrexUN9GkBMEJfJDCxmiuc88iWxTR7E7O9aExo/kiHWKF0syzhXaxoLAvhLTy3 Qj9BmEjB6xEme7mpuIbzgtE9Jx2vXuQRQIaSIOjP2dM0+xljSFqwNdmdX+f6Fb0+CbBTkemR+Q75bk Ryqoan771vSqPplmA4ja4AOEhd5L6EU+EE8W6UBRa124CgvFpbb5okGq57Qf1cf4olRTspk5DcV5yG E913TK8ypoS7EeUZGAElGJ2Rwp5qFeFFdB8S7lTcoDJnkdD6ffF3XUNuuqgcqzK13hSEBUZ9DS6un+ WAu1exPae/iNTGO9/qP9rF4PMXk/v+rmAXAGjpeUXj3hsX+QmlNNMvi8UkXdtYSNaRaF7EiF3VHywr bmv2zNkiiQgj5DhIZtAAcf6qbXTruJTR44nIZ9PJa3+X5GR/EZhBIS+hWLcis1V03rZ2CS8K1V0BGE 8UiHi9d1hsk/C09YzLchlcsuM8mPeCbi+3LYdu+EFlLnco+y8apjbvg1PjgxqRkesfqYZ9+GOOoQJK Ds2ZnmL7eSlrO0XXtTPn6f9/kN6RRqIdGwttbEDuiKCwmGQi/y+c14evtZyg== X-Developer-Key: i=neil.armstrong@linaro.org; a=openpgp; fpr=89EC3D058446217450F22848169AB7B1A4CFF8AE Enable sync_state on sm8550 so that the interconnect votes actually mean anything and aren't just pinned to INT_MAX. Fixes: e6f0d6a30f73 ("interconnect: qcom: Add SM8550 interconnect provider driver") Cc: Konrad Dybcio Signed-off-by: Neil Armstrong --- drivers/interconnect/qcom/sm8550.c | 1 + 1 file changed, 1 insertion(+) --- base-commit: 6613476e225e090cc9aad49be7fa504e290dd33d change-id: 20240123-topic-sm8550-upstream-icc-sync-state-70759959d3e2 Best regards, diff --git a/drivers/interconnect/qcom/sm8550.c b/drivers/interconnect/qcom/sm8550.c index 629faa4c9aae..fc22cecf650f 100644 --- a/drivers/interconnect/qcom/sm8550.c +++ b/drivers/interconnect/qcom/sm8550.c @@ -2223,6 +2223,7 @@ static struct platform_driver qnoc_driver = { .driver = { .name = "qnoc-sm8550", .of_match_table = qnoc_of_match, + .sync_state = icc_sync_state, }, };