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 44B1DCD11DB for ; Mon, 25 Mar 2024 21:06:45 +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:In-Reply-To:MIME-Version:References: 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: List-Owner; bh=VlQkhuFGOtcR0c/yskMBeOrBoyHGg5fhXnlwKs5/5ng=; b=ULaRf7xKsI1O0j KOomh9o2hU/8cisWxk/offaA575xOg/E9emxT/r3lvkN61AKv3hxATY6o4no3Ap6DbIEv3C9A6eW3 iA/6jL2xQR/uhNAkt/qX2VscC7Tq0ChrnGRX+xKcTe27patBDdHapyha/v14orC0gjU2KLMQDWtf9 snkoKsv3bD1/DBYfhn3lmmaT3/OvuFJDebACzDNMMSp8ptY7NS0WR0h8ZU2i66ilPrmFEGJqRWSXZ kP+yn+rbOtKiZ/YwgPOkd7oVUJghNJq3Y44nZ5kRdL2fo7L1iKAAHxV0YcqsM1r/KfjOW6pYJmamo 8omgHoqHeCjTMK5HTJ6g==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1rorWc-00000001xWu-452x; Mon, 25 Mar 2024 21:06:34 +0000 Received: from mail-wm1-x335.google.com ([2a00:1450:4864:20::335]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1rorWY-00000001xV6-3tTe for linux-arm-kernel@lists.infradead.org; Mon, 25 Mar 2024 21:06:32 +0000 Received: by mail-wm1-x335.google.com with SMTP id 5b1f17b1804b1-4140eed8a4fso7815e9.0 for ; Mon, 25 Mar 2024 14:06:29 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20230601; t=1711400788; x=1712005588; darn=lists.infradead.org; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:from:to:cc:subject:date:message-id:reply-to; bh=87kSRxw1Ym98c2cZV0HSeTHtXw3IMZt6YXbhTpf4Gn0=; b=ssdwwK98fwGT19YQeBuNiB0h/UpxH8wehiFAmYcVhHWNl4tJp6kHiHNWVQF3hjeZ4o A6DhqhZWZoGdIWqkpnnFSzg1M7iKBCCVDntwi4MyFSORFARCcAO91ni5+VyiTQQKFvbv 9fuS8MXncN+JwV8i4RXd01xZdFXRvS2nqDU7Hx0R+bX/EUaEtoox4tnZ1yunMyGwIYPC R6//Qc4DNEHrioSsUsJx47nAYqBCJ+3qCyWoNjsGrDqO0v/UwvaBC76WNCP02Z4ujDR0 HTCOIKXN0rPHHTbs+XU4q/2RbyP/PAuJG/HAT8pBJL6qEE6ci5Y8bw8F6B30RMDex6GL gVXQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1711400788; x=1712005588; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=87kSRxw1Ym98c2cZV0HSeTHtXw3IMZt6YXbhTpf4Gn0=; b=V0EvlpUtH6jiTBRiIYYrC183Lm3n59ruIdK8afXQJ2iwGLA1YEjfMj9lzlemqQEUFR mb/qdKAaLzL0cJxwDfz9SlQZOM/QPSC9uvxHAqrmNavfsRajia4kC/dmHBm3CDNSMd2T 5ddFC1vaLGROw9Q7msox8ESgwtKJBD5RQ0XJhQhKJRMb7EVx9RHbdVId36u8swa29AIX ny2kSeuA9kok+YBdbiJy3LZmAHTpgVz33270xd8syllnNZWgwoBblW/nk2W5T8/eK7YE 5tEZ1O8yNmv60PV8xUIfQn3roSyXCng0LWehNf0vnBgM6AfJcx+qka//D7jc/bpXHz5M 3PpA== X-Forwarded-Encrypted: i=1; AJvYcCUYa0dC7U+RPmJLy1i4AzBOCaI0TRO9pH+G8WrtKCDnu8BKDo3rhNMrzBgU+6mpMIYDT4fWuL7SJzK2gWXeqa21BVLvuSH/jSmq5k/7ILOHYoezTH0= X-Gm-Message-State: AOJu0Ywa8YcsAhYBO4kitGRDcJSR6b0jATKBP3qvPtXlZdDRDPAw3ZUx fGkhYDsokFuZv9HSr8UeQlirFbHQ1yKaNj+w2CEGVyRL5tm2o7+Edk8ZAAketw== X-Google-Smtp-Source: AGHT+IGJhWAECCUdYs4iDPZsz04LuG+syQz1Yw/Xrcg4rgTS20erTsGI+S2EJx10DtBo6OyLMMwq8w== X-Received: by 2002:a05:600c:1c27:b0:414:fb8:5105 with SMTP id j39-20020a05600c1c2700b004140fb85105mr17168wms.3.1711400788139; Mon, 25 Mar 2024 14:06:28 -0700 (PDT) Received: from google.com (180.232.140.34.bc.googleusercontent.com. [34.140.232.180]) by smtp.gmail.com with ESMTPSA id q20-20020a05600c46d400b004147db8a91asm9518815wmo.40.2024.03.25.14.06.27 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 25 Mar 2024 14:06:27 -0700 (PDT) Date: Mon, 25 Mar 2024 21:06:23 +0000 From: Mostafa Saleh To: Jason Gunthorpe Cc: iommu@lists.linux.dev, Joerg Roedel , linux-arm-kernel@lists.infradead.org, Robin Murphy , Will Deacon , Eric Auger , Jean-Philippe Brucker , Moritz Fischer , Michael Shavit , Nicolin Chen , patches@lists.linux.dev, Shameerali Kolothum Thodi Subject: Re: [PATCH v5 00/27] Update SMMUv3 to the modern iommu API (part 2/3) Message-ID: References: <0-v5-9a37e0c884ce+31e3-smmuv3_newapi_p2_jgg@nvidia.com> <20240325143503.GF110546@nvidia.com> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20240325143503.GF110546@nvidia.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240325_140631_000642_20EDD955 X-CRM114-Status: GOOD ( 25.84 ) 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, Mar 25, 2024 at 11:35:03AM -0300, Jason Gunthorpe wrote: > On Sat, Mar 23, 2024 at 01:38:04PM +0000, Mostafa Saleh wrote: > > Hi Jason, > > > > On Mon, Mar 04, 2024 at 07:43:48PM -0400, Jason Gunthorpe wrote: > > > Continuing the work of part 1 this focuses on the CD, PASID and SVA > > > components: > > > > > > - attach_dev failure does not change the HW configuration. > > > > > > - Full PASID API support including: > > > - S1/SVA domains attached to PASIDs > > > > I am still going through the series, but I see at the end the main SMMUv3 > > driver has set_dev_pasid operation, are there any in-tree drivers that > > use that? (and how can I test it). > > Not yet, but some will be coming. Currently only Intel driver supports > it, but Intel HW has other problems making it unusable.. > > A big part of the effort here is to enable the platform ecosystem so > devices and drivers can use it. Moritz has access to a device that > can exercise this, though we are still working on it. > Just out of curiosity, are there plans to upstream that driver? > > > - IDENTITY/BLOCKED/S1 attached to RID > > > - Change of the RID domain while PASIDs are attached > > > > > > - Streamlined SVA support using the core infrastructure > > > > > > - Hitless, whenever possible, change between two domains > > > > Can you please clarify what cases are expected to be hitless? > > From what I see if ASID and TTB0 changes that would break the CD. > > Right. For CD it is only the SVA mm release flow, setting EPD0. > I see, thanks for confirming, I am still going through the series, but I now wonder if this case is worth the extra complexity, unlike the STE where the hitless transition was usefull in many cases. Thanks, Mostafa. _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel