From mboxrd@z Thu Jan 1 00:00:00 1970 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 31547C48BF6 for ; Thu, 29 Feb 2024 16:34:48 +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:References:In-Reply-To: Message-Id:Date:Subject:Cc:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=XZBldHK5QuTMiEWBhmJ4tHdeASn7d2Ani1QPdlp3aTU=; b=vO4mf++ynxRKpF VNd162+AS7f5uAUZdIcfWqPpmMylrAH4wSZOv8yz5Uxz4n1jrLC6IBrkAmXTDZZm+aW7aSmFGtLq+ 6kD85gUMFPSNnDTIknku1vme87Ro70g8nUG/RZvNtBIo6gZVliBDMFgECL8N0FqOx/SG8806worbZ FdljXRerg1VHoGmGtLqcjp0AQ0gROsYVdjQ/fCG0ct7xXzFtZsolDsiOrMCQT6+QDrk/hz12+Oz6Z QCtrXcYjoCrPkIecTIFACJDcj0lf08wDYEMI2KisDG6RQ+iULkABqL3e4X3Kgam8+etWmWHpWrUV9 KSwbMkgGP71h4CZa1byg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1rfjMY-0000000EKS6-24rj; Thu, 29 Feb 2024 16:34:26 +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 1rfjMV-0000000EKQr-3KgT for linux-arm-kernel@lists.infradead.org; Thu, 29 Feb 2024 16:34:25 +0000 Received: from smtp.kernel.org (transwarp.subspace.kernel.org [100.75.92.58]) by dfw.source.kernel.org (Postfix) with ESMTP id C4EB760C39; Thu, 29 Feb 2024 16:34:22 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id F2172C433F1; Thu, 29 Feb 2024 16:34:18 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1709224462; bh=oUDCxKw4IZbBjozLSmMzbFD3kMf1SFf5Pua5bQEOT2w=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=PAJbE37AiPtEi4Xsr6V+9PY1UnBikaVvb7zVRPE+1F+SQFYUoE1OMWkF8Pm8gdPwj x52ZSqY+V2QRmLG7QmXg3uxcTAORq8uC6E1aWSuQq5OwVLAEDVyt+HGukfZSje3hLY BUFCMt8uRQ7jhEx4l7ZBycw9R+6g41SzWNQoyBzrtc7XOHlV1GUj3NzXD1QTu+vNDh W3nICRRUyHAfAKGBf923cXXrHtLwAUfwApyTBQnES60y8y2w9PNw+Q1tJmWaMrB/xH acmHS91S67n3GYsUAcAMvrN261zYZa0GeJchagF2Bgyy681Rt6GhB157Xe4SnsEg8o uv0FfU7/GE/6A== From: Will Deacon To: Joerg Roedel , Robin Murphy , iommu@lists.linux.dev, linux-arm-kernel@lists.infradead.org, Jason Gunthorpe Cc: catalin.marinas@arm.com, kernel-team@android.com, Will Deacon , Michael Shavit , Jean-Philippe Brucker , Joerg Roedel , Lu Baolu , Mostafa Saleh , Shameerali Kolothum Thodi , Moritz Fischer , Zhangfei Gao , Nicolin Chen , patches@lists.linux.dev, Moritz Fischer Subject: Re: [PATCH v6 00/16] Update SMMUv3 to the modern iommu API (part 1/3) Date: Thu, 29 Feb 2024 16:34:13 +0000 Message-Id: <170921954415.3073552.7948276252050662200.b4-ty@kernel.org> X-Mailer: git-send-email 2.20.1 In-Reply-To: <0-v6-96275f25c39d+2d4-smmuv3_newapi_p1_jgg@nvidia.com> References: <0-v6-96275f25c39d+2d4-smmuv3_newapi_p1_jgg@nvidia.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240229_083423_987670_189359C5 X-CRM114-Status: UNSURE ( 9.46 ) X-CRM114-Notice: Please train this message. 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: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org On Mon, 26 Feb 2024 13:07:11 -0400, Jason Gunthorpe wrote: > The SMMUv3 driver was originally written in 2015 when the iommu driver > facing API looked quite different. The API has evolved, especially lately, > and the driver has fallen behind. > > This work aims to bring make the SMMUv3 driver the best IOMMU driver with > the most comprehensive implementation of the API. After all parts it > addresses: > > [...] Applied to will (for-joerg/arm-smmu/updates), thanks! [01/16] iommu/arm-smmu-v3: Make STE programming independent of the callers https://git.kernel.org/will/c/ae91f6552c30 [02/16] iommu/arm-smmu-v3: Consolidate the STE generation for abort/bypass https://git.kernel.org/will/c/12dacfb5b938 [03/16] iommu/arm-smmu-v3: Move the STE generation for S1 and S2 domains into functions https://git.kernel.org/will/c/352bd64cd828 [04/16] iommu/arm-smmu-v3: Build the whole STE in arm_smmu_make_s2_domain_ste() https://git.kernel.org/will/c/d36464f40f29 [05/16] iommu/arm-smmu-v3: Hold arm_smmu_asid_lock during all of attach_dev https://git.kernel.org/will/c/d8cd200609cf [06/16] iommu/arm-smmu-v3: Compute the STE only once for each master https://git.kernel.org/will/c/327e10b47ae9 [07/16] iommu/arm-smmu-v3: Do not change the STE twice during arm_smmu_attach_dev() https://git.kernel.org/will/c/8c73c32c83ce [08/16] iommu/arm-smmu-v3: Put writing the context descriptor in the right order https://git.kernel.org/will/c/d2e053d73247 [09/16] iommu/arm-smmu-v3: Pass smmu_domain to arm_enable/disable_ats() https://git.kernel.org/will/c/d550ddc5b789 [10/16] iommu/arm-smmu-v3: Remove arm_smmu_master->domain https://git.kernel.org/will/c/1b50017d39f6 [11/16] iommu/arm-smmu-v3: Check that the RID domain is S1 in SVA https://git.kernel.org/will/c/ae91f6552c30 [12/16] iommu/arm-smmu-v3: Add a global static IDENTITY domain https://git.kernel.org/will/c/12dacfb5b938 [13/16] iommu/arm-smmu-v3: Add a global static BLOCKED domain https://git.kernel.org/will/c/352bd64cd828 [14/16] iommu/arm-smmu-v3: Use the identity/blocked domain during release https://git.kernel.org/will/c/d36464f40f29 [15/16] iommu/arm-smmu-v3: Pass arm_smmu_domain and arm_smmu_device to finalize https://git.kernel.org/will/c/d8cd200609cf [16/16] iommu/arm-smmu-v3: Convert to domain_alloc_paging() https://git.kernel.org/will/c/327e10b47ae9 Cheers, -- Will https://fixes.arm64.dev https://next.arm64.dev https://will.arm64.dev _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel