From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-qv1-f49.google.com (mail-qv1-f49.google.com [209.85.219.49]) (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 220692727EB for ; Wed, 3 Jun 2026 00:59:15 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.219.49 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1780448357; cv=none; b=Hvx3r2kjtAdJUW9ZLU+1IV+d0Vr/4KVx7nTZQ/jRAvxB0PzoGp59vkyUqjN1hJKfd3OtwM6O/Mb3XpJ1nDQ5P30gzZsAGssH77/T6AHDTm7qTEMsWnP6kVUi8LHnnR5jWR2Y8wTdW/htpjHd/vQAHllvncKuqj4fnuLaulLe76U= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1780448357; c=relaxed/simple; bh=LHu0GHEmte9bNVYdHYkwG9CA4CfbBZuMIjXj0kPY41Q=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=KgMYRnuzRcOcDeL8TJb8N38aOpVBtGpQXJ5EgOQEZ55n8urwiVmvqrquNFqDKHx0hH7cyA/L3CeDmtAljuNUW/i2TQhTKH5FCE833B86HwEXBGx8juXJlLscbIN9PKd79XgFbww9NF77zBkBmRAA2lvdEoUTkmVGW6Z9vkYoOGk= 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=HynYdAHk; arc=none smtp.client-ip=209.85.219.49 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="HynYdAHk" Received: by mail-qv1-f49.google.com with SMTP id 6a1803df08f44-8cebfb15413so15256046d6.0 for ; Tue, 02 Jun 2026 17:59:15 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ziepe.ca; s=google; t=1780448355; x=1781053155; darn=vger.kernel.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=LHu0GHEmte9bNVYdHYkwG9CA4CfbBZuMIjXj0kPY41Q=; b=HynYdAHkPMc5G/6+0bYvcFtaOiFjLCRhbeRZnrriwSzTgC1q5xHYvNIPFotXvECGw5 JSE3wEo8EirqIcnuddXSj1KjfjK63ZFFhinkhimnsTRxCY/tEbMNMZGc1tLlGEeD3V8Q VMAQ9Az3Go5tWk3brGh4mcRj4KWtEAP/+MZBVr1oz/kX54Sj3lWzk3/NQRwjM/mTciXu T09wsC2rfL+2n6cysrj025pJDF3Pb51UeEqmxj8xpNZX/S5dlo0dSslIlYBdodmPNq4d 4r3wsem22ZFnU5kFSW0Av5v4CYbnB5/wTHqhims5vKJZHPRsLDX5gMDHE9xTGwmdLHzD GAcA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1780448355; x=1781053155; h=in-reply-to:content-disposition: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; bh=LHu0GHEmte9bNVYdHYkwG9CA4CfbBZuMIjXj0kPY41Q=; b=pAuK5RkOV/ZGN+8KOhmYqo5wiQ1YGTjbMAzZlzQMfbOwPmCyVTxJwo5+P1cyhJJP1r vHxK929bLD3EDqRKY7RrCePSZM4d4x0SkQMTr4tPJsyL9DVoaXudEUNpGRx5hrI0UeIz 9Vt+bWAKyMdEGBn/xpCPSQRMHv1+JnKZPt+qxKyEJkWeUnvtogq1/NcxZ5bzZXetKlGJ r3iXRIyBL8anE6aS3Y2ieu58SZZSjLar6AI55isIRPNBKc7r/DUItbmKCfc598tUL+O3 NghuP69hCsPPcmgvEH4Zn5uKqYliFnIrRR9IP4qScoMBJFDMPamneEhatTA1dUG6S2LD lkFQ== X-Forwarded-Encrypted: i=1; AFNElJ9t38zi1r1P4YQODrOhhSctrEEoPl0pAeZuWGigqE5yyRLoHOPDSWtKStus3u3wklJeDvrlAKp2BS0BqAo=@vger.kernel.org X-Gm-Message-State: AOJu0YyYf/+YbKuLZ4VWqJOHW95tmWLO60p6mSdWzu7PrGmp72yMtqSs Case0f4mzNH3a3sBPF2HHuyKCtVCwtlB/ZsVYIjvUdKcBbu9N6QgqVOj2P0YTSrurPI= X-Gm-Gg: Acq92OFtWxXH+HutRqWLa/AHfeOfbt/Pj7uXmVyUrUHLksIHg8yNaTSKOwdlBclLrQN Sp768KI8CchmZ55h6SPxdJvixt/52nHbHoZAxkAddFIakf5eONaz9QGHsEtLUdiFLodMuJsKdaC u4dsbj7UYd3zsO/V2SqZ3sRIO++omdGHc1ZA5ThiI8bhq+S0PBH2/H26ryxF2orj0c2Frs6KKLj PcFwFFrbdWAtjyh9v75ImxW1vTtU6XiLIa66rqVvePsGDhaQKsPKQKurifsCNNQvEsGx6XHwwWK KJ18HiN6IZUlkHl+75t2XffWYLaNCM1GttxiTQR1ec4JCysu3+noulLbmrJLD5ijnKNgqy+Cu9s kKyYnFeXccpdjdbhblRYJTu+dk9nkmN76cYh56wbYXHMmoQJNuBeIIlBSaGUMWT0ERcOA/kvNF7 l+dbPZqV8dodhapQ+LG/m3rCr7dCkbKFwFs3BFi2n/aM3vxQkJAOKzT48SVJnCEEuVluWCGGdu9 1Ps7jeA3NKmzzgW X-Received: by 2002:ad4:5d42:0:b0:8ce:cad9:479a with SMTP id 6a1803df08f44-8cecde9cef5mr16020226d6.15.1780448355181; Tue, 02 Jun 2026 17:59:15 -0700 (PDT) Received: from ziepe.ca (crbknf0213w-47-54-130-67.pppoe-dynamic.high-speed.nl.bellaliant.net. [47.54.130.67]) by smtp.gmail.com with ESMTPSA id 6a1803df08f44-8cecd0535b0sm6677916d6.28.2026.06.02.17.59.14 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 02 Jun 2026 17:59:14 -0700 (PDT) Received: from jgg by wakko with local (Exim 4.97) (envelope-from ) id 1wUZwv-00000004xMg-3Yl1; Tue, 02 Jun 2026 21:59:13 -0300 Date: Tue, 2 Jun 2026 21:59:13 -0300 From: Jason Gunthorpe To: Will Deacon Cc: Ashish Mhetre , robin.murphy@arm.com, joro@8bytes.org, nicolinc@nvidia.com, linux-arm-kernel@lists.infradead.org, iommu@lists.linux.dev, linux-kernel@vger.kernel.org, linux-tegra@vger.kernel.org Subject: Re: [PATCH v3 3/3] iommu/arm-smmu-v3: Issue CFGI/TLBI twice on Tegra264 Message-ID: <20260603005913.GN2487554@ziepe.ca> References: <20260601104845.995005-1-amhetre@nvidia.com> <20260601104845.995005-4-amhetre@nvidia.com> Precedence: bulk X-Mailing-List: linux-kernel@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, Jun 02, 2026 at 09:22:15PM +0100, Will Deacon wrote: > be inspecting the command array in that case. Generally, it's a pity > that we can't handle this all a bit further up in the stack when we know > exactly what operationg we're trying to perform, but I suppose with all > the different users of the invalidation commands that's hard to catch in > one place? There was an earlier version trying to do this and it was pretty ugly, there are alot of places because this errata touches the CD/STE invalidation flows too. If it was just invalidation it could have been solved by manipulating the invs list and be almost free on the fast path.. Jason