From patchwork Thu Dec 14 10:43:28 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Will Deacon X-Patchwork-Id: 13492749 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id A4CBFC4332F for ; Thu, 14 Dec 2023 10:44:06 +0000 (UTC) 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=g/UmEYAzxdPxBDkNTcqW6Gq9XMnsQM/LG5JaecYgJ/Q=; b=mct3go2tPFYIUL avQO9vdussA8MWV75eSkkshSozEvH1EGRFy9GzBr8DI63+gtCMCQKHAXbkX+QYfc6lVglyaxZGpu2 n0bAJzXI15TJ4tAQ6GCAgiIHNF0I0aopJNMes/r2YpUscCjkRtSijuSuBQWkJYC3QWg1InGAJ6/Bd pOBD0bS9iWnLV9yi4m+K9Onawp+8Xjqspdhm8hwi78UG9KggQlgvWdfXqm0z0K0Y1ClKNbf8heJi4 Q6n3SDW/8zD7So4ztu+Ggs9MVPc27Ni+8e2SWaTUSZKKlr87i5rrpJSkgrIeCJf8pREyWoalyib8A 270C65lf8zROl+oPfNgA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1rDjBo-00HVtS-0p; Thu, 14 Dec 2023 10:43:36 +0000 Received: from dfw.source.kernel.org ([139.178.84.217]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1rDjBl-00HVt0-2C for linux-arm-kernel@lists.infradead.org; Thu, 14 Dec 2023 10:43:35 +0000 Received: from smtp.kernel.org (transwarp.subspace.kernel.org [100.75.92.58]) by dfw.source.kernel.org (Postfix) with ESMTP id 227976214B; Thu, 14 Dec 2023 10:43:33 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 89274C433C8; Thu, 14 Dec 2023 10:43:31 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1702550612; bh=0bR4DQSOTx7dFp+Uy7dGDy1FL138/1iTrRlHcJbU9BQ=; h=Date:From:To:Cc:Subject:From; b=FL55BBnEcotWFkU1OW9srDH2/9JP+OOG0ygqlG6GnwpV6yoBntCqZ4dx34HEIPOo2 0FYDG0duDbLLygjUiAkkh2aYrlLSS3OiooTrAQuxpsQdsq8tMzxCSj3r6vNp7R5SON 5oIOUbXVzFzEXH6LkCqthBgc1RvkMxunN+0pSomKgITYqOINduLcgnXwJHOFGhpe3J xQYZC8iKWOp7b+6n8C42+Kzrm8t5NXVhd7k28L2UtlfydLNOEdP+mKCbLsP/PMEw0q 1WNkRQYh8j6EhBmzfxXPEHRfatWBpt/sRyi45RlQhcnEwi51zw6I3tn5fgjolu32Il A+zjkKmMj/FYw== Date: Thu, 14 Dec 2023 10:43:28 +0000 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 6.8 Message-ID: <20231214104327.GA924@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-20231214_024333_808368_24359E4D X-CRM114-Status: GOOD ( 11.49 ) 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+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Hi Joerg, Please pull these Arm SMMU updates for 6.8 ahead of the Christmas break. I'll be disappearing shortly, but I'll keep half an eye on the list in case any issues crop up. There's the usual summary of changes in the tag. Cheers, Will --->8 The following changes since commit 2cc14f52aeb78ce3f29677c2de1f06c0e91471ab: Linux 6.7-rc3 (2023-11-26 19:59:33 -0800) 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 1343121f08e6df62b14e6c0a8c193256ac225b0c: Merge branch 'for-joerg/arm-smmu/bindings' into for-joerg/arm-smmu/updates (2023-12-13 15:53:02 +0000) ---------------------------------------------------------------- Arm SMMU updates for 6.8 - Device-tree binding updates: * Add additional compatible strings for Qualcomm SoCs * Document Adreno clocks for Qualcomm's SM8350 SoC - SMMUv2: * Implement support for the ->domain_alloc_paging() callback * Ensure Secure context is restored following suspend of Qualcomm SMMU implementation - SMMUv3: * Disable stalling mode for the "quiet" context descriptor * Minor refactoring and driver cleanups ---------------------------------------------------------------- Jason Gunthorpe (8): iommu/arm-smmu-v3: Add a type for the STE iommu/arm-smmu-v3: Master cannot be NULL in arm_smmu_write_strtab_ent() iommu/arm-smmu-v3: Remove ARM_SMMU_DOMAIN_NESTED iommu/arm-smmu: Reorganize arm_smmu_domain_add_master() iommu/arm-smmu: Convert to a global static identity domain iommu/arm-smmu: Implement IOMMU_DOMAIN_BLOCKED iommu/arm-smmu: Pass arm_smmu_domain to internal functions iommu/arm-smmu: Convert to domain_alloc_paging() Konrad Dybcio (2): dt-bindings: arm-smmu: Document SM8[45]50 GPU SMMU iommu/arm-smmu-qcom: Add QCM2290 MDSS compatible Krzysztof Kozlowski (1): dt-bindings: iommu: arm,smmu: document clocks for the SM8350 GPU SMMU Neil Armstrong (1): dt-bindings: iommu: arm,smmu: document the SM8650 System MMU Rajendra Nayak (1): dt-bindings: arm-smmu: Add compatible for X1E80100 SoC Rob Clark (1): iommu/arm-smmu-qcom: Add missing GMU entry to match table Vladimir Lypak (1): iommu/qcom: restore IOMMU state if needed Wenkai Lin (1): iommu/arm-smmu-v3: disable stall for quiet_cd Will Deacon (1): Merge branch 'for-joerg/arm-smmu/bindings' into for-joerg/arm-smmu/updates .../devicetree/bindings/iommu/arm,smmu.yaml | 77 ++++++++++- drivers/iommu/arm/arm-smmu-v3/arm-smmu-v3.c | 75 +++++----- drivers/iommu/arm/arm-smmu-v3/arm-smmu-v3.h | 8 +- drivers/iommu/arm/arm-smmu/arm-smmu-qcom.c | 2 + drivers/iommu/arm/arm-smmu/arm-smmu.c | 153 ++++++++++++++------- drivers/iommu/arm/arm-smmu/arm-smmu.h | 1 - drivers/iommu/arm/arm-smmu/qcom_iommu.c | 10 +- 7 files changed, 226 insertions(+), 100 deletions(-)