Received: by 2002:a05:7412:d8a:b0:e2:908c:2ebd with SMTP id b10csp484449rdg; Thu, 12 Oct 2023 11:07:45 -0700 (PDT) X-Google-Smtp-Source: AGHT+IHycDNa5V4wS4kHPPgk+vcq+6pdCk7nBncMVFuoXNc7VCOFzGUHHyOTKTPxLb7uHRlV8eVl X-Received: by 2002:a17:90a:19cb:b0:27d:2ac3:befb with SMTP id 11-20020a17090a19cb00b0027d2ac3befbmr1048970pjj.18.1697134064846; Thu, 12 Oct 2023 11:07:44 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1697134064; cv=none; d=google.com; s=arc-20160816; b=jkl4cs4VN7OD7ZsuCISHpKh6KNAI7SgjQDEy1YqNNZlXEp3nYvlE6grCbkxmcLpVa3 KwO/ypz5NXuOUOJUpQNB1L2F2pJnJ9YfSXgtOd7h8tf2T2QDEwDab+c4oMYLK4iNexNt w+Gg/W2tFJOp5yJBNx+aHF1jAnCQ1eoR0pSpT2x8x7DN2pAD3g2+lPSoQIn6S94B6rl1 VrnW8fLAuez8c3Lz5695s7zYUAi9RMnk6mVvz6G/U7m7pb1GkmYvOq9n8lXbUd9v+dxy K7zgbJ04dDXxNhgV6W9StAfPGkO1lYHegqS0hXFYx++GS7zPQeDgbMHhXztRawz5Zc/9 2hLQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=XcXt/l0yDcGTAVmnon+u9EXieqimri5U26N2AbR6lxc=; fh=igMk1vqAFewsP9l9jP4ndftlTXCr3BK9Yrig81TYXnU=; b=FgSEVllI7vExE5Y6TeUtwP0IOFo0MbOQP7uWnYGtf4wMTqGq+S0VSGRjzplFrAIsQJ ZhHPk8OXnTh9EKL20qfWErHzZzS1mH0vZTZWbEtsSh+QMKJspGO2jMds8zWccspSZsuV 0ufVviIlgVvNb+HIu6GMKRR1Ls3JcVrnaUlbLnR7qL8U+4ztnJH8REButEKcPxf+nsnB GawPaSXbCocfcjVzAZhXnZjf/1Sr3biKoK4PUwSCFJl8SReNZa/gFb59sAaPTKvKqsja miBAcdF+aLTo1A7UTBR49Ck5fkeBZ7JydBSG2PFKstBbjY75vn/s2aLkX3gMIzOcsiZr 0GUA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b="CGj0dv/q"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.35 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from groat.vger.email (groat.vger.email. [23.128.96.35]) by mx.google.com with ESMTPS id lk15-20020a17090b33cf00b0027d0adde858si3074013pjb.48.2023.10.12.11.07.44 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 12 Oct 2023 11:07:44 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.35 as permitted sender) client-ip=23.128.96.35; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b="CGj0dv/q"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.35 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by groat.vger.email (Postfix) with ESMTP id 3FAA0825ED85; Thu, 12 Oct 2023 11:07:41 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at groat.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1442098AbjJLSHT (ORCPT + 99 others); Thu, 12 Oct 2023 14:07:19 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57036 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1441849AbjJLSHP (ORCPT ); Thu, 12 Oct 2023 14:07:15 -0400 Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id EB97DDA for ; Thu, 12 Oct 2023 11:07:13 -0700 (PDT) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 04985C43397; Thu, 12 Oct 2023 18:07:09 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1697134033; bh=eVbB8xX35Yk0N11tWIGxUMld6J8/6Xc4vSFxzS1n4Ns=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=CGj0dv/q+NZ1Q50USGtzh4/zIIRdBFRLv0dv2svogvgypbDIzIlkDzAnCrL23bfPW hjGV+S/OVa37uoalmRq9YnJHJfsNA8P/7q9a2PPW3BsimtEgb7F5lPoCr3ITHs2P7r vB0EXOm2P7Tylf2NIjnV+K6vaDCXbWGUxFEf18MtNrz2Q6EL2lFwiHgYiYe7hp81ff nJOEi909BaRxXuhVyHBPAW/PwttqZVh3S3/4MzETr4HxICBLZ+Tv64rm2qOAH+q/nh JG+mvRD6QrTgjpG4j4DnT9Jfgu/O1ZKPaPwuTqpHEEuOd0RhlWmDi2jBA1hrzKwHXa Qzjk7YDvEaWBg== From: Will Deacon To: iommu@lists.linux.dev, linux-arm-kernel@lists.infradead.org, Michael Shavit , linux-kernel@vger.kernel.org Cc: catalin.marinas@arm.com, kernel-team@android.com, Will Deacon , Tomas Krcka , "Kirill A. Shutemov" , Jason Gunthorpe , Jacob Pan , nicolinc@nvidia.com, jean-philippe@linaro.org, robin.murphy@arm.com, Alistair Popple , Lu Baolu , Joerg Roedel , Kevin Tian , Dawei Li , jgg@nvidia.com Subject: Re: [PATCH v8 0/9] Refactor the SMMU's CD table ownership Date: Thu, 12 Oct 2023 19:06:48 +0100 Message-Id: <169712689838.645382.14628592932614139960.b4-ty@kernel.org> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20230915132051.2646055-1-mshavit@google.com> References: <20230915132051.2646055-1-mshavit@google.com> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-1.2 required=5.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on groat.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (groat.vger.email [0.0.0.0]); Thu, 12 Oct 2023 11:07:41 -0700 (PDT) On Fri, 15 Sep 2023 21:17:31 +0800, Michael Shavit wrote: > This series refactors stage 1 domains so that they describe a single CD > entry. These entries are now inserted into a CD table that is owned by > the arm_smmu_master instead of the domain. > This is conceptually cleaner and unblocks other features, such as > attaching domains with PASID (for unmanaged/dma domains). > > This patch series was originally part of a larger patch series that > implemented the set_dev_pasid callback for non-SVA domains but is now > split into a distinct series. > > [...] Applied to will (for-joerg/arm-smmu/updates), thanks! [1/9] iommu/arm-smmu-v3: Move ctx_desc out of s1_cfg https://git.kernel.org/will/c/987a878e09c6 [2/9] iommu/arm-smmu-v3: Replace s1_cfg with cdtab_cfg https://git.kernel.org/will/c/1f8588834016 [3/9] iommu/arm-smmu-v3: Encapsulate ctx_desc_cfg init in alloc_cd_tables https://git.kernel.org/will/c/e3aad74c51a7 [4/9] iommu/arm-smmu-v3: move stall_enabled to the cd table https://git.kernel.org/will/c/1228cc509fc6 [5/9] iommu/arm-smmu-v3: Refactor write_ctx_desc https://git.kernel.org/will/c/24503148c545 [6/9] iommu/arm-smmu-v3: Move CD table to arm_smmu_master https://git.kernel.org/will/c/10e4968cd511 [7/9] iommu/arm-smmu-v3: Cleanup arm_smmu_domain_finalise https://git.kernel.org/will/c/5e14313df2c8 [8/9] iommu/arm-smmu-v3: Update comment about STE liveness https://git.kernel.org/will/c/6032f58498b7 [9/9] iommu/arm-smmu-v3: Rename cdcfg to cd_table https://git.kernel.org/will/c/475918e9c4eb Cheers, -- Will https://fixes.arm64.dev https://next.arm64.dev https://will.arm64.dev