Received: by 2002:a89:2c3:0:b0:1ed:23cc:44d1 with SMTP id d3csp929814lqs; Wed, 6 Mar 2024 00:39:46 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCVueNH885BM2dlZAjbNWWOe08pHmhD/6Pn7GRwZhh00neea9O9dvbX/qeaBYhlKYFKl3xdthWw4PycOc9eAUDIrGm94G0TKRG8ZpPaCeA== X-Google-Smtp-Source: AGHT+IFmwFud4jB2UIVCnr1pNgL1nJzleeSI91oSeGk/PxFbX3JsSPLYMIrQzI03SEp9tt1ENv2j X-Received: by 2002:a05:6a00:b81:b0:6e6:830:cd13 with SMTP id g1-20020a056a000b8100b006e60830cd13mr11363642pfj.23.1709714386161; Wed, 06 Mar 2024 00:39:46 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1709714386; cv=pass; d=google.com; s=arc-20160816; b=k3R6fVrwakcu2nKCjGCz88h7c0KrBcknSkb7JAuuoR/lf0OL6ccZ+YmlMiF6XIB6tc lm7jpM1s4zWUdAYZCoxoGdViO+P7f6h9T9X7lR//j6AZaayufdJSsqI4WvByy8pn7+GN LdhAjob0QGWSggsoJdPtk40JF3RmP9LOOzji7Bw6WU73SFlr+TrKBzFZNBPbGIslmDK1 P0UUxriLvsfF3bWImxx6k9EBZ/ZD6A7QkYT3faJieo4EsjCp86Je9mBwrykllajhMwmM sdCij4HJ5/WNsEKSA77NEeXdeLORS4N0OHVMoiNd/1G/XMtgJ6bl+o1qmorFyRBCeoVF 4aKw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:content-transfer-encoding:content-disposition :mime-version:list-unsubscribe:list-subscribe:list-id:precedence :references:message-id:subject:cc:to:from:date:dkim-signature; bh=OLL4vtiaVuob8hMTl3EPZBu7b8uDGWEMU5ByLQSiHn4=; fh=vis+Wlrq28qlH0sJuHW7jhwl9DDlKs3e2NqU1ja8VOM=; b=Y2Pz8qt+v1HOXebmU8WRELkYcBt8nwPIj6GVb7J8crqfXP/fdX20agmm7vLjf++UWE jISL3lf0VbN0MdhxgkDVbq7KD+QSKVA0sgN+FsiThvhh6g8rKYn7vhdZlgWdnpbMmIaC Wwn0+5ceArKPuElzSucVkrOS/HZhqRDJpkBW/D4834MKL31TrTNNUIxfovvR/HGtjP0t K3VfgmYIaKqMDh4VFEDvifaaA6JLmvfgsN4sEYWNjuTPp8yyf/SYtjX2sf/n4/US+Aij ROd7sbKJhLfnvmf6CDnNacIft7ItpUqNLkLnfoJhGdszxGEQxkxGs+xoC3EiZJ4S0oGr UwZg==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=hptdLoP1; arc=pass (i=1 spf=pass spfdomain=linaro.org dkim=pass dkdomain=linaro.org dmarc=pass fromdomain=linaro.org); spf=pass (google.com: domain of linux-kernel+bounces-93517-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-93517-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [2604:1380:45e3:2400::1]) by mx.google.com with ESMTPS id j63-20020a638042000000b005d6a0068c1csi11430783pgd.95.2024.03.06.00.39.45 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 06 Mar 2024 00:39:46 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-93517-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) client-ip=2604:1380:45e3:2400::1; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=hptdLoP1; arc=pass (i=1 spf=pass spfdomain=linaro.org dkim=pass dkdomain=linaro.org dmarc=pass fromdomain=linaro.org); spf=pass (google.com: domain of linux-kernel+bounces-93517-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-93517-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.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 sv.mirrors.kernel.org (Postfix) with ESMTPS id C9D77287948 for ; Wed, 6 Mar 2024 08:39:45 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id DB1235D8ED; Wed, 6 Mar 2024 08:39:34 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="hptdLoP1" Received: from mail-pl1-f181.google.com (mail-pl1-f181.google.com [209.85.214.181]) (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 7D44A5D72D for ; Wed, 6 Mar 2024 08:39:32 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.214.181 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1709714374; cv=none; b=l0HvHtwGcFAXuvz3HgqzWMXNsdA2rqqFxYkOsHXaojWA0PlPgQKLUVZisBhYgFEHdJXcRfyX5hdd/9rwqLigWZDVbLwF8fJ838T1NS8PR039aEvL+pU6PTwoSN3nlIhX6IRLAKmdKvsTqeAZhEaw1s9HUA7BlNxGDGEUpkwGmyc= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1709714374; c=relaxed/simple; bh=QlH3Wow2rZzvmp6ckeHeqUHMD2Vdr13Mh65ALOXij+A=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=GhTAyIRwIMJ6EYg/3vrUCTZC+sBwZtuy1Y7eR+QF5lBATeoU6qzm490PgXm9RPgzMT9+jOGnq1m9uJj1DRvtqdSJw3wFCrmMgpinoofHMpXI+dzGLbGiVZ/YfctXpAtXiEQxZbkIEcxCVR+GnzDPDrCmINsTdrN2BAaLHYaX7Sk= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org; spf=pass smtp.mailfrom=linaro.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b=hptdLoP1; arc=none smtp.client-ip=209.85.214.181 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linaro.org Received: by mail-pl1-f181.google.com with SMTP id d9443c01a7336-1dd10a37d68so28293655ad.2 for ; Wed, 06 Mar 2024 00:39:32 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1709714372; x=1710319172; darn=vger.kernel.org; h=in-reply-to:content-transfer-encoding:content-disposition :mime-version:references:message-id:subject:cc:to:from:date:from:to :cc:subject:date:message-id:reply-to; bh=OLL4vtiaVuob8hMTl3EPZBu7b8uDGWEMU5ByLQSiHn4=; b=hptdLoP1UShB2ofMJ7Gz6+WeW+nuQOGGp0XiOF9jsDU2i9pH+z/tkz4d5E+YkwRqAu b9fTWJ0xwHBff+HbJakf29RuyBMq21vyO82o9iEMK1kz/t555NUjlVWAjrf/2OT/FIJj xbv/2XtmkJZXsdndDd1Ji23JEyZQH1IqroTh4ktT9cU+n2cbZBOrKdZB7SK4Jc9Vcmyf DYKeDCx6YQeyKdevF8Blf/wwbFxd9LbwQcLOBz0jNp1zWPN8nnkdlSVGlgeJxbP95mar W0ksywNPNg2YAwPjYA0gnNFK5e0CnqDySogH1D6dWttVNCGaCgpZZl1UszNN/DrUoN1W tLtA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1709714372; x=1710319172; h=in-reply-to:content-transfer-encoding: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=OLL4vtiaVuob8hMTl3EPZBu7b8uDGWEMU5ByLQSiHn4=; b=cdUc5LQVxKgVtnpx5b3/eZLiIp6l/D4RE4c6mN+cX070gMPBWy2g73jMyyF6sinyOw GF/tKJeT4ynqeken07IArNgjDB8HR9FtSYfydPYn2ZMWYz/3TgdZr1OWjxltYnpLEa/l S8mANAIjeZyN+l0EwnjRVLqHTDxVh500LeJejt5aAT7wjkMkGCz1v9SSvdMZyfwGZ0bo qcbs0wKzMyIxGAhUDF0Agxr9MlYAEJnNcgbANS3/e2YHuhYIiyNPjEaRnr1O6uH7f0uW /dknXZbZVUTrZ273XIJ3LhYhMvdYPH+K2ZBBYpumszJWWTRSmKZyKLx9IpQSDl717cyJ uCxw== X-Forwarded-Encrypted: i=1; AJvYcCW5F5fC3wVXn04P9kJDKJGPrjOIWM5FDn65nif3r9blD0hn379e3OjW+loOruLA+479dhFWnl5o4p7Xeuxft7LgwGN5Scw4cMMGgqG0 X-Gm-Message-State: AOJu0YxMaN9GH0WcvXztRr5pzkBzytz5G3ZUxUwdn3nuXyODu6lNuwNY pFLak62iE8bFh8WYlZu7Ba4uPK3l7daF6j7Xaj4KJl7GFg8DFk3V4XXy98mIRA== X-Received: by 2002:a17:902:7845:b0:1dc:b382:da8d with SMTP id e5-20020a170902784500b001dcb382da8dmr3856250pln.38.1709714371623; Wed, 06 Mar 2024 00:39:31 -0800 (PST) Received: from thinkpad ([117.248.1.194]) by smtp.gmail.com with ESMTPSA id u9-20020a170902e80900b001d9a42f6183sm11962904plg.45.2024.03.06.00.39.27 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 06 Mar 2024 00:39:31 -0800 (PST) Date: Wed, 6 Mar 2024 14:09:25 +0530 From: Manivannan Sadhasivam To: Johan Hovold 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: <20240306083925.GB4129@thinkpad> 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=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: On Wed, Mar 06, 2024 at 08:20:16AM +0100, Johan Hovold wrote: > 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. > Hmm. I checked further and got the info that there is no change in the IP, but the PHY sequence is not tuned correctly for L0s (as I suspected earlier). So there will be AERs when L0s is enabled on any controller instance. And there will be no updated PHY sequence in the future also for this chipset. So yeah, let's disable it in the driver 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. > Sounds good, thanks! - Mani -- மணிவண்ணன் சதாசிவம்