From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-pl1-f169.google.com (mail-pl1-f169.google.com [209.85.214.169]) (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 A853A3EFFB3 for ; Mon, 17 Aug 2026 12:53:44 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.214.169 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1786971225; cv=none; b=I0yFJDsLhoSKsy237gw8XSGGeHY+lGmvqQtjA6dyZY7AT1Sd02da/roMqze7VKHjhVH8coQVTsdiyo8XaA5LsSm0VcL1WiGvWM4quD0fmQxTZc+BwrrkJZKzk0RzkdqgVUbZKbHc807nLOEBGoITNWgDoT+QbYbYe1/mQzTMAPI= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1786971225; c=relaxed/simple; bh=92/LJ9ytiCnTo9nxdyNCfvLsbqsb1dRXtZFbNV2qfgk=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=qN6cCLqDrm7gS81k8R7xWrXckrGDEJXQHF3mm1t1gWMe3fV7JiRYpToa/R6hBPxeCDJCPcU+ijCkVMJr+y4mn/TxitJ/Xk22SW0ncN6/rMoYIpBjR3fb5VPM23Y6NyVjOjvp2bWYycNB+YN+Bm0WbbE7iJE77xoMoOzB4SQRbuI= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=google.com; spf=pass smtp.mailfrom=google.com; dkim=pass (2048-bit key) header.d=google.com header.i=@google.com header.b=q+vnvTrV; arc=none smtp.client-ip=209.85.214.169 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=google.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=google.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=google.com header.i=@google.com header.b="q+vnvTrV" Received: by mail-pl1-f169.google.com with SMTP id d9443c01a7336-2cede6375caso261875ad.0 for ; Mon, 17 Aug 2026 05:53:44 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20251104; t=1786971224; x=1787576024; 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=U/HO5352xrmxomcN/usyEVXCVrY50VpsMFDwsFMZfKc=; b=q+vnvTrVo4MslOUavPP0NIbDRH/ble9BohqbLZZgLXM+e2NM3DidaFz5e80kK3FIuz K5Zwvk9IzaVuKkNyY4mnn39mSUQEjqx3E85fRuO/FCsjH0iibn06nvaYy3+52003MIMc Z5kgnRURj6JSr2py1wJ1f6gkI6nHQXMyPURLmrSZVO6ftS8VGyZ9EevAHAL3o/t8BK8A T5sV8Q+LU7dk7G4BxG1A13S7k4h5RDK/KaLVheZFm3jHGE4xzCFyEakoneL191rTtzCn FSEFhmL0MLYg7bCuBKUXN/MErIn3ZlHeAY0j/QFqZSPsoYofp8fPZh73eVLLl/ogkjC+ n+ZA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1786971224; x=1787576024; 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=U/HO5352xrmxomcN/usyEVXCVrY50VpsMFDwsFMZfKc=; b=gXco2rQYDcp5YAfs46KwO3vIkOR4pDT4nrXaG4PPtZ9jinDV+09NTdM4Q3ZNAjm+Ez pTEoXhLQSFRVyCCAKxjlKkutq2pmR22yBiV/uOKSyObFYCB0N1wxJY8ChZ3WSTikM+U4 p0D3c2HKXQZt2/9eF1AICOpPav7gxmYuB+D7I2SFmD36geAwVC4+4Vu4X9Jq5NTCIy3Z vMv0/qgyH/mQ3vf9KOQaQlQtxdS0sAfBC+2IFrCiIB4OCIbYfQJozQF8afD8BEPrtLN2 b6R4eLYsUnL0mLfo4xsSQwmairJtvtzr7t7ywE7CwuE6idwkOgq4FsUeceZmyi06O9sd t6/g== X-Forwarded-Encrypted: i=1; AHgh+Rpdoqa00hc2qMlVXmboiYcRqCL45SPR7JB+36DER5jS9acq9/u5XtCeWFYy6yyUfZ9OUUdkc/4iJawNzCw=@vger.kernel.org X-Gm-Message-State: AOJu0Yzm8e4kEXHCEb5x8ISSpQKS6dEatD2Hq/2QuvxERFl6uIjDShyM quePgKEfW2HGmLxKV0vcZ2PEYKlkG7nZybPf03WpMq2rEggzZ8j0+pCZw5V8/xhqsQ== X-Gm-Gg: AR+sD10M9lKCyRXKBUxh3nWF9bfipXlklpw8IrbzAcLsXLJbSegb3nQ8R9qbDn40MTo H/Vgx8CR4nL9v4W6zqx+3qxjtoP6uikOaXkGE4BTuso3r1bd5+3SBIdsXKw1KxYZj+m6D1a13Mm 5ChZQMEt8iDacigzaTIYnT2UVHkkJ9f6+e1xBnn397dhwhATZzUVx0ZcDtDRL+SUftmm3Gc5nL5 nAaWEDNQGnVrFyXwQVnhg05JCHD1tsffYJLTnr+iCjxCQZPG4HlA7fPV+bVtwdjiahIsJTx14Gg ZgrnlfZcppQuLwDSW2HEpnJ53ytg2RavT/FTDVIblkaroHD+53SUDbfI0Ir6rhBOAJwgc2cLiqu YKU+/3/EAVbmRd+xVnp3W6DirP7IV3b16tfhjb4/SGJ4VJ1AIuKvA91/elfG09eiC/egQqL6Wa2 rPAAmpdfZtbLUHJNKtLwHrWk/nq+Ps1FhxlqBTVl5/0TzUNHVm47lSxG0duFYF00WkDmSfHwR7N c4Jiky8bdS4LoUWHUqm5os= X-Received: by 2002:a17:902:d983:b0:2cf:41ba:96b8 with SMTP id d9443c01a7336-2d590bad516mr5207305ad.6.1786971223287; Mon, 17 Aug 2026 05:53:43 -0700 (PDT) Received: from google.com (21.168.124.34.bc.googleusercontent.com. [34.124.168.21]) by smtp.gmail.com with ESMTPSA id d9443c01a7336-2d5bb499d4bsm5258655ad.4.2026.08.17.05.53.39 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 17 Aug 2026 05:53:42 -0700 (PDT) Date: Mon, 17 Aug 2026 12:53:36 +0000 From: Pranjal Shrivastava To: Jason Gunthorpe Cc: Dmitry Malkin , Will Deacon , Robin Murphy , Joerg Roedel , Nicolin Chen , "iommu@lists.linux.dev" , "linux-arm-kernel@lists.infradead.org" , "linux-kernel@vger.kernel.org" , "regressions@lists.linux.dev" , "stable@vger.kernel.org" , NB-Core Team Subject: Re: [RFC PATCH] iommu/arm-smmu-v3: Allow nested attach for PCI bridges without vDEVICE Message-ID: References: <20260814174825.GC510472@nvidia.com> <20260814221103.GE510472@nvidia.com> <20260817114407.GB1175472@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: <20260817114407.GB1175472@nvidia.com> On Mon, Aug 17, 2026 at 08:44:07AM -0300, Jason Gunthorpe wrote: > On Mon, Aug 17, 2026 at 11:16:17AM +0000, Pranjal Shrivastava wrote: > > But, regarding PCI P2PDMA, you can still enable it with ACS enabled in > > the upstream kernel *IF* your hardware supports TLP forwarding between > > root ports. > > > > When ACS is enabled, all TLPs get forwarded to the host's Root Ports > > instead of getting routed directly through the switch. > > Generally nobody wants to run like that, the performance is > terrible. The reason these systems have a PCI switch is because of > performance of the P2P path. Ack. I was assuming the enablement was the major challenge. For perf we definitly need to hairpin at the switch. > > Jason Thanks, Praan