Received: by 2002:a89:2c3:0:b0:1ed:23cc:44d1 with SMTP id d3csp959909lqs; Wed, 6 Mar 2024 01:54:03 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCUZ7Qy59vRWZj8lmj3qpedCy0BYAVZp+IIK+pjoyW4nrLnKj4AfukRHtVVbIMqoxIHP03E8cJ09XLWnBajDV74HI9jPPnHcaGoPtXezVw== X-Google-Smtp-Source: AGHT+IGItvJu1BHpRsI9K5p7ZCZqw4pzhTZCOP0ZTUztYD9r8nq9VrlU1eSo0mhsfnMSmC9U5pJj X-Received: by 2002:a17:902:ea8b:b0:1dc:ca12:fa54 with SMTP id x11-20020a170902ea8b00b001dcca12fa54mr4163247plb.20.1709718843116; Wed, 06 Mar 2024 01:54:03 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1709718843; cv=pass; d=google.com; s=arc-20160816; b=SjwytwFwIY107ocFccVS6ILHzl8PhmA33+TXpe0Qzm3BdiojHvN7jpnRPAykUDH9fl Bb2j3ckRVZ3Ogb1SPKF8pi3F20QL4tEu8h/WfzCF4akmrHbHj5uB2sR8j5p0ym5OnnOg 8KHD5BD2HKpkAmnx1cyeifujGdniqLQoL3BPSk59W6nhox8YBPxGIS1KgxvioEwmaFGK oQJ+geskJQLeeBjjzzrBTEDFBh94bGJj8WSU40HkONqH2ZN/zL/ydDoZw4gVdIvO+vk3 gMM98Qx90P4iLzLKSyE/OjiSdt3FaWkXmKmZoRfmwQ0aeD0nlyRGDU3e9Zl/3fq7tJjv GfaQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:list-unsubscribe:list-subscribe:list-id:precedence :dkim-signature; bh=aiSYTBBix3pZDJn7hX0hlhePaaHKbsR/+LCZ9GmLewo=; fh=Iq3BDYfahjL5WdukjCyviWhM5Ao8aDFxDtPQoaNisOM=; b=Gf8HVHhSrbN8NKZbfS6P+oM7XhmgNQ5MgegKtPNHSOKa2eBMOtrvg0E7RGxTN8/XIl FBMW7LbEzRaF6ECJKB52j0fmESAMnyEe/TQyVfbdBqO+zT17vGXvqilhI0KyOxMiWISh E6o9QLyUTiHvgRV0xR9J6UTn7WrtDtwvo5wRloCyqtPCYuYuwvkqBwwdbomGhl/e6eoz JuRd8rzKiK1/CCRgSZScyAd6p8IL+vEGrFkb731rbxC0YGrdidOUPrLPCrcEP6GWXuOU d+EQokBZTsogbrxGlaKisLAa/z8SrJ3hI11kAMYKYjRVLQLUFVDoxL1s8uf92Hemrw6V Rbfg==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=gUGI+jie; 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-93615-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-93615-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [2604:1380:40f1:3f00::1]) by mx.google.com with ESMTPS id e17-20020a170902ef5100b001dca843f0b8si11648045plx.281.2024.03.06.01.54.02 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 06 Mar 2024 01:54:03 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-93615-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) client-ip=2604:1380:40f1:3f00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=gUGI+jie; 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-93615-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-93615-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 sy.mirrors.kernel.org (Postfix) with ESMTPS id 195E0B2FC78 for ; Wed, 6 Mar 2024 09:20:11 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 7E3F85DF08; Wed, 6 Mar 2024 09:20:00 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="gUGI+jie" Received: from mail-yw1-f181.google.com (mail-yw1-f181.google.com [209.85.128.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 1EBA05C05F for ; Wed, 6 Mar 2024 09:19:57 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.128.181 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1709716799; cv=none; b=EiArhd379I8GFgowjboOCzMcFHZOpiaVWCczmaHhnwsL5wt22d1bAzJIy5Ng6QFaIuhW9KonW8qtb/yUCXET5hGToXR91XYFKfaYs6zWKIu/CCprTzruNdbAdmDKKXHnwORslIA4kd/bv9WLDuYK3mDoWEfkpopnbqGHHAti+Z8= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1709716799; c=relaxed/simple; bh=wnA4PSgiocDkaO9a9fgbw4GvaFZtLsr3ns0/Zd4EM9A=; h=MIME-Version:References:In-Reply-To:From:Date:Message-ID:Subject: To:Cc:Content-Type; b=kURnju0crKtqzfYN1HpDK6MIdhdhJT8kZWX26M2WJclLMmn5wzf493H/PozSqxw0uA5ymzhxcKtm6oEKf/roQv2dE5PAY7DRB051ukJdPiEAOtNGZWCHRVqqOc99Bi7IYb1KXfEH56d440nCxl9VwfzQE8ARkNyJCJQCU5H+yh0= 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=gUGI+jie; arc=none smtp.client-ip=209.85.128.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-yw1-f181.google.com with SMTP id 00721157ae682-6096ab005c0so62488267b3.1 for ; Wed, 06 Mar 2024 01:19:57 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1709716797; x=1710321597; darn=vger.kernel.org; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=aiSYTBBix3pZDJn7hX0hlhePaaHKbsR/+LCZ9GmLewo=; b=gUGI+jieFYCwkisnrcpYvaN1JhmccfRORCE2xKGr8QWipN+Cz/gl2MMHhuYtIW1gIt gqDr4W/d18XnBLY6nW85KhlyxMLb11m1X9roYK+KlgGwCF446cjE9VeEGkV/rz0appLJ MKrKLRjDLjDz5UzpizsTJWVUNhvpBMU5OZbhJJTlYsfZkNRF2OU7/ax7wQZrDZUoQcys sSP7m8gBHJpWLy1ixNieTeRFLiZQTc5hBn7nUecObxXENwTrqoDmRGCON8sD3l6SoDp7 mJ/0u0ZGjzY6RYHb+ZAZqqQeo4B4aR5esijQmCMz5JN1L+bB/KW+mKDyCZ4b6esXsWkV e0/w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1709716797; x=1710321597; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=aiSYTBBix3pZDJn7hX0hlhePaaHKbsR/+LCZ9GmLewo=; b=WLCwVlnpB0WPhEzsrgTL3l+LhpbqN+yB2XED6ED7d9rHhl42ASPOwo+P5UCxFWDDhI ScPtpbonvjjPWSdejhS0dxS2UaD0Kdbs8VGhXPxzwyGOrzq5dPuOjncW4/eA7MV3jlCr a30zRh4gJKRqC4vp9G+HD4KAlj5MhpnbOXfP1lOqjXV1+GbgYkNPBYtBfiionWg5/vMI 104jZiaETaBgPSyUO2Zg2ZH1afax5qh0DFo10wmDE2tpRa0YtvVY3I4cDSNDhxsEYutL RH+BHH1V1piOffe/Z3xne7w4rBYip0NBTVg3i1WzGv77aJlY141DJd+s6jnQTONDUZLG Y3rw== X-Forwarded-Encrypted: i=1; AJvYcCUVjgLc6+K1ERLv6bazN39Y5Wb57vBBJCEuU2kq6QRhZeVPa9eze/ombjCVeKaDnNcCHhxLcuM1C10IPRT6bNzik6qwNPJ0oNkx5/nU X-Gm-Message-State: AOJu0Yw57DHpZ3yhymJyw3biyYPMp6sCs1kFXlL14BGc36QnXumCDI5N zK03aYTEcL2s6vRehOBpxZm4YSfZz4sqlp+IzV2AJ40yVGI6XCmMoQK94dEFijHCQyflfUAcJ8S JkF8hrKTvfaY7Go/xWND67Z0jcZk54rez9R/gMOtdOE6P1GJM X-Received: by 2002:a81:83ce:0:b0:608:4e7a:abc7 with SMTP id t197-20020a8183ce000000b006084e7aabc7mr14193190ywf.29.1709716797169; Wed, 06 Mar 2024 01:19:57 -0800 (PST) Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 References: <20240305081105.11912-1-johan+linaro@kernel.org> <20240306063302.GA4129@thinkpad> <20240306083925.GB4129@thinkpad> In-Reply-To: From: Dmitry Baryshkov Date: Wed, 6 Mar 2024 11:19:45 +0200 Message-ID: Subject: Re: [PATCH v3 00/10] arm64: dts: qcom: sc8280xp: PCIe fixes and GICv3 ITS enable To: Johan Hovold Cc: Manivannan Sadhasivam , Johan Hovold , Bjorn Helgaas , Bjorn Andersson , Konrad Dybcio , Lorenzo Pieralisi , =?UTF-8?Q?Krzysztof_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 Content-Type: text/plain; charset="UTF-8" On Wed, 6 Mar 2024 at 11:12, Johan Hovold wrote: > > On Wed, Mar 06, 2024 at 10:48:30AM +0200, Dmitry Baryshkov wrote: > > On Wed, 6 Mar 2024 at 10:39, Manivannan Sadhasivam > > wrote: > > > 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: > > > > > > 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. > > > > Why? If it is a bug in the PHY driver, it should be fixed there > > instead of adding workarounds. > > ASPM L0s is currently broken on these platforms and, as far as I > understand, both under Windows and Linux. Since Qualcomm hasn't been > able to come up with the necessary PHY init sequences for these > platforms yet, I doubt they will suddenly appear in the near future. I see. Ok, I retract my comment. > > So we need to disable L0s for now. If an updated PHY init sequence later > appears, we can always enable it again. > > > > So yeah, let's disable it in the driver instead. > > Johan -- With best wishes Dmitry