Received: by 2002:a05:7412:8598:b0:f9:33c2:5753 with SMTP id n24csp414950rdh; Tue, 19 Dec 2023 02:56:31 -0800 (PST) X-Google-Smtp-Source: AGHT+IGDxaCiz2oH35PYVcrCMq0SCV1PW+bGrtc0yooNUThlBNKEhNdJcxCxc/bTFQLC4DZjOv0t X-Received: by 2002:a17:90a:2acd:b0:286:6cd8:ef02 with SMTP id i13-20020a17090a2acd00b002866cd8ef02mr1014652pjg.26.1702983390990; Tue, 19 Dec 2023 02:56:30 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1702983390; cv=none; d=google.com; s=arc-20160816; b=KrR9EIsk5DRpzg2k+vK5Cg9fAd6SRmvuGe3M9D+dpKBEdGktK35eBPAE73WoZp8NGB vqApxCcYqkm2QFkSOE2844ZbVbTbTVKJTyFPLAII25u26AeBubV17iQZWObqFuBfezXF 2U7IiCEDymgnneH35sn1fSWxtCx+MrEZNOdaU4a9a3hT/aCTXJdoSFsPT/hwojRNJg3b 2Q+Hjf4xS3i7KwrC6/OrfqcoJjE3Aj/0gt/YFadrI88iR/9p4ZhGPdyN9btHkfeSLO+I YW1J4zHX1yevqxfr0vujI75fb8DEOOgdr3M1RXWBBj9pcHNuUxoMYLkpoE5bIhkHu0cX P/KA== ARC-Message-Signature: i=1; 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=anBAHVOVvM4j+dShGvK/3C4/G3dScYLizOG8GPTA2U8=; fh=WomoC/qk7qEewcoLSdjgsY+VaqUfB8shfCcrABm9/8w=; b=d04up1uSjPBE6nB9Y2GUPMFj6vMqVHurnPhQJ99J89Cx45QLxlH/VQ+JIBXCg/rKQS 9x/1aVfCs4A+x4U0H+2NRJsMCP5bjL6qINnK6IOGsvY3FulbwesvRyv9xrB8gTejlfZy by+D2Q7D3A7xGr4gxZUpaMalNu5fPgJPClGn+4BbVnLkn8IncIVtubRqeJ9x7QDsSK7U 8hczv5fxo9pW3i2jJB0Y/WaTkwVEGmy0tMInH2EyJT1f8B6LkSwqaBunAC3Ld+m+6okA 7ghN3vaBNb4bzsRVgikWUkdSnM4NvVSq3ZvSo+q29ZSLsOBxCLIbc3Bg/uQb+O/ut1Qh 8uUQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=RlnnZaX1; spf=pass (google.com: domain of linux-kernel+bounces-5037-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-5037-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. [147.75.48.161]) by mx.google.com with ESMTPS id g3-20020a17090adb0300b00286d8cf5b5dsi970294pjv.149.2023.12.19.02.56.30 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 19 Dec 2023 02:56:30 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-5037-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) client-ip=147.75.48.161; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=RlnnZaX1; spf=pass (google.com: domain of linux-kernel+bounces-5037-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-5037-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 6C664B217BB for ; Tue, 19 Dec 2023 10:54:29 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 2D2E114F8A; Tue, 19 Dec 2023 10:54:20 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="RlnnZaX1" X-Original-To: linux-kernel@vger.kernel.org Received: from mail-yb1-f173.google.com (mail-yb1-f173.google.com [209.85.219.173]) (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 B3EFB1872 for ; Tue, 19 Dec 2023 10:54:17 +0000 (UTC) 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-yb1-f173.google.com with SMTP id 3f1490d57ef6-dbcfd61bd0fso3010429276.1 for ; Tue, 19 Dec 2023 02:54:17 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1702983257; x=1703588057; 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=anBAHVOVvM4j+dShGvK/3C4/G3dScYLizOG8GPTA2U8=; b=RlnnZaX1cZh32yt9vdi51YrrubUlkDHEkeGYN+h1D5Hw5isy+bpYk7a+bkS2F8wauk yQ6Ul4pwCliIub703X9XF8T8/UOG99ndjkfT0Js9EKfksljKR0TikDO+DWsKQCxBkabn iS6AsJzSRjt1nuGoBN2xAsOZZ/doEyG7rUVPe87Q4frc+HLfM+1odzicdwYdy1rcOMZH nQx5Q4W1vJpl4n8sNGoj8esyiBoMlMoADAN7HKfNDxugVnHhP5AuwxggU8OW8FX/mGjL 6KiKoFZMRoh8l0JDfPB//83YMJGWueCsgd759/wEviyDYq2Rw62EvsSNnSJ7xnCSGYef x/Kw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1702983257; x=1703588057; 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=anBAHVOVvM4j+dShGvK/3C4/G3dScYLizOG8GPTA2U8=; b=fYPX+O2Le8T6wjCxy5FvUwwLwl69EZFs8qGyYlt/EUEzvFgKLqlhskESz76N70KHt2 LCwAhuBjvBmwYiuMvypHymz2ZM6maGIMlc+md0Qd1n+lQ6fy8VANsSuDDsFGJNyB8pe3 zS7YDxotcYTWnzdK8RyjLUyP9vUX3z3bPlG0+pHPLae7VD2/nIx6mMXqlnyilBPzTJdE Hbv+gLXzwkA+8m4k9s62rIyi1OcHw9ifd4C8eV6h5suP1dpFRJ94SE7eYeKEkVGHPkqF PmWdDFEaDaUbkmkxktMr5PSHpwXFCkbrbEm1Dfo7BunRYiWchVfR0AR5vIQ3xoYWE6bB HPvg== X-Gm-Message-State: AOJu0Yx9tJ/tDz/pqqWmxz5F+f6jsNAjH5bgpT5sKm/Dwb6oYabZBQrK 88ls0ZR+XgZDN12NhBQIlvOjncJ2IOiDWbo7FrmAnoZeAA6ypw== X-Received: by 2002:a25:4294:0:b0:dbc:fbba:2e6c with SMTP id p142-20020a254294000000b00dbcfbba2e6cmr487272yba.45.1702983256719; Tue, 19 Dec 2023 02:54:16 -0800 (PST) Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 References: <20231219005007.11644-1-quic_tengfan@quicinc.com> <20231219005007.11644-5-quic_tengfan@quicinc.com> In-Reply-To: From: Dmitry Baryshkov Date: Tue, 19 Dec 2023 12:54:05 +0200 Message-ID: Subject: Re: [PATCH v3 4/6] arm64: dts: qcom: qcs8550: introduce qcs8550 dtsi To: "Aiqun Yu (Maria)" Cc: Krzysztof Kozlowski , Tengfei Fan , andersson@kernel.org, konrad.dybcio@linaro.org, robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, conor+dt@kernel.org, linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Content-Type: text/plain; charset="UTF-8" On Tue, 19 Dec 2023 at 12:20, Aiqun Yu (Maria) wrote: > > > > On 12/19/2023 6:01 PM, Krzysztof Kozlowski wrote: > > On 19/12/2023 10:57, Aiqun Yu (Maria) wrote: > >> > >> > >> On 12/19/2023 3:02 PM, Krzysztof Kozlowski wrote: > >>> On 19/12/2023 01:50, Tengfei Fan wrote: > >>>> QCS8550 is derived from SM8550, it is mainly used in IoT scenarios. > >>> > >>> What are the differences? You need to describe the hardware, you have > >>> entire commit msg for something useful which will avoid such comments > >>> from reviewers. > >>> > >>>> > >>>> Signed-off-by: Tengfei Fan > >>>> --- > >>>> arch/arm64/boot/dts/qcom/qcs8550.dtsi | 6 ++++++ > >>>> 1 file changed, 6 insertions(+) > >>>> create mode 100644 arch/arm64/boot/dts/qcom/qcs8550.dtsi > >>>> > >>>> diff --git a/arch/arm64/boot/dts/qcom/qcs8550.dtsi b/arch/arm64/boot/dts/qcom/qcs8550.dtsi > >>>> new file mode 100644 > >>>> index 000000000000..254657f46c5e > >>>> --- /dev/null > >>>> +++ b/arch/arm64/boot/dts/qcom/qcs8550.dtsi > >>>> @@ -0,0 +1,6 @@ > >>>> +// SPDX-License-Identifier: BSD-3-Clause > >>>> +/* > >>>> + * Copyright (c) 2023, Qualcomm Innovation Center, Inc. All rights reserved. > >>>> + */ > >>>> + > >>>> +#include "sm8550.dtsi" > >>> > >>> This is a weird file. I thought qcs8550 has differences from sm8550, > >>> e.g. lack of modem, so why do you claim you have here MPSS? > >> MPSS here in qcs8550 is a GPS only MPSS. > > > > Is it different or the same? Is the interface the same? So many > > questions and so little information. You have entire commit msg to > > explain this. > we can add all current email information into the commit message in next > patchset. > > > >> > >> QCS8550 will have a different firmware release with sm8550, and it will > >> have different memory reserved for the firmware to be used. > >> While firmware release along with memory map was not settled down yet. > >> That's why currently qcs8550.dtsi is an "empty file" and only include > >> sm8550.dtsi. As long as the firmware release is settled down, we will > >> have more detailed different node here. > > > > So the DTS is not really usable now? > curent qcs8550.dtsi is an "empty file" which is identical to "sm8550.dtsi". > While qcs8550-aim300-itot.dts is currently used with a "temporary > reserved memory" for those engineer qcs8550 firmware for boot up and > limited function verify. You know, this doesn't work this way. Once the board dts file lands into the kernel, it _must_ be supported for quite a while. So if you land your 'temporary' memory map, you will be forced to stick to it forever. If you want to share the interim state, you _MUST_ state that in the cover letter and you _MUST_ mark your patches in a sufficient way so that they can not be merged by accident. > So the idea here is to postpone only the firmware related reserved > memory part. And open an "empty file" qcs8550.dtsi for common which can > be used for other board like qcs8550-rb5-gen2. Unfortunately, this means NAK for this patch and for the whole series. Please finish the memory map first. You can not change that after the patches have been landed in the kernel. And BTW, as we have landed the qcm6490-rb3gen2, could you please drop the second dash for the sake of uniformity? > >> > >> By the way, RB5 gen2 will also relies on the current qcs8550.dtsi, since > >> it is using the same qcs8550 soc, and will use the same firmware release. > >> > >> We have patch version2 remove the qcs8550.dtsi, and have SOM dtsi > >> qcs8550-aim300.dtsi include the sm8550.dtsi. While after discussion, our > >> understanding is that we can have an qcs8550.dtsi like this. Feel free > >> to let us know if it is not right understanding. > >> > >>> > >>> It's really confusing now. > >> > >> We can have a syncup to clear the confusing point if needed. :) > >>> > > > > The code and commit msg are confusing. I need to keep asking you to get > > any information. -- With best wishes Dmitry