Received: by 2002:a05:6358:c692:b0:131:369:b2a3 with SMTP id fe18csp2418868rwb; Thu, 27 Jul 2023 07:02:49 -0700 (PDT) X-Google-Smtp-Source: APBJJlH8c2Tz3T2sdg5yKx3KUfu7JLlM7HfmOsdU4mDpS5gv/HtrmymjCgs94BZ8VX23+1y1k5aq X-Received: by 2002:a05:6e02:1093:b0:346:8b4:34c with SMTP id r19-20020a056e02109300b0034608b4034cmr5077958ilj.16.1690466568717; Thu, 27 Jul 2023 07:02:48 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1690466568; cv=none; d=google.com; s=arc-20160816; b=hwbbdPoCtHq0jKgfCxVT8a/A7aXj86InyN7bU7jjduHLwImGfG2WK1FOjZ/fH0xYGA GIaIKn+i9z9Y4xcg11rjo3pwr6yErzHeHNCeId7MfDGv+AL8U8aHeZlnUS/491VJ2ST0 Nl+o3z+uF3vn4vO34coElppJy5cxi9TAhLqLeLFUmEbelMXBIkMGFIIJ9ZNGCPiO1GFu vZLWeketlmk5VOxnDi4Kl6FU9sjLjyRC/DVjFv+9H3MLX4TNhZOwUtS7USkRk3Mub1F6 7Yc3IDvJDWITLH5Esx1J6be54dStpO36lIgE/InCVaG+5MbZFyXgtTZmks9WqEWngiLO uiGw== 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:autocrypt :from:references:cc:to:content-language:subject:user-agent :mime-version:date:message-id:dkim-signature; bh=6Kd6oHs2QTvmJWiIALNrAWDoU2wpAabwv5dblMxirYg=; fh=jb+s76ws+Yh6/J60vlIZl/i0bH1nPbT3gT0u8SI5wzM=; b=jXwSH6IAA2msfagArDYmzirdxD6mbYUDKgpNg4X9jxn27qwMbYkuZq3P7lP8HZVCg/ 8bUT77i08V6Jd2ExzFfSNio0arwGqoPCgB3nDH1UFK0SBjtkaWYwS3r/eE0vLzgbgN2/ l/S6pW3Par9xFFyxvtasNvyHura2PkHoa93SwBNN0OW4GXZK7YwNRVx0ZwZ2PX/2LSQg XQykBJv5/Oi3yGQl4h6dd3SekYX3iQtF1Ja8YHXb26tDPLq8uu88zAw4ndcDPyRsuv1J i9ToqN1KiTFJhl5Wwq/mt99vXTSSLbisrX4Wek9JRuiKBTfFPXhjocv5Y4mxEiSeNB+R IEEw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b="b/LUujK6"; 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=linaro.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id na18-20020a17090b4c1200b002683278605dsi3059510pjb.89.2023.07.27.07.02.36; Thu, 27 Jul 2023 07:02:48 -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=@linaro.org header.s=google header.b="b/LUujK6"; 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=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232019AbjG0NIm (ORCPT + 99 others); Thu, 27 Jul 2023 09:08:42 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:53494 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231817AbjG0NIk (ORCPT ); Thu, 27 Jul 2023 09:08:40 -0400 Received: from mail-lj1-x22b.google.com (mail-lj1-x22b.google.com [IPv6:2a00:1450:4864:20::22b]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 386251FC4 for ; Thu, 27 Jul 2023 06:08:39 -0700 (PDT) Received: by mail-lj1-x22b.google.com with SMTP id 38308e7fff4ca-2b9aa1d3029so13763041fa.2 for ; Thu, 27 Jul 2023 06:08:39 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1690463317; x=1691068117; h=content-transfer-encoding:in-reply-to:autocrypt:from:references:cc :to:content-language:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=6Kd6oHs2QTvmJWiIALNrAWDoU2wpAabwv5dblMxirYg=; b=b/LUujK6N3vuRoT9JKNkv6gdi3vpQ5M1wz+e0dNIimg3cqTFiKh0d2bgSJGE+8Lhqt wrzPDBjNIz0DLOaVyAwk8gNx7jkdHDxEcnlsaDi/JKVflzQjbivUUB3jZjhFtS7O8rcN mU+mB941DXbJXBtKOaf8PzO+zFUXABESQg9BAJgknQK59pJndUqdOAcba/z7BqwDB4GE AOUIQ4pqHEyC58StHdRHuT6eBcAkSmhSiyG0/KKmBLHKYpiqa0gcL1B2tUGcbQNrbbTZ nIugnaf2oHxMVkmeH+jnSHc69Ni1FoStwZNyD4+LgisPWOZGNcsA0vtnwSNgtB4cOVIl DciQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1690463317; x=1691068117; h=content-transfer-encoding:in-reply-to:autocrypt:from:references:cc :to:content-language:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=6Kd6oHs2QTvmJWiIALNrAWDoU2wpAabwv5dblMxirYg=; b=aop+DkscozhT8COTiPBAArNUv7AlwgAKRpG8UiCkvKo4SNMLNTXHqDEVHvbEhAnPMW nnrNQzRs4Kls+t2amTKGcxkKqlYEGNrSduKngmJSe+itCUobvdysiWh2K0uj3O2n3lln fjSFELzqVf4vyMmugAaysAAxcjALjP8tRTek1XvBTmIwdnAJ/aNARFOdfszUUISlws3g LMJJhWS5T3AJmajdzw6jx2QrjAmc3VnLB7qJPSXcmNJC32CInVNCks4bM90DwMcEegwO ZoEHn14+Ad+rZuz9ehM1rFfNi3ucuVPfezrRQAJVdBgnrByOqFDiaYYriFJwBrTmzFfV Bxfg== X-Gm-Message-State: ABy/qLYIszS8fNT+OHvAigE+Ks1NZHiKamtHQufKWjcgt+U5IGxrQPKA qnSRU/PACXjcA/Qa9xt0JgYucg== X-Received: by 2002:a2e:8483:0:b0:2b6:cf64:7a8e with SMTP id b3-20020a2e8483000000b002b6cf647a8emr1532757ljh.19.1690463317461; Thu, 27 Jul 2023 06:08:37 -0700 (PDT) Received: from [192.168.1.101] (abxj4.neoplus.adsl.tpnet.pl. [83.9.3.4]) by smtp.gmail.com with ESMTPSA id g13-20020a2e9ccd000000b002b6cba03427sm330659ljj.79.2023.07.27.06.08.35 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 27 Jul 2023 06:08:36 -0700 (PDT) Message-ID: <3ba67502-1781-2abf-32dc-254796ce7621@linaro.org> Date: Thu, 27 Jul 2023 15:08:35 +0200 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH v2 4/6] arm64: dts: qcom: Add base SM4450 QRD DTS Content-Language: en-US To: Tengfei Fan , Krzysztof Kozlowski , andersson@kernel.org, robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, conor+dt@kernel.org Cc: quic_tsoni@quicinc.com, quic_shashim@quicinc.com, quic_kaushalk@quicinc.com, quic_tdas@quicinc.com, quic_tingweiz@quicinc.com, quic_aiquny@quicinc.com, kernel@quicinc.com, linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org References: <20230727023508.18002-1-quic_tengfan@quicinc.com> <20230727023508.18002-5-quic_tengfan@quicinc.com> <518770c2-05ad-a2a2-4e73-7ceb30687614@linaro.org> From: Konrad Dybcio Autocrypt: addr=konrad.dybcio@linaro.org; keydata= xsFNBF9ALYUBEADWAhxdTBWrwAgDQQz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fttmAQL9cwo6C8yDTXKdho920W4WUR9k8NT/OBqWSyk bGqMHex48FVZhexNPYOd58EY9/7mL5u0sJmo+jTeb4JBgIbFPJCFyng4HwbniWgQJZ1WqaUC nas9J77uICis2WH7N8Bs9jy0wQYezNzqS+FxoNXmDQg2jetX8en4bO2Di7Pmx0jXA4TOb9TM izWDgYvmBE8= In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE 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 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