Received: by 2002:a05:7412:bbc7:b0:fc:a2b0:25d7 with SMTP id kh7csp701600rdb; Fri, 2 Feb 2024 00:55:42 -0800 (PST) X-Google-Smtp-Source: AGHT+IHZ1CZrtUiALDhgKK+Mfotn6DwjqCPzHoMmcI602JQXHVzzcY1e0WdFB0uDbNkRcr881rIi X-Received: by 2002:a17:907:764b:b0:a36:50fb:37ef with SMTP id kj11-20020a170907764b00b00a3650fb37efmr4679512ejc.28.1706864141860; Fri, 02 Feb 2024 00:55:41 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1706864141; cv=pass; d=google.com; s=arc-20160816; b=oWUyu1J1HZjdIOv24VKYGUonHRAjJSMtp0fi/oFbmsSo+pWuNE2hIHh0nBP0807Chq L/tZE8cn65OAqap7U04YkccMO1i5rVdmWeFUR8nN83CzALyUTLFoi4hpRWeSNSZN9V3m 9efkF1oT0ZiZy1O4rfdE8pF3z5uWoghje3nF9MSstfg25AhuoCAdgkjPIOlpewEe5TgT JlLImOa3obvJzRyWRdvoqynLEYedPiKxQIXBZYhgR6Su9IlbuqpvcLrJvCXfxJP0slWN IcqKtYlVlvludW8zV+qFakw2zvZZFwO/E9Cr2dsBtsAj44zTMFQeK4YD/EIdL50pWLIx 0ryA== 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=3fiin9xT95xmjaBWj39CSHW+K1rE7OpA6eoBA4kS3YI=; fh=FGVfJ0D7ELKJ05tPZOwJRygjtzcn4Jm4WOiT5LciiS0=; b=MjGq0mJkeMZ3cGFvzrHk6WnHgk3E7dlT5LL/5nEmCaKFo9kssdSzkzvB7kpc6PvbFD +2+tHgX2GNjqIwJUYwfezVKWbI751XQJ2ShPo+MU//4v30ct2mheOXtgPsZXBCwfc5mC z4HSHsQjwWDw2BdYIa5bX3DZGdHiPXNWp12AHC0HkZLpILGznuY+UdUAfSoC2zgfpc4w WDld5+tG8nATe6n1+nliPI9yTWanf2rZ0izDwzFaB8cw8pa0tBrbxyrIq+lXWKrG1NDR 7kbhFKpUSuUrTVOlcGuzkEmsG8vzmyirLfwYfuJ/612TlLUcj/xis17hB2UroXGI9pru rUIg==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=XQVha+XI; 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-49512-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-49512-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org X-Forwarded-Encrypted: i=1; AJvYcCWZ0EKJgIK/7vbfR45iWSovMTo2YQitjqMinyq2Fv1bHebxf+pUxzuYkk180J1NKQkwKU70iCyrQP2+izwUOdGkQ7WLDLdpI+7qKS2UaA== Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [2604:1380:4601:e00::3]) by mx.google.com with ESMTPS id qc10-20020a170906d8aa00b00a363f349499si596877ejb.171.2024.02.02.00.55.41 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 02 Feb 2024 00:55:41 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-49512-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=@linaro.org header.s=google header.b=XQVha+XI; 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-49512-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-49512-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 am.mirrors.kernel.org (Postfix) with ESMTPS id 6B2B11F2C216 for ; Fri, 2 Feb 2024 08:55:41 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id D02736086E; Fri, 2 Feb 2024 08:55:38 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="XQVha+XI" Received: from mail-ej1-f54.google.com (mail-ej1-f54.google.com [209.85.218.54]) (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 4BD22605BB for ; Fri, 2 Feb 2024 08:55:32 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.218.54 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706864135; cv=none; b=t5A8NYwy9Sa7E64BchJSEJpZlgiy7nKRj/KCUpL8VI8xAzjBo0tPKzVraZkEm536EZmO9EwvF2xFDs6uduP9d2Ab2cKAcr+mAAVRM8hSyMBxXmCb0vgqvlzUD81ThKppiSCHavpo8OdjlFA6uE9/JRmQJY+Kg5u93+ZTD93hU14= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706864135; c=relaxed/simple; bh=k6BF/q2AUq9fet7l2bvyEg/64CUFxjGNt72Xjm2UEvI=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=sj8AogA1vjhSAVlNTcFPhRwpaI7FW5CL0ge4FFes3sIgRe51bd8bSe9Lmlk8d+SbbKh7hXNNHoPFB78ixD5pPSB+IZWC/tpGQBGl38lfAI0wvS+W+BX2Jqlcq/fhdcpkksfcfdHKeYB1+QE7jtGssh439QX/COdaUx2fYvvwki8= 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=XQVha+XI; arc=none smtp.client-ip=209.85.218.54 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-ej1-f54.google.com with SMTP id a640c23a62f3a-a36126ee41eso250421266b.2 for ; Fri, 02 Feb 2024 00:55:32 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1706864130; x=1707468930; 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=3fiin9xT95xmjaBWj39CSHW+K1rE7OpA6eoBA4kS3YI=; b=XQVha+XIpWelasWeO6GH/tsGHtFiHEl76r5XSXNc1tp61aLzt2rupgw3ZHDmNZx2D8 4bVH9aSRxsWqY2IjhM4i1gIoijBlGBhg95/21IagAV0L7IRUxPvGqO9PMc0WU+UNRUrM W+uuA+rkLOq3BllBrw+LTBsjTCSQcUlDJeXaOtP7U3tg6bXfcsNsxeTAohXzuZx7xmYB FAClz8JLxXckw9DjSI8lvgkmCKzLUNaaSpJ2EVZG0vkcYbBmNMjpEbDlfha4/OVJOS97 ic0IFBMW5RS2/i42jGjgi3eKWNRXFQ5R294qzW9jlYZFKCqNgr+sP30wuvrT2SIFERu9 DXIA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1706864130; x=1707468930; 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=3fiin9xT95xmjaBWj39CSHW+K1rE7OpA6eoBA4kS3YI=; b=dqhjlCSZY+3qq2QQAvld/NyOhN3EbdL7i6rSf0juoTGWcfWFLLdmg5v8kUYh0puDJC CyqWHULz0mOxwFzTfMFlc0C5/vfXaIQCFTIgfEfmdk78HaVnfg6lkpbAHpb1Dpj6Hcx5 9QrVZrhHno+GgT1yygYKsOEPnCKBIvOyndiweySPm35/NQQLr1kJ/h4X/g9c1zt5krD9 ZokKFrNnbbrmLaU/X48DJcj6xB5RN/vbuYUSv4LMyT8WTuCrjgwb0Q5BFJ8Z9CDx5PBq GtzYEcHSW5mxvHJp2CLCVQ2sB0zoqywzbKbipgMGEq09gEwp0uPZpd4eX+2dEnnJiy1A gdAg== X-Gm-Message-State: AOJu0Yy17deSKIDFRhonOG649Rs1Vhp7yYrC8ZgTiy2/G9DTKzV+Bf2h 8acCWO09ywEBRgGkF8hfEAWK0FFoMBE3GdKp7S3LEBZad7CBW2v6OtEJOcM6AtQ= X-Received: by 2002:a17:906:5943:b0:a34:d426:1c0a with SMTP id g3-20020a170906594300b00a34d4261c0amr4824837ejr.24.1706864130412; Fri, 02 Feb 2024 00:55:30 -0800 (PST) X-Forwarded-Encrypted: i=0; AJvYcCXtKT7tGmKSZBXztNYa5HLg/nU10SEJnDpChKo7QwnMd9ENx3wKBYBz8SnOtUgGHlzrBNBAlGE4hv64gL+IeLNYLmphZi7HpWWjwegPBWniNPjDeypYyf9eN1GLHsgMHOhckj1iO01RV5IXIE6R5/nlubOoLQ/J956fbj3vXqwYlI66ipgnYvgiDtmnQ55uXBSD0NRtn1OrMAKJGdE0sAcacyIvVwvy/crUG1Ag6v6qsfpb92ssbf5+LyL6z0f7poAEzUlT1UUj6e8XOTcu+yFk0DMnTLT1irnrS4yM90qr+LGt1rK41GM= Received: from linaro.org ([62.231.97.49]) by smtp.gmail.com with ESMTPSA id y19-20020a170906071300b00a26d20a48dasm656755ejb.125.2024.02.02.00.55.29 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 02 Feb 2024 00:55:30 -0800 (PST) Date: Fri, 2 Feb 2024 10:55:28 +0200 From: Abel Vesa To: Manivannan Sadhasivam Cc: Konrad Dybcio , Bjorn Andersson , Lorenzo Pieralisi , Krzysztof =?utf-8?Q?Wilczy=C5=84ski?= , Rob Herring , Bjorn Helgaas , linux-pci@vger.kernel.org, linux-arm-msm@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH v2 2/2] PCI: qcom: Add X1E80100 PCIe support Message-ID: References: <20240129-x1e80100-pci-v2-0-a466d10685b6@linaro.org> <20240129-x1e80100-pci-v2-2-a466d10685b6@linaro.org> <30360d96-4513-40c4-9646-e3ae09121fa7@linaro.org> <20240202084806.GF2961@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: <20240202084806.GF2961@thinkpad> On 24-02-02 14:18:06, Manivannan Sadhasivam wrote: > On Fri, Feb 02, 2024 at 10:41:03AM +0200, Abel Vesa wrote: > > On 24-02-01 20:20:40, Konrad Dybcio wrote: > > > On 29.01.2024 12:10, Abel Vesa wrote: > > > > Add the compatible and the driver data for X1E80100. > > > > > > > > Signed-off-by: Abel Vesa > > > > --- > > > > drivers/pci/controller/dwc/pcie-qcom.c | 1 + > > > > 1 file changed, 1 insertion(+) > > > > > > > > diff --git a/drivers/pci/controller/dwc/pcie-qcom.c b/drivers/pci/controller/dwc/pcie-qcom.c > > > > index 10f2d0bb86be..2a6000e457bc 100644 > > > > --- a/drivers/pci/controller/dwc/pcie-qcom.c > > > > +++ b/drivers/pci/controller/dwc/pcie-qcom.c > > > > @@ -1642,6 +1642,7 @@ static const struct of_device_id qcom_pcie_match[] = { > > > > { .compatible = "qcom,pcie-sm8450-pcie0", .data = &cfg_1_9_0 }, > > > > { .compatible = "qcom,pcie-sm8450-pcie1", .data = &cfg_1_9_0 }, > > > > { .compatible = "qcom,pcie-sm8550", .data = &cfg_1_9_0 }, > > > > + { .compatible = "qcom,pcie-x1e80100", .data = &cfg_1_9_0 }, > > > > > > I swear I'm not delaying everything related to x1 on purpose.. > > > > > > > No worries. > > > > > But.. > > > > > > Would a "qcom,pcie-v1.9.0" generic match string be a good idea? > > > > Sure. So that means this would be fallback compatible for all the following platforms: > > > > - sa8540p > > - sa8775p > > - sc7280 > > - sc8180x > > - sc8280xp > > - sdx55 > > - sm8150 > > - sm8250 > > - sm8350 > > - sm8450-pcie0 > > - sm8450-pcie1 > > - sm8550 > > - x1e80100 > > > > Will prepare a patchset. > > > > NO. Fallback should be based on the base SoC for this platform. Right, so since the SM8250 is the one that has the core version 1.9.0, should we just the sm8550 compatible as fallback for all other ones. Yes, I know that there is SM8150, which has core version 1.5.0, but it is still 1.9.0 compatible. Or maybe we should rename the config to 1_5_0 and have the sm8150 compatible as fallback for all these platforms. > > - Mani > > -- > மணிவண்ணன் சதாசிவம்