From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-qk1-f172.google.com (mail-qk1-f172.google.com [209.85.222.172]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 4D5FE2236EE for ; Tue, 13 Oct 2026 12:44:03 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.222.172 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1791895444; cv=none; b=tuAt3GndGb52V7pHTzbgvKfSWZ6lwVBxjjtKRAZZdHHZIKfjXv6kb2DQQGXlj0frr00fhcp1FYimUIG1dRj+A7j+dssH+BLROSXVffpfTv/ZsNca2ppP9VuVZ9K+ITqE+MIyiRI7569zZ8flz1UgesvMkEW0O7fD6xfSj8IAjc0= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1791895444; c=relaxed/simple; bh=Ffj0rg1ejA7e68ABDtZ/JEnCcPZ/obpgDVy5o1iSi8k=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=PiPav3uPEeHqb5nu+fPY0eZeJ/6WHdTnydg83gQvGpW+EBq7yMQTCjARYp/fqnIzQ8eNfTeXCx29wKga4Ol/oeAdsnScnfvxZL0T3L6zAlltKBZpJYmUMSBkMwg1Z5066Ua8zd8V1CO8a7trz8SI2UEkkTQXtcgC6yw0aITSjE8= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=ziepe.ca; spf=pass smtp.mailfrom=ziepe.ca; dkim=pass (2048-bit key) header.d=ziepe.ca header.i=@ziepe.ca header.b=WuF3M2ac; arc=none smtp.client-ip=209.85.222.172 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=ziepe.ca Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=ziepe.ca Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=ziepe.ca header.i=@ziepe.ca header.b="WuF3M2ac" Received: by mail-qk1-f172.google.com with SMTP id af79cd13be357-93e51d8d400so202289985a.0 for ; Tue, 13 Oct 2026 05:44:03 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ziepe.ca; s=google; t=1791895442; x=1792500242; darn=vger.kernel.org; h=in-reply-to:content-disposition:content-type:mime-version :references:message-id:subject:cc:to:from:date:from:to:cc:subject :date:message-id:reply-to:content-type; bh=Ffj0rg1ejA7e68ABDtZ/JEnCcPZ/obpgDVy5o1iSi8k=; b=WuF3M2actgR41s6uqx9M+gd7bUkn6deQjRRk1n10hEyH/VOQAmJP1azBNCVsv4SdwM DQvcic/XvtLGJMOQvJVgc1Ndao8JG5/yFNu+RfIgF3RHK0eyv/vJuPtF9YaI7d0VL4lS tnjvppT6e4X1eRhzsu1WmTEgNKj3XLi6Vr1hsFKV7pgEbh4BTbtOIjMy4eFpy1jfzZI1 0yGDpXedesnJLdl53zz22GxaF5MBwB8kcjOdGuOpngLq/PdW2hpTdtyvSEmiijC+XToQ cpULqVNKzrRWw1pjkMPeJpXFM6jfi/ZJ8iyaoVSo1IIxdp3LhSH+dlBI4dzqrYjyJG4l LNpA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20260707; t=1791895442; x=1792500242; h=in-reply-to:content-disposition:content-type:mime-version :references:message-id:subject:cc:to:from:date:x-gm-gg :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to :content-type; bh=Ffj0rg1ejA7e68ABDtZ/JEnCcPZ/obpgDVy5o1iSi8k=; b=jQLesnq+2FHTHHJ7MO2vWz+7VqimUG8/hq6i7OijbpVIkMIT5aByZOnazG2IbB1iD8 5tA+LvhL8p22fhH864gGD/UTyRCmJ5Y3eaQO05vBm1wYyR91iCSXz/s1Y5YdS2ZiVKMq 5a74dOjbV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ff1:b67c with SMTP id af79cd13be357-93ebd1e0149mr2182476585a.20.1791895442098; Tue, 13 Oct 2026 05:44:02 -0700 (PDT) Received: from ziepe.ca (hlfxns010zw-159-2-239-150.pppoe-dynamic.high-speed.ns.bellaliant.net. [159.2.239.150]) by smtp.gmail.com with ESMTPSA id af79cd13be357-93ef5009ca3sm227528285a.7.2026.10.13.05.44.01 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 13 Oct 2026 05:44:01 -0700 (PDT) Received: from jgg by wakko with local (Exim 4.97) (envelope-from ) id 1xGbrM-00000009Wdr-3fVQ; Tue, 13 Oct 2026 09:44:00 -0300 Date: Tue, 13 Oct 2026 09:44:00 -0300 From: Jason Gunthorpe To: Robin Murphy Cc: Nicolin Chen , Peng Fan , Will Deacon , "Joerg Roedel (AMD)" , Jean-Philippe Brucker , Thierry Reding , Krishna Reddy , Jonathan Hunter , linux-arm-kernel@lists.infradead.org, iommu@lists.linux.dev, linux-kernel@vger.kernel.org, linux-tegra@vger.kernel.org, Peng Fan Subject: Re: [PATCH RFC v6 5/5] iommu/arm-smmu-v3: Wire up shared-SID STE ordering and feature gating Message-ID: <20261013124400.GI14213@ziepe.ca> References: <20261011-smmu-shared-sid-v6-0-cb76b89dc612@nxp.com> <20261011-smmu-shared-sid-v6-5-cb76b89dc612@nxp.com> Precedence: bulk X-Mailing-List: linux-tegra@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: On Tue, Oct 13, 2026 at 12:22:06PM +0100, Robin Murphy wrote: > If we're not going to support PASID for shared streams (which I suggest we > don't...) than we shouldn't strictly need to worry about CD tables anyway. > So rather than having to special-case CD table sharing for shared streams, > perhaps it might make sense to generalise back to a "default" per-domain CD > for non-PASID use, which can then get switched for the private per-stream > cd_table if and when a device does enable PASID? If we have stared STEs then the group becomes the per-STE data structure not the master.. We don't have any way right now to do that, but it would make some sense for the group to store the shared CD Jason