From patchwork Thu Feb 29 18:15:33 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Will Deacon X-Patchwork-Id: 13577530 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 BFFD6C48BF6 for ; Thu, 29 Feb 2024 18:16:05 +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=fAGkoPPdP2wYAII3yftsQDSU59kPW3WovBrhyEp1uWg=; b=i15U7IZRy3wk6n k6kGeZVOCfJzBClkVa4g8ew3ca4pGvUvcQadt37BpZJY+lc7YeRljBY4dBdnapDKz3gddPNf0d6fI Quu7sU7hNXu0dvnRB6rE8nckgLbVp2xtndkseiLQ2ySTPy7a+Dg8wissFEb3IjVEvM1EwflKEC3KE DC2Zv7o+sxm1g3Zl4q0mbCbSkZwy08e5ouETw2XFaqD0Lg4TldtXzXUZV36lU++l5cnnrP9GaVP3F G1ENEnMC3Rrg41JrzY4OMdg3HMpzAlbA8Nz+i3ah+oI9w6lGFBq8xKCnjxUGG4knkMTrCH3Y4fTLo wJW3YTvMlDD/Mw+xgL0g==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1rfkwm-0000000EfQA-2u8e; Thu, 29 Feb 2024 18:15:56 +0000 Received: from dfw.source.kernel.org ([2604:1380:4641:c500::1]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1rfkwV-0000000EfHS-1lBI for linux-arm-kernel@lists.infradead.org; Thu, 29 Feb 2024 18:15:40 +0000 Received: from smtp.kernel.org (transwarp.subspace.kernel.org [100.75.92.58]) by dfw.source.kernel.org (Postfix) with ESMTP id E4C6C60BF0; Thu, 29 Feb 2024 18:15:38 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 4B092C433F1; Thu, 29 Feb 2024 18:15:37 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1709230538; bh=jfp9NM/oduYBlfC4B2HixtczjJ4MUMSRLdM3FJ9Nqzs=; h=Date:From:To:Cc:Subject:From; b=Tx4eeOWrXzfFXq6toThB8Vyuwvfmd+EM9PCvpnRMW5eO1/JDZpz6XJLoWCKiClBNM Iduyzi4Gi0oEhNWB/+DUVfQbEwS8TKh/A7tqCQZAe5w6UUUq/+xBKMh0fxqGsFJ9Lo 77QGOlMJNbP35VyTp3Yw+V5/UQelXGiIQDtVs2aDlVhbAxsSzLthUztuYKURDFRwdP oQZ0ShPAOoyVPeLXLVETnRx1gOQ1RV/pIXWazGywROnHx9eo8/rKVzDggKfvfPb6/H acmjNawC8+koALPgkE4Rz5rkuF16irQ7GJHQNQ4S8UI7UxFlNMsyEIg0LNSBYGjR3I C+GaefOSe+2BQ== Date: Thu, 29 Feb 2024 18:15:33 +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.9 Message-ID: <20240229181533.GA16854@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-20240229_101539_575629_79652C6F X-CRM114-Status: GOOD ( 12.98 ) 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.9. There's the usual crop of device-tree changes, but the meat of the work is part one of the SMMUv3 IOMMUFD-enabling work from Jason. The branch is based on the fixes tag I sent you before and there's the usual brief summary in the tag. Cheers, Will --->8 The following changes since commit b5bf7778b722105d7a04b1d51e884497b542638b: iommu/arm-smmu-v3: Do not use GFP_KERNEL under as spinlock (2024-02-22 12:34:11 +0000) 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 327e10b47ae99f76ac53f0b8b73a0539f390d2d2: iommu/arm-smmu-v3: Convert to domain_alloc_paging() (2024-02-29 15:12:23 +0000) ---------------------------------------------------------------- Arm SMMU updates for 6.9 - Device-tree binding updates for a bunch of Qualcomm SoCs - SMMUv2: * Support for Qualcomm X1E80100 MDSS - SMMUv3: * Significant rework of the driver's STE manipulation and domain handling code. This is the initial part of a larger scale rework aiming to improve the driver's implementation of the IOMMU API in preparation for hooking up IOMMUFD support. ---------------------------------------------------------------- Abel Vesa (1): iommu/arm-smmu-qcom: Add X1E80100 MDSS compatible Jason Gunthorpe (16): iommu/arm-smmu-v3: Make STE programming independent of the callers iommu/arm-smmu-v3: Consolidate the STE generation for abort/bypass iommu/arm-smmu-v3: Move the STE generation for S1 and S2 domains into functions iommu/arm-smmu-v3: Build the whole STE in arm_smmu_make_s2_domain_ste() iommu/arm-smmu-v3: Hold arm_smmu_asid_lock during all of attach_dev iommu/arm-smmu-v3: Compute the STE only once for each master iommu/arm-smmu-v3: Do not change the STE twice during arm_smmu_attach_dev() iommu/arm-smmu-v3: Put writing the context descriptor in the right order iommu/arm-smmu-v3: Pass smmu_domain to arm_enable/disable_ats() iommu/arm-smmu-v3: Remove arm_smmu_master->domain iommu/arm-smmu-v3: Check that the RID domain is S1 in SVA iommu/arm-smmu-v3: Add a global static IDENTITY domain iommu/arm-smmu-v3: Add a global static BLOCKED domain iommu/arm-smmu-v3: Use the identity/blocked domain during release iommu/arm-smmu-v3: Pass arm_smmu_domain and arm_smmu_device to finalize iommu/arm-smmu-v3: Convert to domain_alloc_paging() Konrad Dybcio (1): dt-bindings: arm-smmu: Add QCM2290 GPU SMMU Neil Armstrong (2): dt-bindings: arm-smmu: Fix SM8[45]50 GPU SMMU 'if' condition dt-bindings: arm-smmu: Document SM8650 GPU SMMU Will Deacon (1): Merge branch 'for-joerg/arm-smmu/bindings' into for-joerg/arm-smmu/updates .../devicetree/bindings/iommu/arm,smmu.yaml | 20 +- drivers/iommu/arm/arm-smmu-v3/arm-smmu-v3-sva.c | 8 +- drivers/iommu/arm/arm-smmu-v3/arm-smmu-v3.c | 730 ++++++++++++++------- drivers/iommu/arm/arm-smmu-v3/arm-smmu-v3.h | 4 - drivers/iommu/arm/arm-smmu/arm-smmu-qcom.c | 1 + 5 files changed, 515 insertions(+), 248 deletions(-)