From patchwork Tue Aug 15 13:51:46 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Will Deacon X-Patchwork-Id: 13353826 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 B0015C001DB for ; Tue, 15 Aug 2023 13:52:28 +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=ZdM1QFPX1IhuXxGdY5oLRpj2ikWLhGYHhaOCS2Gp7o4=; b=oUx5v4dPf81Fmz zu2A5JVo9m4ZkrfkDaRzHdB9G1oRdKu/NOuc8s2N1xwuMIBEiXUFIiIbS4HsDFLNGAqHdSnK0OM2j 2ia5RE+/LNkhASw411/OuFyYyPS/qFPnUJZQniCROYA3b62VJkALpwaFnyln9awGhnNcZdL6FKiGR 98l7Nfo0PmSML0j8IAs0yF8iuhZEGPwFGoyJXtfvPMox5BfWauSSN36MwyP1YTjHOZY2cux0JvJdn aHdrkGGkUK7Fi+EEnMGGPprsTY+kzgH0hNiUY9yEP2GmHJ1PprQlZcOVnoWorqC5653kaz0f29SBB /FSLN6ofWJsBqrMYpuug==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1qVuSk-001iaV-2Z; Tue, 15 Aug 2023 13:51:58 +0000 Received: from dfw.source.kernel.org ([2604:1380:4641:c500::1]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1qVuSh-001iZJ-2I for linux-arm-kernel@lists.infradead.org; Tue, 15 Aug 2023 13:51:57 +0000 Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id C993C60DE4; Tue, 15 Aug 2023 13:51:51 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 064C9C433C7; Tue, 15 Aug 2023 13:51:49 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1692107511; bh=r827jwAp21ZRUwQeZcKwhmpfW5k9rN/IDbA3BannpGc=; h=Date:From:To:Cc:Subject:From; b=ZOwPYxVBVxliuT7nfRcyXja+W7OGtabY8D6GdWFCDmW/cWwYiye+n4uwrofCUBtGB X23nIJ52ZE79EpJDqbbNDX/mN/b5y2O//ModtGYyB67uL8Ady61iGK7x6L37USp8eT AET9a+36XU0qmpFiHbal7UmSwEyhxZO12IW9eYME75EFlh4fLw5F/PGfCG7WF6DVc1 3fQr+FCy7IRw1V/hu8Dhn79dFAFFxdjqCeTu4UQFkkhWO6U1PliNOtxeftwxZsOkSq 5HMEJ5aDoBQRDnxvdyDhyTy9gPE4nzCIkXFlaWgkdzOlQQxlYLiRLmaAfsy2FAmzLv ka/somO946cTQ== Date: Tue, 15 Aug 2023 14:51:46 +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.6 Message-ID: <20230815135145.GA12068@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-20230815_065156_224948_679255F3 X-CRM114-Status: GOOD ( 11.68 ) 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.6. It's almost exclusively Qualcomm-related SMMUv2 changes but there are some SMMUv3 changes in the pipeline for next time. Summary in the tag. Cheers, Will --->8 The following changes since commit 6eaae198076080886b9e7d57f4ae06fa782f90ef: Linux 6.5-rc3 (2023-07-23 15:24:10 -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 afe92fbfbfb7efb77b9525dbae3453c8f63e6b60: Merge branch 'for-joerg/arm-smmu/bindings' into for-joerg/arm-smmu/updates (2023-08-15 11:34:47 +0100) ---------------------------------------------------------------- Qualc^WArm SMMU updates for 6.6 - Device-tree binding updates: * Add additional compatible strings for Qualcomm SoCs * Allow ASIDs to be configured in the DT to work around Qualcomm's broken hypervisor * Fix clocks for Qualcomm's MSM8998 SoC - SMMUv2: * Support for Qualcomm's legacy firmware implementation featured on at least MSM8956 and MSM8976. * Match compatible strings for Qualcomm SM6350 and SM6375 SoC variants - SMMUv3: * Use 'ida' instead of a bitmap for VMID allocation ---------------------------------------------------------------- AngeloGioacchino Del Regno (6): dt-bindings: iommu: qcom,iommu: Add qcom,ctx-asid property dt-bindings: iommu: qcom,iommu: Add QSMMUv2 and MSM8976 compatibles iommu/qcom: Use the asid read from device-tree if specified iommu/qcom: Disable and reset context bank before programming iommu/qcom: Index contexts by asid number to allow asid 0 iommu/qcom: Add support for QSMMUv2 and QSMMU-500 secured contexts Dawei Li (1): iommu/arm-smmu-v3: Change vmid alloc strategy from bitmap to ida Konrad Dybcio (5): dt-bindings: arm-smmu: Fix MSM8998 clocks description iommu/arm-smmu-qcom: Sort the compatible list alphabetically iommu/arm-smmu-qcom: Add SM6375 DPU compatible iommu/arm-smmu-qcom: Add SM6350 DPU compatible iommu/arm-smmu-qcom: Add SM6375 SMMUv2 Will Deacon (1): Merge branch 'for-joerg/arm-smmu/bindings' into for-joerg/arm-smmu/updates Yangtao Li (1): iommu/arm-smmu: Clean up resource handling during Qualcomm context probe .../devicetree/bindings/iommu/arm,smmu.yaml | 41 +++++++++++++ .../devicetree/bindings/iommu/qcom,iommu.yaml | 22 +++++-- drivers/iommu/arm/arm-smmu-v3/arm-smmu-v3.c | 29 +++------ drivers/iommu/arm/arm-smmu-v3/arm-smmu-v3.h | 2 +- drivers/iommu/arm/arm-smmu/arm-smmu-qcom.c | 7 ++- drivers/iommu/arm/arm-smmu/qcom_iommu.c | 68 ++++++++++++++++------ 6 files changed, 120 insertions(+), 49 deletions(-)