Received: by 2002:ac0:e34a:0:0:0:0:0 with SMTP id g10csp415119imn; Thu, 28 Jul 2022 04:51:57 -0700 (PDT) X-Google-Smtp-Source: AGRyM1ulG7dDVXomQJRo19wjhBW7vvxHc+Hcx4vsMgG+tvRrTxNahW89rY0Y+2AMb5d0Q/YI5vtu X-Received: by 2002:a17:90b:343:b0:1ef:b65d:f4d8 with SMTP id fh3-20020a17090b034300b001efb65df4d8mr9622646pjb.187.1659009117180; Thu, 28 Jul 2022 04:51:57 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1659009117; cv=none; d=google.com; s=arc-20160816; b=IJBMmFVCc2/VMVAjFJuYgGPEBHUnI9o55fxi3RJbOq5r0Wya9yJSvHWlU1K+GPoOld sCbmkMaTelb/A8RUHLOB1pMbxkUOfPm3Kg9Q04D63OCJQdCBB518w8wG2ue6KCRw2GHi q55mlEETQSBnGLDk0v2EKNX6BTvuO4f43ITj2bS4D27lodngBXzkpa50rrN9Fm4Vm228 H0N5J0+JDYujz/X0XO168N8qTwzrak3CP4jg7fF1LWKUdVBc3OMWejzYluxny9BhqGcO jPKnG6dGPQ6HJ8wtzgJFtXlxq/q6A4NkpYB61XEy2woy2rMaVK1A3rOMULzsfcVCmvwr SeBw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=DDXwy09v5kzKGSrtSfqtSiy1i98PELQE2ktj6kzOluw=; b=sMJgfGVzDwr7TQ3RuJiUYD2ejQp3B464pyFqrNxLzM5OS7yYg+gCXAW3IrqC/rSIlR 30B1Am0IjsW6NUF8luSk9WLwn3rCOGRfRchAV+ofIvp3FJDQBeTYZ9GgfsMn3TwOyqlE PjhWhD3Qpw/PFySF9Y2NYLVU6xHapZ+EGV3ieBK5vjH1T9o+rmKGRCwXrbkxauejX57G 5z/axri5aLfoBfN2OIgYx3Kff7HChKi/WHLXv6lPPhVHEcFfuPfzOAusbnDg6gWHIXT4 PqQcm0N38FSbCYZTNTe9nFpx+5nNW6Ry5d2fU3tVewtVCEiP/VP6wHVzRCdwPQas9pek nytg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=hGzHTvEk; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id k1-20020a056a00134100b0050df0383302si523929pfu.255.2022.07.28.04.51.42; Thu, 28 Jul 2022 04:51:57 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=hGzHTvEk; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S236053AbiG1Lh6 (ORCPT + 99 others); Thu, 28 Jul 2022 07:37:58 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:39150 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234937AbiG1Lh5 (ORCPT ); Thu, 28 Jul 2022 07:37:57 -0400 Received: from mail-lf1-x136.google.com (mail-lf1-x136.google.com [IPv6:2a00:1450:4864:20::136]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 061A552DEE for ; Thu, 28 Jul 2022 04:37:55 -0700 (PDT) Received: by mail-lf1-x136.google.com with SMTP id a23so2399051lfm.10 for ; Thu, 28 Jul 2022 04:37:54 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=DDXwy09v5kzKGSrtSfqtSiy1i98PELQE2ktj6kzOluw=; b=hGzHTvEkVez1BnQLLcWNc9PRGnf8eblmhwFNLAhTAxKItS4UsxHX/1I4FceQRbPq9o 145lgb3pMgV7OmbFcqcNEmHCIYBp8g7Z+e52Fjg8tPprY3GNGFq61WT9Tf4neCxjNu/+ GV95yZmunE9dzg6h0jPXmzGjKhEu3IUSBHU9tChhlb4jBgRyczMqX0HZUD41lwM2IkCZ 7FHreixOLlTuQ/HfQQpo3vqhzk0IS3rrI61xdloYiceq6FvETefUFeKPRwh9g6AhPqqH KKoXxVrLtK0Pnk6VGQ1daC9u6dGOxTEXQ6cKD+LMSNEbGpplvB3gsPlOTK3vmbFWC7NR ciKw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=DDXwy09v5kzKGSrtSfqtSiy1i98PELQE2ktj6kzOluw=; b=uv+wAOjGzEKY/rX/cGNGj1Q9MlT9RCshN2jE6JTM1H3VkMpPvM1Yd05O3IaUHppEFW srwoAA82dU2a4u3JoS2vRj0hLZeISeEY8wjFKlJGIKelbAj/ti4K9M0Xy7of0bJoHlo1 bkSIE2oyHiCRNBhZXzIj0Xggzcut442Ro+KoFXNT96+ZOVOc7EPrCium3Ux5yIGNJ2dy YE1n5VG9eF7OOz/FCPPOoAPsXaAsvYSZ07SQ7ABf4fZVdcM/FT+yg/1xg94QjeHI1Hjl pOL6olq99MYpRRR8FNoe+LgvieIRBmAQQ5OnoBWWpXgHHQKEjkjV83VWzWdDsMUbR6Md 245Q== X-Gm-Message-State: AJIora+kSad1B7ixsfwtEnOx14mA6DaY4dywldkxEfUfXxhyhqBJ8B9f fMlMoyGrnj0Yy7r3o4bik1V2gg== X-Received: by 2002:a05:6512:2821:b0:48a:6a01:3d29 with SMTP id cf33-20020a056512282100b0048a6a013d29mr10219021lfb.649.1659008273103; Thu, 28 Jul 2022 04:37:53 -0700 (PDT) Received: from krzk-bin.lan (78-26-46-173.network.trollfjord.no. [78.26.46.173]) by smtp.gmail.com with ESMTPSA id l12-20020a2ea80c000000b0025e0396786dsm98192ljq.93.2022.07.28.04.37.51 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 28 Jul 2022 04:37:52 -0700 (PDT) From: Krzysztof Kozlowski To: Krzysztof Kozlowski , Andy Gross , Bjorn Andersson , Konrad Dybcio , Georgi Djakov , Rob Herring , linux-arm-msm@vger.kernel.org, linux-pm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Cc: Rajendra Nayak , Sibi Sankar Subject: [PATCH v2 00/11] soc/arm64: qcom: Add LLCC BWMON on SDM845 Date: Thu, 28 Jul 2022 13:37:37 +0200 Message-Id: <20220728113748.170548-1-krzysztof.kozlowski@linaro.org> X-Mailer: git-send-email 2.34.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi, Changes since v1 ================ 1. Patch #2: Drop also BWMON_GLOBAL_IRQ_STATUS (Sibi). 2. Minor rebasings because of above drop. 3. Patch #4: typo in subject (Sibi). 4. New patch: arm64: dts: qcom: sdm845: narrow LLCC address space (Sibi). 5. Add Rb tags. Description =========== BWMON is a data bandwidth monitor providing throughput/bandwidth over certain interconnect links in a SoC. It might be used to gather current bus usage and vote for interconnect bandwidth, thus adjusting the bus speed based on actual usage. Qualcomm SoCs might several BWMON instances. Extend existing support for CPU BWMON (called v4) to LLCC BWMON (called v5). Cc: Rajendra Nayak Cc: Sibi Sankar Best regards, Krzysztof Krzysztof Kozlowski (11): dt-bindings: interconnect: qcom,msm8998-bwmon: add support for SDM845 LLCC BWMON soc: qcom: icc-bwmon: re-use IRQ enable/clear define soc: qcom: icc-bwmon: drop unused registers soc: qcom: icc-bwmon: store reference to variant data in container soc: qcom: icc-bwmon: clear all registers on init soc: qcom: icc-bwmon: store count unit per variant soc: qcom: icc-bwmon: use regmap and prepare for BWMON v5 soc: qcom: icc-bwmon: add per-variant quirks soc: qcom: icc-bwmon: add support for SDM845 LLCC BWMON arm64: dts: qcom: sdm845: narrow LLCC address space arm64: dts: qcom: sdm845: add LLCC BWMON .../interconnect/qcom,msm8998-bwmon.yaml | 1 + arch/arm64/boot/dts/qcom/sdm845.dtsi | 39 +- drivers/soc/qcom/icc-bwmon.c | 460 ++++++++++++++---- 3 files changed, 401 insertions(+), 99 deletions(-) -- 2.34.1