From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-qk1-f178.google.com (mail-qk1-f178.google.com [209.85.222.178]) (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 5548330CB22 for ; Thu, 18 Sep 2025 14:11:05 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.222.178 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1758204667; cv=none; b=ZqEWpOLn6fhnDkGTPQr7Ie34UPfpYLvC+qYSRk0ev1qWPC3kGL6VvXcbkpl1rExeo3/DWDbApWc9EYhR/cMu/DnbsphcIj96sjeQVbTSuUS1pzVT5inqQeP+URxabUuO5uVKg7utS7hSiUl6WNIXB2cx09PBx62+8zjHVeug8lA= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1758204667; c=relaxed/simple; bh=x7jb8JfGQsSR4XtTJ8eBWd6uBi74hSXtB25C9NcBMXU=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=PlVMdqPJ4XyOf53bXCdwY3zQuzatMw01x8NlGFatrdhmkRAF2QBhAB+wYY1klFayQDm66FZvv46O+RaK83aEOq/vB21Zq//lv6YmTyioCuJBuwDHO+hJHooHg8BfUKDoBxY5Vr3jZgdD/Qic3Cde6VnTHkR+VhHnJcX8HMtgsDI= 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=Jv5JSEvt; arc=none smtp.client-ip=209.85.222.178 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="Jv5JSEvt" Received: by mail-qk1-f178.google.com with SMTP id af79cd13be357-812bc4ff723so113116985a.0 for ; Thu, 18 Sep 2025 07:11:05 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ziepe.ca; s=google; t=1758204664; x=1758809464; 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=x7jb8JfGQsSR4XtTJ8eBWd6uBi74hSXtB25C9NcBMXU=; b=Jv5JSEvt90Fa9tbW7z3hoHOvmlNlKEagQOh6WrcP01HKdI0sZIqM7xCK5+8ZnqbRMD fAzcx9rQ+TbZ8zunCIkVM8BqI9D97/uKbeWaMzMpM3+ziHP69ifZzRPsj4iuUBg7FkFh ze1I+tVXnLL4I55H5+Yjz8nzSGGS3LFrYI2RtKxnJ0glqLk8cLGwYN80fdqtNI6ZDk1o 8cwZnd1IjEV+ffSwf7mzQ1S+/ozk4yIz3/zo8TXZKrymfxHAcsr5xrah24eO4mcVNeNc Jf6YKv3WS4K0UdFj+UnbL6WOsqayPzmLbQHSpdqdprdFyxEHnjpc6bKaFSocruMTkSTa 7rcw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1758204664; x=1758809464; 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=x7jb8JfGQsSR4XtTJ8eBWd6uBi74hSXtB25C9NcBMXU=; b=AJ6RHI08K8u48n4dWBpKJsnO84wSeKRNeF9iu8YNR9kAg+5eS8CLp9jkYOX7tVz90G rUTl4Rl00zyybRt+JUx5sMq/UyS/XBFhnXavUtK8Z8OCDTVmJEApUsfrsO0pbzjtqugr JpYT+ExoA8mXKb0RAu/IWc4rL6SrCdsiDIQDCuLKbCZoT6uYQNF2PDBHZNfqG89bNF/c 6TMtv1GnSwwQSOroabu30lsO70qFaRCJi3bwID2eHj0vLak6S31CetQSHWLQh63FlsM2 jYZje9NHpcv7UPbOfwljK0Xj1Gc6ibOe4/t/1zMCvSXu5LRV20JkRdT86l8SEzVAYZu/ 6g4g== X-Forwarded-Encrypted: i=1; AJvYcCVydtxPMj1g7u5swWThE834QWbPLUbKpQEiFzEa7qvVMqstfZyddIKZpzr/e1772m/6T2brqCIbo9s=@vger.kernel.org X-Gm-Message-State: AOJu0YwICrTh2i2KfCW6NAVbgr9ScWB3JOalecGxBhNJnNo+nChUU6Gx 96Yetze+hz3+GUJeoiRCZzJ8NYFbfQltMkFDL2zHfuRLzBHsFy/WQeT4QKsQiWiMH/I= X-Gm-Gg: ASbGncvkEYfHm62QuwqNKmVikYRaFsQhHVn3SfmPH6ouShFsAuUMnPLCYj7oq8cjgSY zSr4YVU0/tQSurdXAymDeTNqyH6HIWLJtor+EOoJTDG4QK9AXaODcbUxdEAxv4wxvVuRss5AVxM FEsR1jaOW+GoaLe7NuLmIIcUA19eHfNyL3mU0AI9FThu6dvMvbzGTI+NtFxsVM6e9L3slII9C15 yxJDPFSUiy9czSwdO7TiNwoYxz/OIC7CI5OCWtrBnpUcH0Or7p/K8lxah7W5ERqFS258QdQH/0X x0yzCNHAV0wdNVM5bgDCz6zmXipWfKfEkfaGGVMPo0CVIDXeJGXBGpuXvg2NdcUG+5p7TIFQwRJ q0xDSbveBe/3vZw0dRlzFNQZ5vhusLTzVHG/rXtB6AeOZ2trajEgSXvhjePKrgGUFrrzEZq0P6E b1Vhq1Pl8OgTY= X-Google-Smtp-Source: AGHT+IFcG0Z3ZK5/PQ6vJav0eqkeBfwJrYJnuhkwdniJkW36no16Dw8WiAtdmBAplhwPvdJpSRD8qA== X-Received: by 2002:a05:620a:462c:b0:812:be4:670e with SMTP id af79cd13be357-831109114e7mr656127185a.43.1758204663628; Thu, 18 Sep 2025 07:11:03 -0700 (PDT) Received: from ziepe.ca (hlfxns017vw-47-55-120-4.dhcp-dynamic.fibreop.ns.bellaliant.net. [47.55.120.4]) by smtp.gmail.com with ESMTPSA id af79cd13be357-83627d7dd01sm169419185a.27.2025.09.18.07.11.02 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 18 Sep 2025 07:11:02 -0700 (PDT) Received: from jgg by wakko with local (Exim 4.97) (envelope-from ) id 1uzFLi-00000008vyr-1Vsu; Thu, 18 Sep 2025 11:11:02 -0300 Date: Thu, 18 Sep 2025 11:11:02 -0300 From: Jason Gunthorpe To: manivannan.sadhasivam@oss.qualcomm.com Cc: Bjorn Helgaas , Joerg Roedel , Will Deacon , Robin Murphy , Greg Kroah-Hartman , linux-pci@vger.kernel.org, linux-kernel@vger.kernel.org, Joerg Roedel , iommu@lists.linux.dev, Anders Roxell , Naresh Kamboju , Pavankumar Kondeti , Xingang Wang , Marek Szyprowski , stable@vger.kernel.org Subject: Re: [PATCH 0/2] PCI: Fix ACS enablement for Root Ports in DT platforms Message-ID: <20250918141102.GO1326709@ziepe.ca> References: <20250910-pci-acs-v1-0-fe9adb65ad7d@oss.qualcomm.com> Precedence: bulk X-Mailing-List: linux-pci@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: <20250910-pci-acs-v1-0-fe9adb65ad7d@oss.qualcomm.com> On Wed, Sep 10, 2025 at 11:09:19PM +0530, Manivannan Sadhasivam via B4 Relay wrote: > This issue was already found and addressed with a quirk for a different device > from Microsemi with 'commit, aa667c6408d2 ("PCI: Workaround IDT switch ACS > Source Validation erratum")'. Apparently, this issue seems to be documented in > the erratum #36 of IDT 89H32H8G3-YC, which is not publicly available. This is a pretty broken device! I'm not sure this fix is good enough though. For instance if you reset a downstream device it should loose its RID and then the config cycles waiting for reset to complete will trigger SV and reset will fail? Maybe a better answer is to say these switches don't support SV and prevent the kernel from enabling it in the first place? Jason