Received: by 2002:a05:7412:d024:b0:f9:90c9:de9f with SMTP id bd36csp122056rdb; Wed, 20 Dec 2023 07:50:23 -0800 (PST) X-Google-Smtp-Source: AGHT+IFltYXAaFhikpDncbjXdvxbyHTLFiDhLY50YMFdXJBXWDhe6CtTRpfYvowDiPyyBYPTAIHd X-Received: by 2002:a7b:ca5a:0:b0:40c:2a41:4a1f with SMTP id m26-20020a7bca5a000000b0040c2a414a1fmr9412442wml.183.1703087423056; Wed, 20 Dec 2023 07:50:23 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1703087423; cv=none; d=google.com; s=arc-20160816; b=Wd6eYtUF5D8ZYZdCB8aPaoAadeJiIoZvO3V7O08nbTp7tWiedsJ5w/P/AAKHOrPfcE HQsKauceETlS0C4PYCy0BJK02PmoGAC9Y0weE0ZXNOY3eKT+MG3Zb8+rV7dAqN0PzwGR OP8D7pcJ/RSsF/xLEMd00iwy980myOGH8/bkgoFroJio/ikcUtlSxyPeZ4Sn/7kSzc90 +vB7wiDa/JD/JIHzlSlyfZikhzEyd9j/GPxsjsK11NIxzV3ey1sZDOCgUHW8oZkm3mZo 7VltHIuFcOUOXDv/WRBmoUCYqrlU6UbE7Si5dBUjYSbWULYK0Czshketrq68FMGS1U2s byEw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:in-reply-to:autocrypt:from:references:cc :to:content-language:subject:user-agent:mime-version :list-unsubscribe:list-subscribe:list-id:precedence:date:message-id :dkim-signature; bh=WW1JG7tjDbMcqaXkDUX/m7k0skMs0TrgqA4/j39oQXs=; fh=/N7YTI/wF8SEi0YTAE7D+E5hYI/AjfLVxrIUd90DeOY=; b=IBpBH2EKZhXxAJDCtwvF7QT6pPpXoaHwNf4WnX5TlVPYgtpD4MSnhItsF/J0bcSywA kuZO73X8y27Wh4oso5JGC7iWAXLudMFZt8He69EBI1t2rng7wq3nrAXZ3wpiVl4XZr0Z T70pQ6RjC8h3sN7eu7xU1L4iWE4btLqILcoAmD0smNLq76blemO6Fj9m/aYI18jQe43c fyDG7whsUZWdtIXUtmy36J/+Fdra3o8mim+mr4Oc+7x2DzruRMcdSVcCDfuMwQ8ij2tX IP9Yb3SE8ipl5jZ9iFA0IVnVZGW/biAnQ+Cehykmg5ThsHaNSG57r8RbFo+p4LrtOhgK EUIw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=DW8qqBvB; spf=pass (google.com: domain of linux-kernel+bounces-7195-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-7195-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [2604:1380:4601:e00::3]) by mx.google.com with ESMTPS id x22-20020a170906b09600b00a1b6b50fea8si12124882ejy.59.2023.12.20.07.50.22 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 20 Dec 2023 07:50:23 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-7195-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=DW8qqBvB; spf=pass (google.com: domain of linux-kernel+bounces-7195-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-7195-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 9AF001F258B7 for ; Wed, 20 Dec 2023 15:50:22 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id F17F640C00; Wed, 20 Dec 2023 15:50:11 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="DW8qqBvB" X-Original-To: linux-kernel@vger.kernel.org Received: from mail-wr1-f49.google.com (mail-wr1-f49.google.com [209.85.221.49]) (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 8A51B40BF0 for ; Wed, 20 Dec 2023 15:50:08 +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-wr1-f49.google.com with SMTP id ffacd0b85a97d-33677fb38a3so1192372f8f.0 for ; Wed, 20 Dec 2023 07:50:08 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1703087407; x=1703692207; darn=vger.kernel.org; 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=WW1JG7tjDbMcqaXkDUX/m7k0skMs0TrgqA4/j39oQXs=; b=DW8qqBvBXfkFgOZbQZ+Uk+hMewbgSEJyVC9xKrU3oEpt5sbQLJezDfrj1lWZQDW/nD JZxjRro/N0jLeqTrJXRBaF5Sx5AIA0MSglHCmvyT2LXDXXf1WVOjfS9kd28xPWzPujuG 1rh7rifEp+p1xCltPRVd2gncxv7cNI2WVHbSp3aeFoYVNqmaLqX/Hy5By3B4g01f7L/N M5eRhj7Nyied7aXAVQUR3DkGBXELX5VwZVUbpvkMGXxK9vkpdcIOKo8M7AbQVN+vqMUV Sne84uxKKX4LbJUr/5f7AZlCNSr67uNP1NVi0PGHa35gmm9IOXB0L77Zh/jyYi6g5Mhz mMjA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1703087407; x=1703692207; 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=WW1JG7tjDbMcqaXkDUX/m7k0skMs0TrgqA4/j39oQXs=; b=SfxsJNVUZgKa2cpCCUm4Z8x/fAiyL1BPCB6oHec59RLgV8GEiNsF3D/w4dEoxIQUgY MzwUP7KszlFX7U0+eTp3rlUia4Oc38GkaBmJeNS2GeqOmMILepogHsaLlobImrFiJo/K +yGkQwv5PvKaFgBacHBF16xmMtJuvzeTM0LtaateV7jnwpQ/xBPFqgSNlmWo80Fz0P7e c04vGXizIqUzqBPy1TX0N38E8YOxlN9XilDOO7tGXLBGccASsGflowPH9G5wDBu+Y4Xn 6rgz1GebD0hTSRJwXT8GIIdo0QEBr5yG6k4McIIXIH+VxPx1BUjpPdHA5WQ+9F0ZnObn BJ1A== X-Gm-Message-State: AOJu0YxmQtWI3uT+575ge+vebQmUifpohV2SDH88jK7r/HCFBAnCs0EY 9X8kbGAqhnqQvwPUxt3tCVUSrg== X-Received: by 2002:a05:600c:5493:b0:40c:7124:962b with SMTP id iv19-20020a05600c549300b0040c7124962bmr3571421wmb.124.1703087406742; Wed, 20 Dec 2023 07:50:06 -0800 (PST) Received: from [192.168.1.20] ([178.197.218.27]) by smtp.gmail.com with ESMTPSA id bi18-20020a05600c3d9200b0040d378623b1sm40439wmb.22.2023.12.20.07.50.05 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 20 Dec 2023 07:50:06 -0800 (PST) Message-ID: <440e2ad2-ecc5-4888-9923-a172d94c710d@linaro.org> Date: Wed, 20 Dec 2023 16:50:05 +0100 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH] arm64: dts: qcom: Add coresight nodes for sm8450 Content-Language: en-US To: Jinlong Mao , Andy Gross , Bjorn Andersson , Konrad Dybcio , Rob Herring , Krzysztof Kozlowski , Conor Dooley Cc: linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Tingwei Zhang , Yuanfang Zhang , Tao Zhang , coresight@lists.linaro.org References: <20231220124009.16816-1-quic_jinlmao@quicinc.com> <439916dc-8f71-4998-b145-1d183d9e68f5@quicinc.com> <77ba0140-5b74-40d7-a923-4b270d661d3a@linaro.org> <98407ed5-5e0c-4bee-be4c-70b3d8972823@quicinc.com> From: Krzysztof Kozlowski Autocrypt: addr=krzysztof.kozlowski@linaro.org; keydata= xsFNBFVDQq4BEAC6KeLOfFsAvFMBsrCrJ2bCalhPv5+KQF2PS2+iwZI8BpRZoV+Bd5kWvN79 cFgcqTTuNHjAvxtUG8pQgGTHAObYs6xeYJtjUH0ZX6ndJ33FJYf5V3yXqqjcZ30FgHzJCFUu JMp7PSyMPzpUXfU12yfcRYVEMQrmplNZssmYhiTeVicuOOypWugZKVLGNm0IweVCaZ/DJDIH gNbpvVwjcKYrx85m9cBVEBUGaQP6AT7qlVCkrf50v8bofSIyVa2xmubbAwwFA1oxoOusjPIE J3iadrwpFvsZjF5uHAKS+7wHLoW9hVzOnLbX6ajk5Hf8Pb1m+VH/E8bPBNNYKkfTtypTDUCj NYcd27tjnXfG+SDs/EXNUAIRefCyvaRG7oRYF3Ec+2RgQDRnmmjCjoQNbFrJvJkFHlPeHaeS BosGY+XWKydnmsfY7SSnjAzLUGAFhLd/XDVpb1Een2XucPpKvt9ORF+48gy12FA5GduRLhQU vK4tU7ojoem/G23PcowM1CwPurC8sAVsQb9KmwTGh7rVz3ks3w/zfGBy3+WmLg++C2Wct6nM Pd8/6CBVjEWqD06/RjI2AnjIq5fSEH/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F+oDm3wX47nr6jIsEB5ZftdybIzpMZ5V9v45lUwmdnMrSzZVgC4jRGXzsU EViBQt2CopXtHtYfPAO5nAkIvKSNp3jmGxZw4aTc5xoAZBLo0OV+Ezo71pg3AYvq0a3/oGRG KQ06ztUMRrj8eVtpImjsWCd0bDWRaaR4vqhCHvAG9iWXZu4qh3ipie2Y0oSJygcZT7H3UZxq fyYKiqEmRuqsvv6dcbblD8ZLkz1EVZL6djImH5zc5x8qpVxlA0A0i23v5QvN00m6G9NFF0Le D2GYIS41Kv4Isx2dEFh+/Q== In-Reply-To: <98407ed5-5e0c-4bee-be4c-70b3d8972823@quicinc.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit On 20/12/2023 14:40, Jinlong Mao wrote: > > > On 12/20/2023 9:21 PM, Krzysztof Kozlowski wrote: >> On 20/12/2023 14:07, Jinlong Mao wrote: >>> >>> >>> On 12/20/2023 8:46 PM, Krzysztof Kozlowski wrote: >>>> On 20/12/2023 13:40, Mao Jinlong wrote: >>>>> Add coresight components on Qualcomm SM8450 Soc. The components include >>>>> TMC ETF/ETR, ETE, STM, TPDM, CTI. >>>>> >>>>> Signed-off-by: Mao Jinlong >>>>> --- >>>>> arch/arm64/boot/dts/qcom/sm8450.dtsi | 742 +++++++++++++++++++++++++++ >>>>> 1 file changed, 742 insertions(+) >>>>> >>>>> diff --git a/arch/arm64/boot/dts/qcom/sm8450.dtsi b/arch/arm64/boot/dts/qcom/sm8450.dtsi >>>>> index 1783fa78bdbc..112b5a069c94 100644 >>>>> --- a/arch/arm64/boot/dts/qcom/sm8450.dtsi >>>>> +++ b/arch/arm64/boot/dts/qcom/sm8450.dtsi >>>>> @@ -285,6 +285,192 @@ CLUSTER_SLEEP_1: cluster-sleep-1 { >>>>> }; >>>>> }; >>>>> >>>>> + ete0 { >>>> >>>> ete-0 >>> Thanks for the review. >>> >>> In arm,embedded-trace-extension.yaml, the node name pattern is >>> "^ete([0-9a-f]+)$". >> >> I don't understand why this binding requires ete name. It's not like it >> is a generic name worth preserving. Also, the recommended suffix for >> names is with '-'. >> > The number in the ete name should be the same as the number of the CPU. My question was why "ete" is needed. > So we can know which CPU this ete belongs to from the name. Wait, what? Why? Node names should not be for that. > > I will update the binding in arm,embedded-trace-extension.yaml. No, wait, please finish this discussion first. You need to give people chance to respond... Best regards, Krzysztof