Received: by 2002:a89:2c3:0:b0:1ed:23cc:44d1 with SMTP id d3csp901946lqs; Tue, 5 Mar 2024 23:20:21 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCVWnTVBjBmjAYk/pmQtWP5ls5MMkhKyd4vESbN6Ezgz1BYKtth5Rvso2IiaAi8WTJSQkcae8e062LIjUzAHhH29kGOPc+LSJBSvFSl4ZQ== X-Google-Smtp-Source: AGHT+IFRW9yyuFpB1GnU2wbixwS/gWSCbOtZTVev9TYE3jf5dU3TEjMfPCuB5/J+OrEqExjmwoYN X-Received: by 2002:a50:cc4c:0:b0:566:6a9d:6147 with SMTP id n12-20020a50cc4c000000b005666a9d6147mr5090411edi.0.1709709621118; Tue, 05 Mar 2024 23:20:21 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1709709621; cv=pass; d=google.com; s=arc-20160816; b=AuwmNrVkIozJbfhMPfUJ46vxr3osDTrICL5ke3WzdUzjK4IAJ5tFUcPy3mdpo72p9K YxtQzB4eeq9uQ3TYCbUs6KjvlchdaYwHMZoZbzQgagU95m6hLvcLWQ6EgpClbVS6k6/5 sXCE6vxxfet5tacelejRYqi6bZpTTgJD/SFRBtj8uoHzcDmt6oJkCvT4zk3Fvo4NqsdV 6JzQtp0S16xsvfID6Tj4RJdP3KHIDgosgcwxRN4C7zi0QhiAiBSBNfOWg3Txvhniyh3/ 52en35Iox5uYSsDYXS68eU+vyWKNdI0EWAI4O8swORQmj1HTo6PaioWO4kYSkSz1AyE8 1IxQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:content-disposition:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:message-id:subject:cc :to:from:date:dkim-signature; bh=rV+hjGRY7oQGekFko/aGEFrRAmNn0zNe3QNOrWVyNfw=; fh=ILpEj3T52zn3LsYNXMrpRU1c0GMgRJDuFKDspPat9G0=; b=mFsihP2OBTucHEqBwCKx69HU7Df+YLVHTT1edwg0Q0jxn3T5/Pyq6VD36PffgwqaGo 4ii9syyaLr0ccMZB53q3gAODzx51ZM0LdpgqmWPV5lKrN8TT6rkiwfc1sgo9NDGryWTH 9nYkKASP5LD+dSblPPlKTEybRgnIDxiCk3S3BLIjH6rJtEV3QQ+J50gjl/HMNarN8I+f 0VUKaxCgnVK5QKrgfvwA9ERh3YnI9mw8++KBPufG0Fc1DguaVmBDOR8HBx7t3Xfzkg95 19EPPfaqaHnj7qtU+fE14hSQscc2h/AhxsMWyvTuaNpuW0rVwr1cK6MXEKI4A3xdR4ZF mfBg==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=k5r5V81E; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-93415-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-93415-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [2604:1380:4601:e00::3]) by mx.google.com with ESMTPS id b6-20020a056402278600b005668059a20bsi5789971ede.123.2024.03.05.23.20.21 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 05 Mar 2024 23:20:21 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-93415-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) client-ip=2604:1380:4601:e00::3; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=k5r5V81E; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-93415-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-93415-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by am.mirrors.kernel.org (Postfix) with ESMTPS id AB11B1F21F1B for ; Wed, 6 Mar 2024 07:20:20 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 1F25A5C8E8; Wed, 6 Mar 2024 07:20:11 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="k5r5V81E" Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 3806F5BAD4; Wed, 6 Mar 2024 07:20:09 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1709709610; cv=none; b=M6bKL1x+hIO0mAD9T6PWsx69ICj2p42s2+F9DHwQ7BsuARI6uKzxhbJmnDjwFIPi6q2E1pvYdSRKs6/ti6V/QnWul5xl75m9YIxSGir/lxq2lOQOJCGlk7xYf5cOyxuSRg0vfKnZhX7APu30djRH6775GT4WEla96C8iRfhE7ik= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1709709610; c=relaxed/simple; bh=7e0GVHgO/NR/ITDXSFCFIpgdS6eMgQdfekTQKe26Z6o=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=H3wUEZTENNBuK5bvcdDIHi/WJvFHtOTBMp9BUAVnvaEtdcT3sypn7g7ENrhHYFFE69E7BwYM0vV8llzSBHL2jlptDzuCci3fhj1dvjU6zBcYw0LAMZ3Rp4O4dL4DtQci45lj4SMwvIjAeFF2PhgZXsSKDQYB4spZA0K6CTTko6g= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=k5r5V81E; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id B0AC8C43390; Wed, 6 Mar 2024 07:20:09 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1709709609; bh=7e0GVHgO/NR/ITDXSFCFIpgdS6eMgQdfekTQKe26Z6o=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=k5r5V81EhuBe6LjOo3DLR4LJFl+7dNzzIISuOk/XIYakZFh6e6G5M3ObQxSKKkiw/ bgN5f9Hr0Id6WHlCwrOxGH1CUt7N78xGPxA1KNUnnkmt31lDwDVKZPjtx3eitjNSTW ouJm2Og3CB6PSiuQkdcQaFmAbVth8JAFPH5grOXzTLVaM9M2qKBluY8DbkuCXBngYM dTPQkJGPb/lPQ1Ev55bp+vZ1P/3rfRLlU+tj0DPtQzX3+Bsb7ZLVkMYL4bNslfXzS2 TCkdKyxtTjHvbkRptE6vkoxnsjH6cc+ZREHX7rZREMzP0/x8MTHiMTXG5lP+QzjUZF kxYDGbw0UgreQ== Received: from johan by xi.lan with local (Exim 4.97.1) (envelope-from ) id 1rhlZY-0000000053i-20wI; Wed, 06 Mar 2024 08:20:16 +0100 Date: Wed, 6 Mar 2024 08:20:16 +0100 From: Johan Hovold To: Manivannan Sadhasivam Cc: Johan Hovold , Bjorn Helgaas , Bjorn Andersson , Konrad Dybcio , Lorenzo Pieralisi , Krzysztof =?utf-8?Q?Wilczy=C5=84ski?= , Rob Herring , Krzysztof Kozlowski , Conor Dooley , linux-arm-msm@vger.kernel.org, linux-pci@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH v3 00/10] arm64: dts: qcom: sc8280xp: PCIe fixes and GICv3 ITS enable Message-ID: References: <20240305081105.11912-1-johan+linaro@kernel.org> <20240306063302.GA4129@thinkpad> 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: <20240306063302.GA4129@thinkpad> On Wed, Mar 06, 2024 at 12:03:02PM +0530, Manivannan Sadhasivam wrote: > On Tue, Mar 05, 2024 at 09:10:55AM +0100, Johan Hovold wrote: > > This series addresses a few problems with the sc8280xp PCIe > > implementation. > > > > The DWC PCIe controller can either use its internal MSI controller or an > > external one such as the GICv3 ITS. Enabling the latter allows for > > assigning affinity to individual interrupts, but results in a large > > amount of Correctable Errors being logged on both the Lenovo ThinkPad > > X13s and the sc8280xp-crd reference design. > > > > It turns out that these errors are always generated, but for some yet to > > be determined reason, the AER interrupts are never received when using > > the internal MSI controller, which makes the link errors harder to > > notice. > > Enabling AER error reporting on sc8280xp could similarly also reveal > > existing problems with the related sa8295p and sa8540p platforms as they > > share the base dtsi. > > > > After discussing this with Bjorn Andersson at Qualcomm we have decided > > to go ahead and disable L0s for all controllers on the CRD and the > > X13s. > Just received confirmation from Qcom that L0s is not supported for any of the > PCIe instances in sc8280xp (and its derivatives). Please move the property to > SoC dtsi. Ok, thanks for confirming. But then the devicetree property is not the right way to handle this, and we should disable L0s based on the compatible string instead. > > As we are now at 6.8-rc7, I've rebased this series on the Qualcomm PCIe > > binding rework in linux-next so that the whole series can be merged for > > 6.9 (the 'aspm-no-l0s' support and devicetree fixes are all marked for > > stable backport anyway). I'll respin the series. Looks like we've already missed the chance to enable ITS in 6.9 anyway. Johan