From patchwork Fri Oct 13 12:02:06 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Will Deacon X-Patchwork-Id: 13420820 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 946BCCDB47E for ; Fri, 13 Oct 2023 12:02:42 +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=jesHGxo+xHv98k0/hyJOR8/rBW9wLeEd4wFSjOp9Kjw=; b=onkkK5rNDCiMVV LxYhgk92362kkTqbI0Jk2hQ4vQ/O0R3SfyEXhCdOar0wCvPSUzHyFnz88dzSrX4bthHzS1A8Um8vU NDc9AWuatwSC04ziH4b2zao+gC8dpW0xrrgwmqePA5tZ+c2lsmtMMZs3W8FFIj+qHlOkH+5+LtIRp ogH63BlP6pAFBTw+m/33DMeddgLjlLAO+2cJkI5UFb/35P0zHhlpwl+gjI+v6wJ+8ygVHz/wbnMNZ b7buKf2gYXdy3rH8MWljMrlX597P1uze5AJuHoTXGvjGOMWSXmVEV40sia8gvax/yOPF68IKjSM6O O69Oi2rt8nz1XjahwfIw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1qrGrv-003NmE-1w; Fri, 13 Oct 2023 12:02:15 +0000 Received: from ams.source.kernel.org ([2604:1380:4601:e00::1]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1qrGrs-003Nlm-2r for linux-arm-kernel@lists.infradead.org; Fri, 13 Oct 2023 12:02:14 +0000 Received: from smtp.kernel.org (transwarp.subspace.kernel.org [100.75.92.58]) by ams.source.kernel.org (Postfix) with ESMTP id 52E78B82AD1; Fri, 13 Oct 2023 12:02:11 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 7B202C433C9; Fri, 13 Oct 2023 12:02:09 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1697198530; bh=0q3ULsleNSG+Qgj9yUvTUCOAxNWyc2mBujTtoK7Xw6E=; h=Date:From:To:Cc:Subject:From; b=aTf+a/2ouWrbTA8PUoXwmI2tL3xdsJj/sMNkMNLsJgq53h3v7tOi65JwmbQBrGev3 RyFpsh6HV1Hfpj/VWBe+PrtzoDpg22hxbjqbwmFCY9IukIKDKl1qijGto4h7BUmJVb ElNAIT6Leo9WfBVtCCieBJStxzawA5m4k4hgfO7H7/p3mL9tR/bftrKMEWQXAzz9X5 UTrXU/T+wguJ2TYDQyYEuUs40MYnsb5sRyhDu9Kktlm8hS9lwe1cJKvKx7Z4WthCsK DrefVWjR0AshqwdPQ8ikWdnEU5UUtk3uk1CSDQX5iHtHOcqUww2xtA0K0V74IcFJXW hxMUCc5EsnxRA== Date: Fri, 13 Oct 2023 13:02:06 +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 6.7 Message-ID: <20231013120205.GA13843@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-20231013_050213_215629_B05ED5BA X-CRM114-Status: GOOD ( 11.82 ) 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.7. Usual summary in the tag, but the bulk of this is refactoring to the way in which the SMMUv3 driver handles context descriptors in preparation for implementing the '->set_dev_pasid()' operation for non-SVA domains. And of course there's the obligatory DT updates for Qualcomm platforms. Cheers, Will --->8 The following changes since commit d5afb4b47e13161b3f33904d45110f9e6463bad6: iommu/arm-smmu-v3: Fix soft lockup triggered by arm_smmu_mm_invalidate_range (2023-09-22 11:15:42 +0100) 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 548650921e617c7909c7f3229067e58ad3cb8088: Merge branch 'for-joerg/arm-smmu/bindings' into for-joerg/arm-smmu/updates (2023-10-13 11:43:12 +0100) ---------------------------------------------------------------- Arm SMMU updates for 6.7 - Device-tree binding update: * Add qcom,sm7150-smmu-v2 for Adreno on SM7150 SoC - SMMUv2: * Support for Qualcomm SDM670 (MDSS) and SM7150 SoCs - SMMUv3: * Large refactoring of the context descriptor code to move the CD table into the master, paving the way for '->set_dev_pasid()' support on non-SVA domains * Minor cleanups to the SVA code ---------------------------------------------------------------- Danila Tikhonov (2): dt-bindings: arm-smmu: Add SM7150 GPU SMMUv2 iommu/arm-smmu-qcom: Add SM7150 SMMUv2 Michael Shavit (11): iommu/arm-smmu-v3: Move ctx_desc out of s1_cfg iommu/arm-smmu-v3: Replace s1_cfg with cdtab_cfg iommu/arm-smmu-v3: Encapsulate ctx_desc_cfg init in alloc_cd_tables iommu/arm-smmu-v3: move stall_enabled to the cd table iommu/arm-smmu-v3: Refactor write_ctx_desc iommu/arm-smmu-v3: Move CD table to arm_smmu_master iommu/arm-smmu-v3: Cleanup arm_smmu_domain_finalise iommu/arm-smmu-v3: Update comment about STE liveness iommu/arm-smmu-v3: Rename cdcfg to cd_table iommu/arm-smmu-v3-sva: Remove unused iommu_sva handle iommu/arm-smmu-v3-sva: Remove bond refcount Richard Acayan (1): iommu/arm-smmu-qcom: Add SDM670 MDSS compatible Will Deacon (1): Merge branch 'for-joerg/arm-smmu/bindings' into for-joerg/arm-smmu/updates .../devicetree/bindings/iommu/arm,smmu.yaml | 2 + drivers/iommu/arm/arm-smmu-v3/arm-smmu-v3-sva.c | 71 +++--- drivers/iommu/arm/arm-smmu-v3/arm-smmu-v3.c | 253 ++++++++++----------- drivers/iommu/arm/arm-smmu-v3/arm-smmu-v3.h | 17 +- drivers/iommu/arm/arm-smmu/arm-smmu-qcom.c | 2 + 5 files changed, 178 insertions(+), 167 deletions(-)