Received: by 2002:a05:6358:c692:b0:131:369:b2a3 with SMTP id fe18csp591255rwb; Thu, 27 Jul 2023 18:33:05 -0700 (PDT) X-Google-Smtp-Source: APBJJlGK+iTlTH7AV5/RVX+1PU6zEikuSZMP+xDshFHbofhPcMFA1itkYY+EndpqTQY2ya9orjjq X-Received: by 2002:a17:906:3059:b0:992:7e1f:8419 with SMTP id d25-20020a170906305900b009927e1f8419mr801163ejd.2.1690507985017; Thu, 27 Jul 2023 18:33:05 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1690507985; cv=none; d=google.com; s=arc-20160816; b=qnBbEHzxK4Eu1oF8Wdi5aOPK9px7MEVDXtEd80iwzhhqHMlBPXhZWtew0zT69w/Xsn ZcxsGPHr+r4pRIcZ99XEGN55HPZaCiRBV4N5A9cs1gazY2R95xcTVjt/zIZWZhBzV65S 4U7Zcsk1E3rb5uwlBQaDOil2TjvDMJOyYFmA30Ve7+dZvKDLDm80RxV9AnDe46PX+whj sEq8aHxmpOic8bzkSW8oCHfWHZcT5d0ieZfCMdr3VZwU+75fNtcCK7bhY5WGE3jVGJhL Ops3eiD2ZbXM9F3EW2Gb9r7JfnZggB1W0dI63xfNdZq40xSHJ3Aq3q2+UNcP4BBh6uGL Qivg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :references:cc:to:subject:user-agent:mime-version:date:message-id :dkim-signature; bh=yhesW81fAat0xgAurgLwRlmbZVyhL1Btu2fPBQrGZFE=; fh=0oRXyGKmQyGCqjqhgX0XQT9j4ZPEsaySuxf539XTn3o=; b=isHlrfnbiy6YgEQxxhUYKf7lmWzk7YalvytwsrBIrxUZsWO8iGUh6mobGXFIpU6uhr B0zMJP32lqwYGKORqrUXVVZG9wqtpU46R8daPg6dM/JXXDXditKZAtFoXUPMcY4Gg2TW apEQh6TM1zEeZ56c7ayrtdJmHyCxZ50VAzRKi9qXFGOmdkB1A0wXSEa8EcdQpkZ0NLT4 ZZfzHf9W6FWSnxqTtL+5Qyx9RQubwpJ+4hBfYQRAlbYUqG8hG5r3YViIv3qgtOLgbTDg hHUVdvhVtL0w9aNHC8LVEfWpTjAeyVvFAFcPf9P6Igk7WS2YITVX9ipxPZMSz4cp6FO7 FF7g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=XxGJHYkE; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=quicinc.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id r5-20020a170906c28500b00992c5cf17f9si1755013ejz.43.2023.07.27.18.32.40; Thu, 27 Jul 2023 18:33:05 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=XxGJHYkE; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=quicinc.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230395AbjG1AtX (ORCPT + 99 others); Thu, 27 Jul 2023 20:49:23 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36520 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229515AbjG1AtV (ORCPT ); Thu, 27 Jul 2023 20:49:21 -0400 Received: from mx0a-0031df01.pphosted.com (mx0a-0031df01.pphosted.com [205.220.168.131]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 84B4D2D5E; Thu, 27 Jul 2023 17:49:20 -0700 (PDT) Received: from pps.filterd (m0279867.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 36S0Ul55009544; Fri, 28 Jul 2023 00:49:14 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=quicinc.com; h=message-id : date : mime-version : subject : to : cc : references : from : in-reply-to : content-type : content-transfer-encoding; s=qcppdkim1; bh=yhesW81fAat0xgAurgLwRlmbZVyhL1Btu2fPBQrGZFE=; b=XxGJHYkEk2CWyhfmJt2gX1XjivtqTkNvYmQWnTlRGZvJEbi5ee4C4u9mg7sN+9jiD2px 9ekmnWwuIKb0MxzLpixaZK4AmJaMyUeKo+ITkvNomezukpZkOP8qjKpUZbyUHOhADRwu hAjyinQvYKzmvHQU/0cJrBLl0zLjpatPkcRrB2zXdD3UxOZI+T0nNkrsqDqMujTMf6Ui SZ4nHQ6qlAAqXzzmLsTmEqqdxV79i2+UhQ20pjLxkHMpipbvMVv/sGnwQnWVCMzbGi3M vU8DxGx4KhhoDYlsJKPdDeOMyTF1HkvFcX5fLTV7vDTEjXBhqcKN+bAGV2tPFoKxameD dg== Received: from nalasppmta03.qualcomm.com (Global_NAT1.qualcomm.com [129.46.96.20]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 3s3krna91f-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Fri, 28 Jul 2023 00:49:14 +0000 Received: from nalasex01a.na.qualcomm.com (nalasex01a.na.qualcomm.com [10.47.209.196]) by NALASPPMTA03.qualcomm.com (8.17.1.5/8.17.1.5) with ESMTPS id 36S0n7fH023348 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Fri, 28 Jul 2023 00:49:07 GMT Received: from [10.239.132.204] (10.80.80.8) by nalasex01a.na.qualcomm.com (10.47.209.196) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.1118.30; Thu, 27 Jul 2023 17:49:03 -0700 Message-ID: <50e73c8b-97d3-9db9-a2ab-2f9e0deee8e5@quicinc.com> Date: Fri, 28 Jul 2023 08:49:01 +0800 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH v2 4/6] arm64: dts: qcom: Add base SM4450 QRD DTS To: Konrad Dybcio , Krzysztof Kozlowski , , , , CC: , , , , , , , , , References: <20230727023508.18002-1-quic_tengfan@quicinc.com> <20230727023508.18002-5-quic_tengfan@quicinc.com> <518770c2-05ad-a2a2-4e73-7ceb30687614@linaro.org> <3ba67502-1781-2abf-32dc-254796ce7621@linaro.org> From: Tengfei Fan In-Reply-To: <3ba67502-1781-2abf-32dc-254796ce7621@linaro.org> Content-Type: text/plain; charset="UTF-8"; format=flowed Content-Transfer-Encoding: 8bit X-Originating-IP: [10.80.80.8] X-ClientProxiedBy: nasanex01a.na.qualcomm.com (10.52.223.231) To nalasex01a.na.qualcomm.com (10.47.209.196) X-QCInternal: smtphost X-Proofpoint-Virus-Version: vendor=nai engine=6200 definitions=5800 signatures=585085 X-Proofpoint-ORIG-GUID: _66CA6ost_kAFKz2S3Zyi7FdorWhmHoZ X-Proofpoint-GUID: _66CA6ost_kAFKz2S3Zyi7FdorWhmHoZ X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.254,Aquarius:18.0.957,Hydra:6.0.591,FMLib:17.11.176.26 definitions=2023-07-27_10,2023-07-26_01,2023-05-22_02 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 clxscore=1015 impostorscore=0 adultscore=0 suspectscore=0 mlxlogscore=999 priorityscore=1501 bulkscore=0 phishscore=0 lowpriorityscore=0 malwarescore=0 mlxscore=0 spamscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2306200000 definitions=main-2307280006 X-Spam-Status: No, score=-2.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_LOW,SPF_HELO_NONE, SPF_PASS,T_SCC_BODY_TEXT_LINE,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 在 7/27/2023 9:08 PM, Konrad Dybcio 写道: > On 27.07.2023 10:49, Tengfei Fan wrote: >> >> >> 在 7/27/2023 3:59 PM, Konrad Dybcio 写道: >>> On 27.07.2023 08:56, Krzysztof Kozlowski wrote: >>>> On 27/07/2023 04:35, Tengfei Fan wrote: >>>>> Add DTS for Qualcomm QRD platform which uses SM4450 SoC. >>>>> >>>>> Signed-off-by: Tengfei Fan >>>>> --- >>>>>   arch/arm64/boot/dts/qcom/Makefile       |  1 + >>>>>   arch/arm64/boot/dts/qcom/sm4450-qrd.dts | 18 ++++++++++++++++++ >>>>>   2 files changed, 19 insertions(+) >>>>>   create mode 100644 arch/arm64/boot/dts/qcom/sm4450-qrd.dts >>>>> >>>>> diff --git a/arch/arm64/boot/dts/qcom/Makefile b/arch/arm64/boot/dts/qcom/Makefile >>>>> index 337abc4ceb17..db805d0929c8 100644 >>>>> --- a/arch/arm64/boot/dts/qcom/Makefile >>>>> +++ b/arch/arm64/boot/dts/qcom/Makefile >>>>> @@ -186,6 +186,7 @@ dtb-$(CONFIG_ARCH_QCOM)    += sdm850-lenovo-yoga-c630.dtb >>>>>   dtb-$(CONFIG_ARCH_QCOM)    += sdm850-samsung-w737.dtb >>>>>   dtb-$(CONFIG_ARCH_QCOM)    += sdx75-idp.dtb >>>>>   dtb-$(CONFIG_ARCH_QCOM)    += sm4250-oneplus-billie2.dtb >>>>> +dtb-$(CONFIG_ARCH_QCOM)    += sm4450-qrd.dtb >>>>>   dtb-$(CONFIG_ARCH_QCOM)    += sm6115-fxtec-pro1x.dtb >>>>>   dtb-$(CONFIG_ARCH_QCOM)    += sm6115p-lenovo-j606f.dtb >>>>>   dtb-$(CONFIG_ARCH_QCOM)    += sm6125-sony-xperia-seine-pdx201.dtb >>>>> diff --git a/arch/arm64/boot/dts/qcom/sm4450-qrd.dts b/arch/arm64/boot/dts/qcom/sm4450-qrd.dts >>>>> new file mode 100644 >>>>> index 000000000000..04ad1dd4285a >>>>> --- /dev/null >>>>> +++ b/arch/arm64/boot/dts/qcom/sm4450-qrd.dts >>>>> @@ -0,0 +1,18 @@ >>>>> +// SPDX-License-Identifier: BSD-3-Clause >>>>> +/* >>>>> + * Copyright (c) 2023, Qualcomm Innovation Center, Inc. All rights reserved. >>>>> + */ >>>>> + >>>>> +/dts-v1/; >>>>> + >>>>> +#include "sm4450.dtsi" >>>>> +/ { >>>>> +    model = "Qualcomm Technologies, Inc. SM4450 QRD"; >>>>> +    compatible = "qcom,sm4450-qrd", "qcom,sm4450"; >>>>> + >>>>> +    aliases { }; >>>>> + >>>>> +    chosen { >>>>> +        bootargs = "console=hvc0 earlycon=hvc0 hvc_dcc.enable=1 cpuidle.off=1"; >>>> >>>> No earlycon, no hvc.enable (there is no such parameter), no cpuidle.off >>>> (again don't add fake stuff). So the only suitable argument is console, >>>> but this should be actually used via stdout path, although it seems >>>> there is no device node for such usage? >>> hvc totally comes from Qualcomm downstream and all the Gunyah >>> shenanigans.. >>> >>> Tengfei, please ensure the patches are tested against linux-next >>> with no additional changes or modules, with a clean Linux userspace >>> (or at least a ramdisk). >>> >>> Konrad >> Hi Konrad, >> All these patches are tesed on linux-next, and get DCC console. >> For support this test, I did a temporal for enable CONFIG_HVC_DCC(this change haven't push to upstream). > So what you've said is that you've not tested against linux-next + this patchset. > > You're supposed to `git checkout linux-next/master && (pick the series > you're sending)` and test just that. No less, no more. Preferably with > the upstream arm64 defconfig. > > Konrad Hi Konrad, Sorry, my explain isn't enough before. My tested against linux-next + this patchset, all my test code from upstream linux-next, haven't downstream code related. About the temporal patch which enable CONFIG_HVC_DCC, because we haven't enable uart, so I enable CONFIG_HVC_DCC for verify if we can get DCC console through "make ARCH=arm64 menuconfig" on linux-next/master, but this patchset haven't contain this enable CONFIG_HVC_DCC patch, because upstream seems don't want to enable CONFIG_HVC_DCC defaultly. Besides these, I all do dtbs_check and checkpatch.pl check, all these check passed. -- Thx and BRs, Tengfei Fan