Received: by 2002:a05:7412:8d06:b0:f9:332d:97f1 with SMTP id bj6csp30256rdb; Mon, 18 Dec 2023 08:07:34 -0800 (PST) X-Google-Smtp-Source: AGHT+IG9mMfRENR9NAuB+wCiAKOtTTPgnVfJSElKCntOLVSiZd4iO2hgmL/HYKdo5Z9cR67okBzI X-Received: by 2002:a50:a69e:0:b0:54d:c189:65c0 with SMTP id e30-20020a50a69e000000b0054dc18965c0mr8125804edc.39.1702915654391; Mon, 18 Dec 2023 08:07:34 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1702915654; cv=none; d=google.com; s=arc-20160816; b=MtpfqI3guMCzTtuEuLw6Lf3TcFGY0P6audzNDTNROmuQCy1inGTGHyEH3yjFQpkgka NUNlmJ2AoVAYYImbfr2ymlYiB+H/8ys9h189/0AeKkSOHKTSpUNKFk1guiz+c7xfIRbd S3Hi5lDwETlY7cnqvTB7T9j4Ei0d16jDfwQ5cWFIo8FpjOyeBmzwCRdr6eq8PKk9d4nF VUJu1BLVePz1e1PyY7SIfaMaGrkkFyCj5a2w5YIL5YMSDbd7eJLB68DazW7uMViB06LZ eQJfIOWfTH35xhwYFEwgAEjwU7i9yfSIzVP79bwX5ijb5vAac7BbGp5mT21ouwbo6YkB 1mew== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=cc:to:content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:message-id:date:subject:from :dkim-signature; bh=c4hFbIwksqnnHMFEIUpDIp2sv6C4RgN/QaxeoGjcsV4=; fh=rEVFm9YKCHx5M/iMjT98S44/HnQ1Oqs3Kh4kDoUSPds=; b=KCCudNJVf/V2c0qEgXOOGawWmWjkC2hlTRASjLvuSFTwYpj8c9YQnsSqWHTTE0G7xC PKgvj0FSggByANYr3Itz+/3T42xNCC4vOqMWKbqiCQ9nyQO5sA1d280jfFH3CcWmurIG r4GoZe+Daa8AVi/JjA4Xpx4bm4oCmPZob/LkzcYazMb1XOUVi6EQeLE47B1PgByI7q9U sYY1sF2X5ESGHHaAtrOC60kD0MhboJX+K1aNA/b7krNPzHFvv/ma17pj3SXjZ8xT6687 3IFUPh7A9B1dHLoCEsKnRGQ62yFDvwizUVnkRZeeirTW77gk/QRYRdouCLbmGnZDKwvp EP2g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=O5ixwYUX; spf=pass (google.com: domain of linux-kernel+bounces-4013-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-4013-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. [147.75.80.249]) by mx.google.com with ESMTPS id bx13-20020a0564020b4d00b00553431043f0si1120983edb.502.2023.12.18.08.07.34 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 18 Dec 2023 08:07:34 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-4013-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) client-ip=147.75.80.249; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=O5ixwYUX; spf=pass (google.com: domain of linux-kernel+bounces-4013-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-4013-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 41DD21F21F44 for ; Mon, 18 Dec 2023 16:03:03 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id B3C953D576; Mon, 18 Dec 2023 16:02:19 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="O5ixwYUX" X-Original-To: linux-kernel@vger.kernel.org Received: from mail-ed1-f50.google.com (mail-ed1-f50.google.com [209.85.208.50]) (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 BC8984237E for ; Mon, 18 Dec 2023 16:02:16 +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-ed1-f50.google.com with SMTP id 4fb4d7f45d1cf-54f4f7e88feso4480753a12.3 for ; Mon, 18 Dec 2023 08:02:16 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1702915335; x=1703520135; darn=vger.kernel.org; h=cc:to:content-transfer-encoding:mime-version:message-id:date :subject:from:from:to:cc:subject:date:message-id:reply-to; bh=c4hFbIwksqnnHMFEIUpDIp2sv6C4RgN/QaxeoGjcsV4=; b=O5ixwYUXcyM9DTz1Ay7bcNMrvbJduiXVJjECpndeDew2JQ+836VanTHZoCHpu4elUf 2po8jYki4wvqVIzrZ4LjH6hm5JLOOL6Gl3r+3CfcTZkNN6tw4jUzWhxolSwEjJQwoOFo EWmvGlobwUi9UH6uDU2PszjplMFp+cdJhhesqQKDI73PbNmnqyFeJ0NEkdjHGM9ClGBz Kub4fnURTIbhWt5vkYXOOm819JBFMgGqc2EGGk4VfetCprArdufE/0FvcmYdzbhxFWgj dSR+/NjzR/gYV8rZZJkfDpPC9VJcHphD95wBJX1YSaLVVuI/NwMrcGv9WsPsiQuE9Erq qOLg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1702915335; x=1703520135; h=cc:to:content-transfer-encoding:mime-version:message-id:date :subject:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=c4hFbIwksqnnHMFEIUpDIp2sv6C4RgN/QaxeoGjcsV4=; b=AOXqLHJBB7Fb4aqxuslkT/+v1IXF5hGBvStMDuHO35vA88WiqP1FWZj+IeohEB8ANi CwlDqIKEpUNgvbqvvj2e1ZYCyJT6N7AIUxxarYR3/d2Zx4HLZjH7p8qIuYehnAFlnUZF nYvSC09z3FS4rdLoeN7nNGt7nZZNE3AVxNZRx1LyL3zHGOvJQh5MTPCHana0G8pEiQs4 W/lnUYnVe3s1jqj9gUM3nRIckV+BL65u6gGqeJ4zEqyAZj/lcQRn0EiwGj0b6hiB/IR9 Ru3upJN1NRSvXEJcVdAsA8gdbu3YO2PJfkE9SEkOYCAQqSlxIjCSUxVr9F3C6KRTQZcJ vjoA== X-Gm-Message-State: AOJu0YyDvD8U5/W16lC1B0k/aXiunapWaabKexS/OWkm6bgqUkuK/Mm/ ngLM6zSmEmTd9EcZrJ+WgHbi0g== X-Received: by 2002:a17:907:31c3:b0:a19:a1ba:da2d with SMTP id xf3-20020a17090731c300b00a19a1bada2dmr10314351ejb.84.1702915335035; Mon, 18 Dec 2023 08:02:15 -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.12 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 18 Dec 2023 08:02:14 -0800 (PST) From: Konrad Dybcio Subject: [PATCH 00/12] 8550 fixups Date: Mon, 18 Dec 2023 17:02:01 +0100 Message-Id: <20231218-topic-8550_fixes-v1-0-ce1272d77540@linaro.org> 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 X-B4-Tracking: v=1; b=H4sIAPlsgGUC/x2L0QqDMAwAf0XyvICtOMRfERltms6AVGl0DMR/X 9jjHXcXKFdhhbG5oPJHVLZi4B4N0BLKm1GSMfjWd867AY9tF8Kh79tXli8r+kjPjlJmlxPYFoM yxhoKLTaWc11N7pX/tZlpvu8fJCfhincAAAA= 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=1669; i=konrad.dybcio@linaro.org; s=20230215; h=from:subject:message-id; bh=6Yb6Qe/+BKF3DV+Lv1BhKuTvaTNyVIFwB8H4W5q8BdI=; b=WN6C/G5NMRK0U5PRvi6RcGbFHGJhOq0WE7mMSQzhNKn7wyhSth6m02iTHjs3EDXx7AmQreUZ+ qE3T1qxAX9ED17zx28TncGmUEfwG8aEyZttWnxMiImBy7buOGhSsja0 X-Developer-Key: i=konrad.dybcio@linaro.org; a=ed25519; pk=iclgkYvtl2w05SSXO5EjjSYlhFKsJ+5OSZBjOkQuEms= I found a couple of sneaky bugs concerning 8550, ranging from icc and clk, to some usual omissions in the dts. This series attempts to amend them to mostly prevent UB due to misconfiguration. Patches 1-2 for icc, rest for qcom Signed-off-by: Konrad Dybcio --- Konrad Dybcio (12): interconnect: qcom: sm8550: Remove bogus per-RSC BCMs and nodes interconnect: qcom: sm8550: Enable sync_state clk: qcom: gcc-sm8550: Add the missing RETAIN_FF_ENABLE GDSC flag clk: qcom: gcc-sm8550: Mark the PCIe GDSCs votable clk: qcom: gcc-sm8550: use collapse-voting for PCIe GDSCs clk: qcom: gcc-sm8550: Mark RCGs shared where applicable clk: qcom: gpucc-sm8550: Update GPU PLL settings clk: qcom: dispcc-sm8550: Update disp PLL settings clk: qcom: dispcc-sm8550: Use the correct PLL configuration function arm64: dts: qcom: sm8550: Switch UFS from opp-table-hz to opp-v2 arm64: dts: qcom: sm8550: Separate out X3 idle state arm64: dts: qcom: sm8550: Update idle state time requirements arch/arm64/boot/dts/qcom/sm8550.dtsi | 82 +++-- drivers/clk/qcom/dispcc-sm8550.c | 12 +- drivers/clk/qcom/gcc-sm8550.c | 110 +++---- drivers/clk/qcom/gpucc-sm8550.c | 6 +- drivers/interconnect/qcom/sm8550.c | 575 +---------------------------------- drivers/interconnect/qcom/sm8550.h | 284 ++++++++--------- 6 files changed, 257 insertions(+), 812 deletions(-) --- base-commit: ceb2fe0d438644e1de06b9a6468a1fb8e2199c70 change-id: 20231218-topic-8550_fixes-2bc63cdfe1fd Best regards, -- Konrad Dybcio