From patchwork Tue Jul 19 20:10:04 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Will Deacon X-Patchwork-Id: 1658199 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=qPCascGh; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=kernel.org header.i=@kernel.org header.a=rsa-sha256 header.s=k20201202 header.b=J/4WHpjr; 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 4LnVM371vvz9s1l for ; Wed, 20 Jul 2022 06:10:39 +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:Subject:Cc:To: From:Date: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=5O7EIN7wnVn8E7w1rdJUHqLRQV8j1Z1MgrbWAVEC/8g=; b=qPCascGhFCCJbN GPzgEqTwBo6UzLTMunKjQecsiP0MSZGnQcWfULE4dAuMj9MaU7JC+05cY+YNTcX4wPIF8qGLdTVO5 MfIkp3BaCbYeGxbr7KOCHavkJdRwJMjG3avCDmz+LT7EfU+I51bQwJ4P4m1LGMopDWKar2U/SvByj nkywiRWh0pfXxVTqhvCvhO+zamwJ0ZY+863uQwwyRRI70j674z5s/8GoYuZbhK/BnhgQR4NpNdG/D e6UKe4cSduzlLjLGW53sCet0+BKuOtPXgXZyu46zvNET9KGlKGZxiFWH/29LYH1FvwxkQGgJlgC1B XT0f8FRDKCf8V7zjMxrA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1oDtXu-00CMqJ-Se; Tue, 19 Jul 2022 20:10:18 +0000 Received: from ams.source.kernel.org ([145.40.68.75]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1oDtXr-00CMl9-6B for linux-arm-kernel@lists.infradead.org; Tue, 19 Jul 2022 20:10:16 +0000 Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ams.source.kernel.org (Postfix) with ESMTPS id 368D4B81B29; Tue, 19 Jul 2022 20:10:11 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 87AE1C341C6; Tue, 19 Jul 2022 20:10:08 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1658261409; bh=MphE1A0MBNfqUHD/G9dXrMp5nuRDZG0BZwbqaZHaQ0o=; h=Date:From:To:Cc:Subject:From; b=J/4WHpjr+uWqXVMuZGUZSvM9kkV7fLEuwipJv2oKyOCQb79xSgtIGA5an2ldHH6Io JU9BxsFmHbC3bgiwsWs0x1h9qV/rgIN+Blceg02VDfU2zwUkOYTRjd+KCEbozQ+uzi cw772Xt/UkqwoZZ41MQVwhLAQbk5tTUTPfiOCTQ24W8X18Ayei6P/dZ2mnv5s/RSkf Gr4TjgfvdUqKYcMU8fB4UtPXaNlAl0K0LZ3jgMKWFzwoAmXxWDYFuI2Vj87D2J29Ug Yq4XsUeelBIgpTdnnZJO7Udu6tbxsIxbnEBruoiZ3kGSEimraRhYrklYp0pwPNUsxk SJfsGGWJ3acVA== Date: Tue, 19 Jul 2022 21:10:04 +0100 From: Will Deacon To: joro@8bytes.org Cc: iommu@lists.linux.dev, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, robin.murphy@arm.com, kernel-team@android.com Subject: [GIT PULL] iommu/arm-smmu: Updates for 5.20 Message-ID: <20220719201004.GA15241@willie-the-truck> MIME-Version: 1.0 Content-Disposition: inline User-Agent: Mutt/1.10.1 (2018-07-13) X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220719_131015_492541_262479ED X-CRM114-Status: GOOD ( 15.50 ) X-Spam-Score: -5.4 (-----) 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: Hi Joerg, Please pull these Arm SMMU updates for 5.20. There's not a lot here and it's actually all related to the Qualcomm hardware implementations. Summary in the tag. Cheers, Content analysis details: (-5.4 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -5.0 RCVD_IN_DNSWL_HI RBL: Sender listed at https://www.dnswl.org/, high trust [145.40.68.75 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 -0.2 DKIMWL_WL_HIGH DKIMwl.org - High trust sender 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 Hi Joerg, Please pull these Arm SMMU updates for 5.20. There's not a lot here and it's actually all related to the Qualcomm hardware implementations. Summary in the tag. Cheers, Will --->8 The following changes since commit f2906aa863381afb0015a9eb7fefad885d4e5a56: Linux 5.19-rc1 (2022-06-05 17:18:54 -0700) are available in the Git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/will/linux.git tags/arm-smmu-updates for you to fetch changes up to a91eb6803c1c715738682fece095145cbd68fe0b: iommu/arm-smmu: qcom_iommu: Add of_node_put() when breaking out of loop (2022-07-19 18:30:32 +0100) ---------------------------------------------------------------- Arm SMMU updates for 5.20 - Add even more Qualcomm device-tree compatible strings - Support dumping of IMP DEF Qualcomm registers on TLB sync timeout - Fix reference count leak on device tree node in Qualcomm driver ---------------------------------------------------------------- Emma Anholt (1): iommu: arm-smmu-impl: Add 8250 display compatible to the client list. Konrad Dybcio (2): dt-bindings: arm-smmu: Add compatible for Qualcomm SM6375 iommu/arm-smmu-qcom: Add SM6375 SMMU compatible Liang He (1): iommu/arm-smmu: qcom_iommu: Add of_node_put() when breaking out of loop Sai Prakash Ranjan (1): iommu/arm-smmu-qcom: Add debug support for TLB sync timeouts .../devicetree/bindings/iommu/arm,smmu.yaml | 1 + drivers/iommu/Kconfig | 10 ++ drivers/iommu/arm/arm-smmu/Makefile | 1 + drivers/iommu/arm/arm-smmu/arm-smmu-qcom-debug.c | 142 +++++++++++++++++++++ drivers/iommu/arm/arm-smmu/arm-smmu-qcom.c | 34 ++++- drivers/iommu/arm/arm-smmu/arm-smmu-qcom.h | 28 ++++ drivers/iommu/arm/arm-smmu/arm-smmu.c | 6 +- drivers/iommu/arm/arm-smmu/arm-smmu.h | 1 + drivers/iommu/arm/arm-smmu/qcom_iommu.c | 7 +- 9 files changed, 219 insertions(+), 11 deletions(-) create mode 100644 drivers/iommu/arm/arm-smmu/arm-smmu-qcom-debug.c create mode 100644 drivers/iommu/arm/arm-smmu/arm-smmu-qcom.h