Received: by 2002:a05:7208:3003:b0:81:def:69cd with SMTP id f3csp181485rba; Tue, 26 Mar 2024 12:42:54 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCWTQwliwpDKdp4nxPBtvBL+gvU6ITKoc4iX76Y5O3yxIIGclIc+FFTSKn0WRgY86FFNTXz2Y0vqOvuUyMsOQR2nS+SMbuHlA03hBIxKDA== X-Google-Smtp-Source: AGHT+IEnZ3bX8QvGp2kGS75ytb6sFxsw9G+Ml/RJ4/rIsJkgqLJFDELOiuxOPdje99Grq2c1XrR5 X-Received: by 2002:a05:622a:11c9:b0:431:9d:2050 with SMTP id n9-20020a05622a11c900b00431009d2050mr4123042qtk.60.1711482173883; Tue, 26 Mar 2024 12:42:53 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1711482173; cv=pass; d=google.com; s=arc-20160816; b=FZPcgQuSM3a7nGbx4jQq9T4hRJm4a0dH3tuf5vWo93deLkM8YePYvy+SekkAM6zgT/ ZSbMV2mjbP/3l3+0PSQN4+FGMQisLgpRpGlip2DGuftAg45+3qC2ZX3EPTw/wTwSDgFH QO/e1GILiTLHfIe1lIJMviJLdKs+gjzkYxmkTSuaJW1A8F9f+EuHqwocbalq1TWD7dcd X2FC1nYR3sKnknxcyxLZua7Nbe1So25J1DZ//Qp4DMFurqAq0g6rEGwHaKYzYZeMo2F4 CohyJUqD9ohjW/kuim/8wueHAPbpPZslcoRL1T7FS1yLlfQSUcA6VAYs0EWcgtKd8K+d TvRQ== ARC-Message-Signature: i=2; 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=x+FLLYge6NbdKEYy+G+suSg2kjSLt/AviYxduzdPM1A=; fh=+n16Lm/RpVdRMT/Nccd8i1AItP2dF6pyRUjOehmXXCY=; b=O9+ygFbYRg8RsA1D2tACCVHQdVP6Q0nehnwr486kloeaHK8Uyd0xgUG+pryB5x5Wjs tspqLdupJsti6ZZkUy9ShttbcqlCqFq71oBiymIqpbeB0af6HXVDW5Zz7QklgxQZUwsU h4BvduHzVud+xD1y5MnrjtAuG/9d5LtyTzDFRJDkrODE8+l824x4aKczziqRO1ygVmaK e+ts9Fp5sRqezVmOOgGOc2RXrve/GYwgcpa3q1qQuA++RDsgNZD0u6duURjHgWFx5Es2 Qmw82zPr2B97IBPECRHCbKAMhuIYOXMyligSihI6jKYP3OB67IISuZz0LyBwuIseOyIW Zqww==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=LmKiGdEJ; arc=pass (i=1 spf=pass spfdomain=linaro.org dkim=pass dkdomain=linaro.org dmarc=pass fromdomain=linaro.org); spf=pass (google.com: domain of linux-kernel+bounces-119824-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-119824-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [2604:1380:45d1:ec00::1]) by mx.google.com with ESMTPS id l8-20020a05622a174800b0043149c1ce28si6679593qtk.98.2024.03.26.12.42.53 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 26 Mar 2024 12:42:53 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-119824-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) client-ip=2604:1380:45d1:ec00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=LmKiGdEJ; arc=pass (i=1 spf=pass spfdomain=linaro.org dkim=pass dkdomain=linaro.org dmarc=pass fromdomain=linaro.org); spf=pass (google.com: domain of linux-kernel+bounces-119824-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-119824-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 ny.mirrors.kernel.org (Postfix) with ESMTPS id 9D96E1C39190 for ; Tue, 26 Mar 2024 19:42:53 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 2700713D272; Tue, 26 Mar 2024 19:42:46 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="LmKiGdEJ" Received: from mail-ej1-f51.google.com (mail-ej1-f51.google.com [209.85.218.51]) (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 64845481A3 for ; Tue, 26 Mar 2024 19:42:43 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.218.51 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711482165; cv=none; b=pTxN7+sVTTMdJfYTx7glmvwSYCVXGmMk336pSF/munrFMcbJxYYZn3MWzHBSUUKMI+q4JR52Voc/sVycUMgGdxl/nU5Ejp4iIvsQTHwmN5/e0tex0zx88IhATyf7lianS68Wij4VbCZxAj41yz89DUTDzAi0KX0hdy/fQ5rsNZs= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711482165; c=relaxed/simple; bh=X5eISBc2PLqIh+p+lHXdUkFfFUleuSw5FP9QyKR+L1E=; h=From:Subject:Date:Message-Id:MIME-Version:Content-Type:To:Cc; b=kKTooBOIEjnSIcHKB7LjV6gpJ6+flyVs4McygsnX2kwaAPY/o1mkcjTstCfKP3BbLC76IK7QuDaiL732uiU7NVJLU3AhfEtvlvunthQrVtuebFCy4WcfBZBhZ0Nmrms0T9ndSS3cfJxQuSAanAR/lgh7ypyjowor+TxAj5NbAic= 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=LmKiGdEJ; arc=none smtp.client-ip=209.85.218.51 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-f51.google.com with SMTP id a640c23a62f3a-a45f257b81fso693422166b.0 for ; Tue, 26 Mar 2024 12:42:43 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1711482161; x=1712086961; 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=x+FLLYge6NbdKEYy+G+suSg2kjSLt/AviYxduzdPM1A=; b=LmKiGdEJmVEtvXa7cYLs0mN0HvOiQmAdt0GUsrCNcdg8T4lTF2SBV092OubzBO2Ync OZc4LPaOoRORmiLA6RDqZfZ5h5nwdN9Q1MiWwrMPLLUJI2d8dPrR4Mol92LgpG/nrLo8 qxrPRAWp0Pu0H6+WzK0zGAi7584VA+l0S0xAdOhbF3aF6kXx3U0aYY6fQCcXtuwp38ks GQygQdas+BQ3hS97Viuu71q/Lm5gBZUW5Fzb1f3Qt1eiFOZYVYSSdNrRqYvNvNQuCrtH EwT+66PgqXpf1iFy03Qntt7PkmCM8/p3D7WIXncFuOd6ylkgonnP6dZNPpy/fDPZJcSV tSkg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1711482161; x=1712086961; 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=x+FLLYge6NbdKEYy+G+suSg2kjSLt/AviYxduzdPM1A=; b=e49eJh1ETGPFKQG5Zr38mKO6d85NFf8ywO4p8gIjcvbbaoXabML+vzHRBy8tGPGGo7 PU78DwzaXMunLJyXOsoITtAO7wxMQpsiu8OdtHxIFGsjvO/V3m5o7ijzwKbUHLY6bYaP laPOBZQXrv6p99Xkyj2sMSnbYNcDXErhcK/fHO2qgeQCvdzLa6zAUXMvjXuOXxXPWYWN ye7OqZ+3/ORZSvpHdtH6cb74Cq+l27mmnj7rl9lRWJIuRQwgOXPyd0weA/ZrCU9gNrMI kt1YtVOdVJ66khDxC2ZBB1mW8RPm5/oHSXxtw8nJZDykrVBtvfnNbqvgo0rTJ/uXK5HW ODrw== X-Forwarded-Encrypted: i=1; AJvYcCVuNkaASeMSBwVHGUWbpTGB2JwVoUr36Pv+6Hy4oQJ5gjC0Hl06qdKlZpbdnOPgwEqeR7PQA26GztonXL4K+zEVXEolSivajQsGrr82 X-Gm-Message-State: AOJu0YzMgZb7dieozfEDpzXBt2cgUpO7+oarKEzkGvw2v0oWg7RMALGm zFFEdah+rjiQlnDq04dUj3cji8ywPfkL0LdD9ZiXHqsWmfemCXBAc7PGIvLr2C4= X-Received: by 2002:a17:906:f10c:b0:a4d:f5d4:fb30 with SMTP id gv12-20020a170906f10c00b00a4df5d4fb30mr2212506ejb.49.1711482161482; Tue, 26 Mar 2024 12:42:41 -0700 (PDT) Received: from [192.168.92.47] (078088045141.garwolin.vectranet.pl. [78.88.45.141]) by smtp.gmail.com with ESMTPSA id i8-20020a17090671c800b00a46d4e26301sm4523807ejk.27.2024.03.26.12.42.40 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 26 Mar 2024 12:42:40 -0700 (PDT) From: Konrad Dybcio Subject: [PATCH 0/4] Rework rpm-icc QoS settings Date: Tue, 26 Mar 2024 20:42:31 +0100 Message-Id: <20240326-topic-rpm_icc_qos_cleanup-v1-0-357e736792be@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=H4sIACclA2YC/x2NUQrCMBAFr1L224WaqLReRSQk261diEncWBFK7 27wcx7Mmw0qq3CFa7eB8keq5NTgeOiAFp8ejDI1BtObU2/NBd+5CKGWpxMi98rVUWSf1oJhGsb zYKyZ7QjND74yBvWJlvaQ1hjbWJRn+f6Dt/u+/wC99uCSgAAAAA== To: Bjorn Andersson , Georgi Djakov , Shawn Guo Cc: Marijn Suijten , linux-arm-msm@vger.kernel.org, linux-pm@vger.kernel.org, linux-kernel@vger.kernel.org, Stephan Gerhold , Konrad Dybcio X-Mailer: b4 0.12.2 X-Developer-Signature: v=1; a=ed25519-sha256; t=1711482160; l=1605; i=konrad.dybcio@linaro.org; s=20230215; h=from:subject:message-id; bh=X5eISBc2PLqIh+p+lHXdUkFfFUleuSw5FP9QyKR+L1E=; b=lrjsL5IP/4RGTqohZFWdgHOgrFIXpU790yBKBilc+nmS4y24JDPb0nZVAeSn8T2PZIsTn4T66 r0LMENF3o8nAm5r+nkB5qflmjz+dGeV61X6zoYuCisnNAIE0Y8I7m92 X-Developer-Key: i=konrad.dybcio@linaro.org; a=ed25519; pk=iclgkYvtl2w05SSXO5EjjSYlhFKsJ+5OSZBjOkQuEms= Currently, the QoS settings take up a lot of space and are scattered all over the nodes, even though the config is only applied once and it's not a direct property of the nodes themselves. This series aims to make things better in this regard and contains some fly-by fixes. More fixes and cleanups uncovered after the making of this coming soon.. Didn't cause any spontaneous explosions on 6115 and 8996. Signed-off-by: Konrad Dybcio --- Konrad Dybcio (4): interconnect: qcom: sm6115: Unspaghettify SNoC QoS port numbering interconnect: qcom: qcm2290: Fix mas_snoc_bimc QoS port assignment interconnect: qcom: icc-rpm: Make simple functions return void interconnect: qcom: icc-rpm: Remodel how QoS settings are stored drivers/interconnect/qcom/icc-rpm.c | 187 ++++++------- drivers/interconnect/qcom/icc-rpm.h | 13 +- drivers/interconnect/qcom/msm8909.c | 268 ++++++++++--------- drivers/interconnect/qcom/msm8916.c | 153 ++++++----- drivers/interconnect/qcom/msm8939.c | 157 ++++++----- drivers/interconnect/qcom/msm8996.c | 517 +++++++++++++++++------------------- drivers/interconnect/qcom/qcm2290.c | 416 +++++++++++++++++------------ drivers/interconnect/qcom/sdm660.c | 393 +++++++++++++-------------- drivers/interconnect/qcom/sm6115.c | 242 ++++++++++++----- 9 files changed, 1251 insertions(+), 1095 deletions(-) --- base-commit: 084c8e315db34b59d38d06e684b1a0dd07d30287 change-id: 20240326-topic-rpm_icc_qos_cleanup-bd8958232f39 Best regards, -- Konrad Dybcio