From patchwork Tue Jul 12 02:18:30 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Bjorn Andersson X-Patchwork-Id: 1655166 Return-Path: X-Original-To: incoming-imx@patchwork.ozlabs.org Delivered-To: patchwork-incoming-imx@bilbo.ozlabs.org Authentication-Results: bilbo.ozlabs.org; dkim=pass (2048-bit key; secure) header.d=lists.infradead.org header.i=@lists.infradead.org header.a=rsa-sha256 header.s=bombadil.20210309 header.b=O8cvOfbA; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=linaro.org header.i=@linaro.org header.a=rsa-sha256 header.s=google header.b=cWl/t1aO; dkim-atps=neutral Authentication-Results: ozlabs.org; spf=none (no SPF record) smtp.mailfrom=lists.infradead.org (client-ip=2607:7c80:54:3::133; helo=bombadil.infradead.org; envelope-from=linux-arm-kernel-bounces+incoming-imx=patchwork.ozlabs.org@lists.infradead.org; receiver=) Received: from bombadil.infradead.org (bombadil.infradead.org [IPv6:2607:7c80:54:3::133]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by bilbo.ozlabs.org (Postfix) with ESMTPS id 4LhkwB72xKz9s07 for ; Tue, 12 Jul 2022 12:19:22 +1000 (AEST) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:Message-Id:Date:Subject:Cc :To:From:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References: List-Owner; bh=gszTb120moOcGxfXfWGJEK9mmTywsiBEJK0DxaTaCcA=; b=O8cvOfbAo9Gp+g vvjB7YPIBZsjq5oJq715NY6qeKZVRdQg2Wk8Zcm2JSOOt7OZ2+4qEscccP01H7FTjeXATs0nJo8A4 L2QpTrSDEa7soeX6ct8AN+wC0iSoafxYko7e/cqV9+ojdKK2iXc6VI/OOy4oMk5r4gF6w9p3B1T+C AH8tbpRjFSDuM6qNPZBzK9l3QbtqEG8fJf5U0DnWqgxjiG0Vui6NR7YULHJkJkrxtXBxUQ20SvFy/ x49qkTEXKLpRciYea0nwRvogtUaAxcmgMvZ1JKzguBfotEmKYfmoJFMg9sHP3CoF24TGtnIbnpqLH mBYi9aC5qddc0psoJECg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1oB5UT-006h7w-Gx; Tue, 12 Jul 2022 02:19:09 +0000 Received: from mail-ot1-x32c.google.com ([2607:f8b0:4864:20::32c]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1oB5Tv-006gnG-0f for linux-arm-kernel@lists.infradead.org; Tue, 12 Jul 2022 02:18:36 +0000 Received: by mail-ot1-x32c.google.com with SMTP id e1-20020a05683013c100b0061c1a6b8d11so5238398otq.8 for ; Mon, 11 Jul 2022 19:18:33 -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=emByWjbQoqud23XK8P6B7AoXGAPFJzuBuFTm+2tiWB4=; b=cWl/t1aOV1TQ05HVXLQoXEGM25sY6G/zgfTfA8Y4iM/XeS8mkYsq1ZU2JKLf5MahkK eqAA/m2cNtXBbubAPhMJfeyI7oHWMGlVBeoQDGE1n8XJYYtTvG9q9gpqOeQczOUq5LBz L0Qu3PcJ30zfYUm+c07PuYLZxpEwRO2XtGTdwcG7yUrvYdoC6nUVrgAoQDOxlEuCsJk4 Yb+t39CUaXzlmJK7WuXBnc5gVxM20qlRtOpP0oeKL5gKfn0t2G1R6CvNRrAzA/Kztppa CaQMv655wbIPOhVhEk/ibaofBVsHrAteLl3GqBHfWjKEgV/yIzlrz319zSAyr5ROAcNK UmFA== 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=emByWjbQoqud23XK8P6B7AoXGAPFJzuBuFTm+2tiWB4=; b=glXgxpvc4biFssf2Zd6bhJOpuMH11NrhUuVS0mYsZaJIQYA0QstFUINBIaiEhm9BXD b1OJEPMDRnLutd6ngMQJliHDddNG145ZanGs5auaFJ/nyYmzQ3SrKiG4nJGIT5DjASW8 jZEjItaT8ZCe3WZ+FlVHXtRpQ9TRPi3EFljEJ0FKjE8Vq4Wr+gUnqIz0mc6u1RFLU2O+ BcUCZYEDomLNZqaz77VsK61RTl21obh+G5s2c9BGK5FC9Rs1J8K8e4zRC6motX0XvOyJ h3sf1nnz4vsodV0foXrkM+jQiBGfQAtg8UBd1zla2/IX+fVH2q2a1Jr1Q5oxm9+3eXuE UnEQ== X-Gm-Message-State: AJIora+gThElpiXPS1sx8yVKE6iRtOwkC1BajpL7TuEkwlTOTuW6jtjR tibpt+9FZ6iI+zQ/sDiu4XGl2g== X-Google-Smtp-Source: AGRyM1vtKEPOJdQqpPB0C3TxwcCYMGXA+6ldK99qt54xFY7Xz5WoR1dYBM1Yh0stZUXqSP84yliR/Q== X-Received: by 2002:a05:6830:6004:b0:616:ecd9:129b with SMTP id bx4-20020a056830600400b00616ecd9129bmr8187582otb.232.1657592312452; Mon, 11 Jul 2022 19:18:32 -0700 (PDT) Received: from builder.lan (104-57-184-186.lightspeed.austtx.sbcglobal.net. [104.57.184.186]) by smtp.gmail.com with ESMTPSA id s3-20020acadb03000000b0032e442f6a72sm3469573oig.40.2022.07.11.19.18.31 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 11 Jul 2022 19:18:31 -0700 (PDT) From: Bjorn Andersson To: arm@kernel.org, soc@kernel.org Cc: linux-arm-msm@vger.kernel.org, linux-arm-kernel@lists.infradead.org, Andy Gross , Arnd Bergmann , Olof Johansson , Kevin Hilman , Krzysztof Kozlowski , Douglas Anderson , Miaoqian Lin , Sibi Sankar , Jiang Jian , Julia Lawall , Konrad Dybcio , Rohit Agarwal , =?utf-8?q?Uwe_Kleine-K=C3=B6nig?= , Xiang wangx Subject: [GIT PULL] Qualcomm driver updates for v5.20 Date: Mon, 11 Jul 2022 21:18:30 -0500 Message-Id: <20220712021830.1271398-1-bjorn.andersson@linaro.org> X-Mailer: git-send-email 2.32.0 MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220711_191835_110875_4B70123B X-CRM114-Status: GOOD ( 18.35 ) X-Spam-Score: -0.2 (/) X-Spam-Report: Spam detection software, running on the system "bombadil.infradead.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: The following changes since commit f2906aa863381afb0015a9eb7fefad885d4e5a56: Linux 5.19-rc1 (2022-06-05 17:18:54 -0700) are available in the Git repository at: Content analysis details: (-0.2 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at https://www.dnswl.org/, no trust [2607:f8b0:4864:20:0:0:0:32c listed in] [list.dnswl.org] -0.0 SPF_PASS SPF: sender matches SPF record 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record -0.1 DKIM_VALID_AU Message has a valid DKIM or DK signature from author's domain -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily valid -0.1 DKIM_VALID_EF Message has a valid DKIM or DK signature from envelope-from domain X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+incoming-imx=patchwork.ozlabs.org@lists.infradead.org The following changes since commit f2906aa863381afb0015a9eb7fefad885d4e5a56: Linux 5.19-rc1 (2022-06-05 17:18:54 -0700) are available in the Git repository at: https://git.kernel.org/pub/scm/linux/kernel/git/qcom/linux.git tags/qcom-drivers-for-5.20 for you to fetch changes up to b9c2ae6cac403dee3195fda9eb28d8ee733b225b: soc: qcom: icc-bwmon: Add bandwidth monitoring driver (2022-07-06 15:57:51 -0500) ---------------------------------------------------------------- Qualcomm driver updates for v5.20 This introduces a new driver that requests interconnect bandwidth based on throughput measurements of the bwmon hardware blocks found associated with, among other things, the CPU subsystem on many Qualcomm platforms. It introduces support for the SCM wrapper driver to vote for interconnect bandwidth for operations that needs bandwidth to the crypto engine. This ensures both performance and guards against issues caused by lacking votes for this path. The socinfo driver gains knowledge about the SC7180P SoC. It contains a range of fixes for spelling mistakes, refcount leaks in various drivers and removes some redundant code from the apr remove path. The SCM DT bindings are updated to declare support for QCS404, SM6125 and SDX65. The command db driver has a strncpy() converted to strscpy_pad() and then back again with proper documentation to why this was the right API. ---------------------------------------------------------------- Douglas Anderson (2): soc: qcom: socinfo: Add an ID for sc7180P soc: qcom: cmd-db: replace strscpy_pad() with strncpy() Jiang Jian (1): firmware: qcom_scm: drop unexpected word "the" Julia Lawall (1): soc: qcom: rpmhpd: fix typos in comment Konrad Dybcio (1): soc/qcom: Make QCOM_RPMPD select PM_GENERIC_DOMAINS/_OF Krzysztof Kozlowski (8): dt-bindings: firmware: document Qualcomm QCS404 and SM6125 SCM firmware: qcom_scm-legacy: correct kerneldoc soc: qcom: cmd-db: replace strncpy() with strscpy_pad() soc: qcom: correct kerneldoc dt-bindings: arm: qcom: switch maintainer to Bjorn dt-bindings: soc: qcom,wcnss: remove unneeded ref for names dt-bindings: interconnect: qcom,msm8998-cpu-bwmon: add BWMON device soc: qcom: icc-bwmon: Add bandwidth monitoring driver Miaoqian Lin (2): soc: qcom: ocmem: Fix refcount leak in of_get_ocmem soc: qcom: aoss: Fix refcount leak in qmp_cooling_devices_register Rohit Agarwal (1): dt-bindings: firmware: scm: Add compatible for SDX65 Sibi Sankar (2): dt-bindings: firmware: qcom-scm: Add interconnects property firmware: qcom_scm: Add bw voting support to the SCM interface Uwe Kleine-König (1): soc: qcom: apr: Drop redundant check in .remove() Xiang wangx (1): soc: qcom: llcc: Fix syntax errors in comments Documentation/devicetree/bindings/arm/qcom.yaml | 2 +- .../devicetree/bindings/firmware/qcom,scm.txt | 4 + .../bindings/interconnect/qcom,msm8998-bwmon.yaml | 86 +++++ .../devicetree/bindings/soc/qcom/qcom,wcnss.yaml | 1 - MAINTAINERS | 7 + drivers/firmware/qcom_scm-legacy.c | 4 + drivers/firmware/qcom_scm.c | 71 +++- drivers/soc/qcom/Kconfig | 17 + drivers/soc/qcom/Makefile | 1 + drivers/soc/qcom/apr.c | 15 +- drivers/soc/qcom/cmd-db.c | 8 +- drivers/soc/qcom/icc-bwmon.c | 421 +++++++++++++++++++++ drivers/soc/qcom/llcc-qcom.c | 2 +- drivers/soc/qcom/mdt_loader.c | 4 +- drivers/soc/qcom/ocmem.c | 3 + drivers/soc/qcom/qcom_aoss.c | 4 +- drivers/soc/qcom/rpmhpd.c | 4 +- drivers/soc/qcom/smp2p.c | 3 + drivers/soc/qcom/socinfo.c | 1 + 19 files changed, 639 insertions(+), 19 deletions(-) create mode 100644 Documentation/devicetree/bindings/interconnect/qcom,msm8998-bwmon.yaml create mode 100644 drivers/soc/qcom/icc-bwmon.c