Received: by 2002:a05:7412:d1aa:b0:fc:a2b0:25d7 with SMTP id ba42csp1567382rdb; Wed, 31 Jan 2024 02:37:12 -0800 (PST) X-Google-Smtp-Source: AGHT+IFj6xJanYY6JpcNYAXgWZtqN3tjLAD56wb+LZqyk28DG38JiSgYRGBFWSYU6MpZCA03GXLV X-Received: by 2002:a17:906:4e8c:b0:a35:a7ba:c642 with SMTP id v12-20020a1709064e8c00b00a35a7bac642mr898309eju.51.1706697432451; Wed, 31 Jan 2024 02:37:12 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1706697432; cv=pass; d=google.com; s=arc-20160816; b=HK2QissV0eiLMSxyPGgQ8UO7di0ffFQ4Jc+hJuMdijcZAry6Ma4SBfZWjQ5kB1xTXu kXw+ccJeKQ+fWiwgk8XLQyLpjZN8v81OyWM4q+4iwgWs5MgcUAmmSLoM5Sd9k+xeBfTZ cct+0XSAiXMyDcDMaHKzckbnO6hUwmmkK/VzxAqHoiiv5UK/L2WyYz2EphLe7xNmwgFA t5AJbOOr0TmEfr7yQ0Ybpm7sQobo9kx8fsiL9Oqhx/GV9aGqGbMK1BQ/j7mxuxmKt2AS IDhKdMOkrQCkyyIHRUYy5ThZA1bexHxETBs1tG7ckcLKEG1JuAOPSgthkGzlnf2HWGjP YKPA== ARC-Message-Signature: i=2; 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=A0S/vewGpjwHH5F87kZM31jgzYWI7BwBNBZ7vu7tKQM=; fh=81uiIntsTW60C9jjWUCxOzTj4ZmqfuO8Rxbp184skHA=; b=MuNIqZhX99SSjq4byNClvLTR5wjC98pWs861r4kjNUm5oBysInh6k6SffAb3iYgolQ xHBKA9kRaUFs5/nxw/1A9rfotekonQAuLFMcDi3XfHvSbSQ5UADhsd17YIRVlSpDLhwG 72U0n/xSx9FUEgibAWjwwSTeLn2Icexsa2waLKH5lNr3Md+LRY9GGInxr63I6R8yh9y8 73EJCwqLMm0/M1i7lGqf2LHMxvs34guhOTDI1/Y6qCAyiueOocjzPxS3+OVHiq1906Ar ObBsyM5xWivEh58hLV58oj8Wlws23EPFuL7wfzKJnldPTNodwqap3K5oBt2AQF0aQuGq eDpw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=YBAhDdj4; 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-46195-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-46195-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; AJvYcCU4DOHxNpIVlLFMeehm9Rr5pW5ujkhddem79GIzzY/nZD+6GFkbp9BbB74c0kgK9ayqm0mdzWm559vzSdyqPFi6ZsbfNCM5PX/aomYqdA== Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [147.75.80.249]) by mx.google.com with ESMTPS id jp8-20020a170906f74800b00a35ffaa0b3dsi1852003ejb.267.2024.01.31.02.37.12 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 31 Jan 2024 02:37:12 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-46195-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) client-ip=147.75.80.249; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=YBAhDdj4; 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-46195-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-46195-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 9F9451F2DC1C for ; Wed, 31 Jan 2024 10:17:33 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 8994D69D0A; Wed, 31 Jan 2024 10:16:10 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="YBAhDdj4" Received: from mail-ed1-f44.google.com (mail-ed1-f44.google.com [209.85.208.44]) (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 9D1526775E for ; Wed, 31 Jan 2024 10:16:07 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.208.44 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706696169; cv=none; b=D2vMOv19N2VwSh+Cf/9q/UzTFDZlTwRw/9DuhWJN7t0RBykG9kHjzKpsJjhIA86TXL4XlqSvLsJll3e2YBEvWkD+BJBwqOGbUzWiAoYx/3VhDrRCkhAfLUuCPE/amnvVnG3zBH9+HVPChKv5pITt5Ps9mXBU5ta3OH6PxYsVKEk= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706696169; c=relaxed/simple; bh=k5yjOXfE45Fq1dYHfeKw7CS8ob/2spnqmq/42WE3TFs=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=RoUn4X3bZjUNjHFaaL9Ty+UZhKyej/UJe7F32o6hph4DcuwQ+fZrlFXjU7gmTEEYzHmG6iS+sEYVgWlxU/557Lsp5GSkGg5E6eqCuyvw0GveUG8Ylc/l6Ck9kBFWulAzaLKNnyX4jFw0NSgrNyy7KD60PGHNAyG4R/lBzRfH6jo= 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=YBAhDdj4; arc=none smtp.client-ip=209.85.208.44 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-f44.google.com with SMTP id 4fb4d7f45d1cf-55ef0465507so4255618a12.3 for ; Wed, 31 Jan 2024 02:16:07 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1706696166; x=1707300966; 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=A0S/vewGpjwHH5F87kZM31jgzYWI7BwBNBZ7vu7tKQM=; b=YBAhDdj4vW6amzYKezwyhMqSZSWoBzQCeM+D7uavNyYNUYTE5TMZEw925qHoedPHAX IBNCdeFacnCetQObcbHbsDWwi4vkA25OvPpSxRAS7i6djPDi4la+3RaF3NTfgbn4OykQ y0WXIv9MqPVwek/2YQKxUEXJ4Q9bc+q6Om/ddpMDSOGE7e1sTbd7UhMk+jCdIxbvkvNe RkA9UWIK6NNjvFsIXY4o9nwsOQhyF1I+FCuFlY208OCvGO6xFyl7rFfXpXVCFM3xQzvZ WHj7+cdMFAnSNEPq80YMqw1E3EzhTxV8PbN5qOqueL6vJMSPfbgYgs4Tz6TLk95MBGge GCwA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1706696166; x=1707300966; 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=A0S/vewGpjwHH5F87kZM31jgzYWI7BwBNBZ7vu7tKQM=; b=kkYFwfGH7O/Mi4gadHLk298r3GsRzgjoFs1Geu7DwXfTSS5FICPsqgV589aPAPd5h1 rHnvjfWL58vKVTV+goqzvW0wAsAlWBwPqUXBLzZmo6VahoM2DMYfQLUZmVv59ybFHDi/ 6Bs/iBstDDfDBWuUlUJXOeXhQW0Yu5HHBiQGjJ1RstoPD1O8LVo8xYDuQQf2TKXwTMcc yy6zJ2MCryjuab0QqEpGIA74QVSf6hM+LHtYU0LSpeYpUASXjLDN5PXsvL3Zo0dqQdvA XPW5+ZYWl2dCI9tQ7VjJOvGTQhql94zwRD54H4Mtle0ZcFw1Oke2hTKif0Ukjw/AdXGG ULFw== X-Gm-Message-State: AOJu0YyDNRHCcAqdLmnY+V/Gp3mYW85oRWN1Rx4X2nW8MAQ9qdhjZnSU i0Y0zRpaf/jsJ1zbrBJgcs7gdZNxnm386dTKRddIpmvAqdYSVOF8ViLciYZNfVQ= X-Received: by 2002:a05:6402:3d1:b0:55f:8021:3570 with SMTP id t17-20020a05640203d100b0055f80213570mr697319edw.33.1706696165792; Wed, 31 Jan 2024 02:16:05 -0800 (PST) X-Forwarded-Encrypted: i=0; AJvYcCU2ZUSqngD7xTZu588qskRd6Vv38U1PfT9beW2sdy638tGqcZmoJSrMXOMD8kMwc7Ji7EvgQR4wrhQp8RWEmv44chPCrFgzR7LIifOYP/vk7Di3tPN78SdGw6SDvV2dqYBkgVweXuSiBLM/2VIKtBFBHUF9puGNgInFJskPYIlJE2YQhKfdIqfZxDhmzBHVr51tERFF6JSwzJk5KuLFUd8Vj3rGprkommEazM5h2KrBBpRd1Lrxr2WFGzkLpgdU9csp744w2LO6OQ== Received: from [192.168.1.20] ([178.197.222.62]) by smtp.gmail.com with ESMTPSA id n3-20020a5099c3000000b0055971af7a23sm5916192edb.95.2024.01.31.02.16.03 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 31 Jan 2024 02:16:04 -0800 (PST) Message-ID: Date: Wed, 31 Jan 2024 11:16:01 +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 v2] dt-bingdings: perf: Support uncore ARM NI-700 PMU Content-Language: en-US To: =?UTF-8?B?WWFuZyBKaWFsb25nIOadqOS9s+m+mQ==?= , will , "mark.rutland" Cc: shenghui.qu@shingroup.cn, =?UTF-8?B?6LW15Y+v?= , zhijie.ren@shingroup.cn, linux-kernel@vger.kernel.org, linux-arm-kernel References: <20240131065953.9634-1-jialong.yang@shingroup.cn> <02B995F774AB7A9D+adfd0934-00cb-4dc3-8bf8-058b83dc2fbb@shingroup.cn> <873A6CC450C1D0E6+75a39d6c-4fbf-4e30-8630-3226bd725901@shingroup.cn> 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+2RgQDRnmmjCjo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rb9yCTAbSUlzgjiyyjuXhcwM qf3lzsm02y7Ooq+ERVKiJzlvLd9tSe4jRx6Z6LMXhB21fa5DGs/tHAcUF35hSJrvMJzPT/+u /oVmYDFZkbLlqs2XpWaVCo2jv8+iHxZZ9FL7F6AHFzqEFdqGnJQqmEApiRqH6b4jRBOgJ+cY qc+rJggwMQcJL9F+oDm3wX47nr6jIsEB5ZftdybIzpMZ5V9v45lUwmdnMrSzZVgC4jRGXzsU EViBQt2CopXtHtYfPAO5nAkIvKSNp3jmGxZw4aTc5xoAZBLo0OV+Ezo71pg3AYvq0a3/oGRG KQ06ztUMRrj8eVtpImjsWCd0bDWRaaR4vqhCHvAG9iWXZu4qh3ipie2Y0oSJygcZT7H3UZxq fyYKiqEmRuqsvv6dcbblD8ZLkz1EVZL6djImH5zc5x8qpVxlA0A0i23v5QvN00m6G9NFF0Le D2GYIS41Kv4Isx2dEFh+/Q== In-Reply-To: <873A6CC450C1D0E6+75a39d6c-4fbf-4e30-8630-3226bd725901@shingroup.cn> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit On 31/01/2024 11:13, Yang Jialong 杨佳龙 wrote: > > > 在 2024/1/31 17:30, Krzysztof Kozlowski 写道: >> On 31/01/2024 10:26, Yang Jialong 杨佳龙 wrote: >>> >>> >>> 在 2024/1/31 15:49, Krzysztof Kozlowski 写道: >>>> On 31/01/2024 07:59, JiaLong.Yang wrote: >>>>> Add file corresponding to hx_arm_ni.c introducing ARM NI-700 PMU driver >>>>> for HX. >>>>> >>>>> Signed-off-by: JiaLong.Yang >>>>> --- >>>>> v1 --> v2: >>>>> 1. Submit dt-bindings file Seperately. >>>> >>>> Where is the driver? >>>> >>>> Please read: >>>> https://elixir.bootlin.com/linux/v6.8-rc2/source/Documentation/process/submitting-patches.rst >>>> before posting. >>>> >> >> Keep all discussions public. > > Get. > >> >> >>>>> + pccs-id: >>>>> + $ref: /schemas/types.yaml#/definitions/uint32 >>>>> + description: Used to identify NIs in system which has more than >>>>> + one NI. >>>> >>>> No, reg does it. Drop the property. Anyway you miss here vendor prefix >>>> and proper explanation. >>>> >>> >>> reg will tell phy address. Phy address is too long. I just want a id. >>> example: perf stat -a -e ni_pmu_${pccs-id}/cycles/ >>> I will use it in user space. Not only in driver. >> >> Custom vendor property is not for that purpose. Use for example IDR, DT >> aliases or something else. >> >> > > I have considered TD aliases. It's not very easy. Two places... > IDR.. I have tested. But it chouldn't correspond to the HWs. > I need it to identify NIs. > DT aliases is reachable. But no very easy. Except that "you want" I did not see any rationale, any argument explaining why this is needed and why this has to be present. Best regards, Krzysztof