Received: by 2002:a05:7412:bbc7:b0:fc:a2b0:25d7 with SMTP id kh7csp701071rdb; Fri, 2 Feb 2024 00:54:08 -0800 (PST) X-Google-Smtp-Source: AGHT+IEXRLwGaR93RWNIr9YEfa3mG07YJOovHcR6FjGfDbAHlUq+3HJAzUwtY2tLWgOAv9Scnp8+ X-Received: by 2002:a17:902:fc50:b0:1d9:7c1e:2f33 with SMTP id me16-20020a170902fc5000b001d97c1e2f33mr142338plb.39.1706864048583; Fri, 02 Feb 2024 00:54:08 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1706864048; cv=pass; d=google.com; s=arc-20160816; b=fPB3QKjcL8Kd0dUsaCqkabZbhyUO7+0G1cqJPvp9AdFXPpe0xX2R037Xqq/qwWLnT9 RxlAazj1sK/2h79LUAuoxqEEezY+vSI7MpDWpHf0pEBA++8pU8+9qI6aS0oKLp6il0tx bUQXHaNpz7oF4cqDewFWpi64Da1+SKl1wZvedrFP6uzJAhoufmyOZdbHguAG1tqfdBaT tJxcjVtknlvdfP5kFrU3rIuXWt/sJfr7wTtCdy9667MILAfx8DCFWEAkYDkTHhpWEHg7 EB3eQ3rRQwpmzkYg+Sj1GLgakUY1HdkbGlwV06PUQ5x8cb+UUgZpBXA4viAcnD0X9IT0 h1TQ== 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=35GTgs2Y35QmPxIciJppfgdroGdGch7dNuzJo/gOG+Q=; fh=pYGzUygdZYxeg5rgNy/tCnMzKyabqFnm6RlxWvicU9U=; b=0Tnx7QB6CUwyDdGGDj4ingrsLdP6X8sCrQS8Q4xKlhFkrGAqWfha/5qrlPNQUQccXw UaVln0Wb7IBnvz4w1RlSTj6G69ERhb4rQtjTO6Zs3ev5eqmXQCMnq9NvT5gTijyK0Wvj flNkp0bzYn7g+tt9hfRwCUUGwOIXwQGZ+QSFangFHHRji4pH2YgPCI5tkGQc4Mcr4x4f 1EcC2KY1V1pzW+3Ol2xqjs/43is+0M6bXadtVZGRGPljtr+VSebndOM9hbED00ASmV2B HMCKdlAW5c9D7tNoUi2qz1e6xxdYzGqE2g/7wGk3L5JSmBnjshBYLwulAv4pB7Uv5kGV RmXA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=LDYHmxt8; 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-49508-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-49508-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; AJvYcCV7fTZXew/qJ7UN4V7Li6MGRRKJIA+al7slVhW3joG7P0XgCICg4rQXo+1W0rMre8oLkY3H5uIkjlzhu1BvKRBDt4rX+HCFuKnspxl9PQ== Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [139.178.88.99]) by mx.google.com with ESMTPS id a11-20020a170902ee8b00b001d9480d9091si1291134pld.484.2024.02.02.00.54.08 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 02 Feb 2024 00:54:08 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-49508-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) client-ip=139.178.88.99; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=LDYHmxt8; 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-49508-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-49508-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 43363297546 for ; Fri, 2 Feb 2024 08:51:53 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 8ADB1604DC; Fri, 2 Feb 2024 08:51:47 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="LDYHmxt8" Received: from mail-ed1-f53.google.com (mail-ed1-f53.google.com [209.85.208.53]) (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 EC40F60873 for ; Fri, 2 Feb 2024 08:51:44 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.208.53 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706863906; cv=none; b=UdmNL6X6LB+D0MG3ObAWfcslJV6ijOm/SGrqnlJWCy5a3D8tdT5WJ/f0jSKiAiFwodAk9G+kdBpmqiNYjQjnOz9EEx0rBOCeCUWpVWEawLIcDF/BF+4mRo6QVB/FHRZiqJVkn6sJIaiZ2OUAIls/pcZ7nckg9hj5HGwpENdV7W4= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706863906; c=relaxed/simple; bh=6ouAx7WumWAZr6bp6pEvbPCTMqysvVYKs5zAzB6pwmI=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=Qh9jC+ZmhsMh7oDT9IEPFo+z6FCYM9oPgfNyOuZTFvmo7jXvvduNz13tRRZpRksglGducXf+/YE9pYhYSGqGl5iLQj4Zjue9+fwSPa+Goo306kDs5VYdrmXooAWwyl5gJapdue4P+F5SYDNQsSj6LANFKWdnv7AOMviTbg6CySE= 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=LDYHmxt8; arc=none smtp.client-ip=209.85.208.53 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-ed1-f53.google.com with SMTP id 4fb4d7f45d1cf-55fcceb5f34so1436149a12.3 for ; Fri, 02 Feb 2024 00:51:44 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1706863903; x=1707468703; 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=35GTgs2Y35QmPxIciJppfgdroGdGch7dNuzJo/gOG+Q=; b=LDYHmxt8gtY/W2UhDuDQUNQa54E29S99CqRrk5XSaoqiTpxeE4OnjbVcxMzoMOHlSs /Dzp/pyOigkYZg2An/5i7D5OqAR0i6OHnoyJ2jubjk8b7hpBWrACUnmyOSjT0BR54Gpg QhN7tQunzGbAeGUbnNVBR4TgX+n2SceCdPuQQLx5PeNP1fusVuZzAV6ooykseNfD7o1y bLOChK/9QG2irAsnSJtlzVqnDnrEgT6Kc4FEO7E+6p9+KJYqXzObS5cx+dNHQoMX4s9q 88GAh1bzHrARmtKChUALHuPHJkOAnYMNoLUa/+IqVd0a9IpA9xd/dalmXDQXunmCPngx jeOQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1706863903; x=1707468703; 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=35GTgs2Y35QmPxIciJppfgdroGdGch7dNuzJo/gOG+Q=; b=ja7yA6wAtsFiBV/d562L+VQDBLQG5JRb0wHn2j6dyr7wQJusUzsJGdmzJ00NkJpPP4 wbDDz16ySzDY/7MMfWnNgMkTSFNn8SVn1EvECvAFBYF8/9/2GZlGBkWeCODxinIkaze+ hxpS7tMfzrSZk5j/ZvTlOa5T2xSJu/kiDc32yl1YkJF2Kp65u3IqGEc0LT/SuSM0MmjO nrpeOAMZhcbKtIl5VuzDCxNj90TrsbMaj5/Y9lNS0/yFTQmkkF5C2cFbXZZw/2kg44JQ WHJqu2/YXJlK02Oh93XvR6UzZNz1VrpE1nehGA7u0mvLPltvGP/9PRr6HOiBanENi9C7 0hVw== X-Gm-Message-State: AOJu0Yysb3/KW95wxsVyZVWgqrpK2wD/Q/4doQJGxQYtt9MpMbIn2dCk FvWi6BKyPiChI4+hoK1/BYhFNN5aA6zrTpi4RxwQ1yl4VNiO1lUUBLuyZgVIZxg= X-Received: by 2002:a17:906:e48:b0:a35:7b14:dc50 with SMTP id q8-20020a1709060e4800b00a357b14dc50mr4963572eji.17.1706863903099; Fri, 02 Feb 2024 00:51:43 -0800 (PST) X-Forwarded-Encrypted: i=0; AJvYcCWkNFyc47xmaQn6AvATqFFtH7zi/Gjq5bW9iGeDp+mjqEkj548XM7NuVtwOlGRbx1SjQod1sWD0XPkcr7mZI4zMyfT03gP/Q9llUiDL+rP2kFCUxyfTZI5647d8v1jVDaI89KJEBslD3a/91FpngPF0ANtu+kbpm+Qp85n7EktIvG4iak7VEBFWJp++q13KnVxwgkcUPSjXshOI7vHO8as9T2TyGOrwzJfnnVFtChoDb049tP4tYHJ6uxePnW1r9uzkr962bfXSbIcb6I/l4WmcUm5lkJPIciHv5QHsGVjYfa0kIS/pRFoPgHcF6ZCe+Eb3ltNn6u1qVFz45GMeOEu5IWAFu62OuF+1 Received: from linaro.org ([62.231.97.49]) by smtp.gmail.com with ESMTPSA id un1-20020a170907cb8100b00a35cd148c7esm653476ejc.212.2024.02.02.00.51.41 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 02 Feb 2024 00:51:42 -0800 (PST) Date: Fri, 2 Feb 2024 10:51:41 +0200 From: Abel Vesa To: neil.armstrong@linaro.org Cc: Konrad Dybcio , Bjorn Andersson , Manivannan Sadhasivam , 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> <0becd323-6104-4c61-80ce-935c55f9a66f@linaro.org> 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: <0becd323-6104-4c61-80ce-935c55f9a66f@linaro.org> On 24-02-02 09:44:23, neil.armstrong@linaro.org wrote: > On 02/02/2024 09:41, 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. > > Honestly I don't know from where comes the 1_9_0 here, I didn't find a match... none of the IP version matches. > > So I consider this "1_9_0" is a software implementation, not a proper IP version so I'm against using this. This is the core version starting with SM8250. All the other ones are compatible with it, from configuration point of view. > > But, using close cousins as fallback that are known to share 99% of IP design is ok to me, this is why I used the sm8550 as fallback because the IP *behaves* like the one in sm8550. > > Neil > > > > > > > > > Konrad > > >