Received: by 2002:a05:7412:d1aa:b0:fc:a2b0:25d7 with SMTP id ba42csp1578062rdb; Wed, 31 Jan 2024 03:02:59 -0800 (PST) X-Google-Smtp-Source: AGHT+IFCkwZxAwJxBz4i+5S5VfYmx8ikRR63lEbCbcPVK6fFrBdZJ9szHsnzsTViQWMFHCrecaKl X-Received: by 2002:a05:6402:1a4e:b0:55f:3c6c:61ce with SMTP id bf14-20020a0564021a4e00b0055f3c6c61cemr886453edb.37.1706698979136; Wed, 31 Jan 2024 03:02:59 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1706698979; cv=pass; d=google.com; s=arc-20160816; b=p/g57ZQMWL/523MDjpvCaLwT7+hSjFM8i8/xoIQpsCkmIQlqnUWWojuAN95ChHQFax EkfiAuzs82CW0MhnkEZ82Kr4A4Wix2YX+OamJbdGIMreVTVhhc1hpV+mJjiH1o9s1Gv0 f27+Gxnq9+JPaQboHRMgV3/U0mfhFmZmGp1huYPPKWYWjeEo7HCyHDFHdUp6Wt2/WGC3 x6WIAZl8t8nqlTMdvQGbq++ty8xLyuIP1OWvIXQVRUCeW4TW8sSV/IFnVIHSIEByI2sT lM42vfJSo4dzW9LK5r//CA0e9PphKIdA+c7b9car0ke/U7J+UaQ6AxILtIOJ4RmJa1VQ D6PA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=feedback-id:content-transfer-encoding:in-reply-to:from:references :cc:to:content-language:subject:user-agent:mime-version :list-unsubscribe:list-subscribe:list-id:precedence:date:message-id; bh=93I1ZXHTkqjV3SDQIUTGOxwaFANmzKaCCNYj1tXR1NA=; fh=XWlWQnP5FldMyvCCug2aRHImAtQIUjuAMWa6j/xTh/I=; b=GDhKnFCoeDHFGoRatHURpgwxCWQnkHKWutf5nBpM83wfl0qo/4cd5Mo+KwABDe+2ek sXICOf0/FAaAIkoaTKVJlZsVHC1bb1vWdY95kC6wBVmSXLfbvFvKVjRsW8l+XCfvWrHf UkNFFmDvezYr0nWM8d8+mlTDVxqZKbISpjua9aPPs1UgLEiOr6QfPDnrpa7Rfc7srgyj f1Ys1NiBTuDU+oLeTfQXOQm7+Gha6dsewBAJyQLPwmTeT0/x1nll/SFrQv9SPmKRQVKr 4BRqdgD7eBMFOQ9v88uMPsMrbzmXIDwWgGEFhZbhAm6B4UPrZ+fpXRslpHtFuAiRb4JM cyMA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; arc=pass (i=1 spf=pass spfdomain=shingroup.cn dmarc=pass fromdomain=shingroup.cn); spf=pass (google.com: domain of linux-kernel+bounces-46199-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-46199-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=shingroup.cn X-Forwarded-Encrypted: i=1; AJvYcCWBLq2O1t37t97KGGyWx4cnKNKbkWz6hSLDlIeMUgH938EV3ZhWgztdYAUX5OHGknsawJWcczDsHkOLdDkwPnhOYCFIXL2fxXPk89beXw== Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [2604:1380:4601:e00::3]) by mx.google.com with ESMTPS id es13-20020a056402380d00b0055c52f7dab2si5525551edb.331.2024.01.31.03.02.59 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 31 Jan 2024 03:02:59 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-46199-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; arc=pass (i=1 spf=pass spfdomain=shingroup.cn dmarc=pass fromdomain=shingroup.cn); spf=pass (google.com: domain of linux-kernel+bounces-46199-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-46199-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=shingroup.cn 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 15E1E1F2E390 for ; Wed, 31 Jan 2024 10:18:45 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 8A31F69978; Wed, 31 Jan 2024 10:18:38 +0000 (UTC) Received: from smtpbgjp3.qq.com (smtpbgjp3.qq.com [54.92.39.34]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 586386775E for ; Wed, 31 Jan 2024 10:18:34 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=54.92.39.34 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706696318; cv=none; b=D6M0H5gMN7TkcSbVTbA4d3M7oJA8zaSZHgx70aMoLJLS5M92qIakiwHkzat6xrdWJu92PeZCyhfZY2x/ACDQabVlFg7QXFC0VW8ADrUXb3Es0a6+xDTC3DzKUSGrlaQQZoUeGEjRwbX58mxT9EJFjRT93yGX2g2jbxtcxxQ0yoE= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706696318; c=relaxed/simple; bh=ykZfkKoX7TOjRuI9YLjTyIXMIdhpZDwu6WP2/XZu0fQ=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=YpA290pNwLQQ2FTRIxEd7OZP8FCdTAm4QSp0GEd1SjNYODyzFsX2bqDRgiU9NpcVYn/a0NhD8jLiLhUDTvSMKHSISiwMU+oHkDbYgN3JrCitybbt47YL+xKeUE1tU7HFS3GP1fxEx52baIubo+iYr5jFiWulphHl5bcEo1LnPAE= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=shingroup.cn; spf=pass smtp.mailfrom=shingroup.cn; arc=none smtp.client-ip=54.92.39.34 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=shingroup.cn Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=shingroup.cn X-QQ-mid: bizesmtp70t1706696289tk9l24wz X-QQ-Originating-IP: Ktt9i8CN95Xfql4e+hRGz/fWFMloBH13l1Px5P2wytg= Received: from [127.0.0.1] ( [223.112.234.130]) by bizesmtp.qq.com (ESMTP) with id ; Wed, 31 Jan 2024 18:18:07 +0800 (CST) X-QQ-SSF: 00400000000000B0B000000A0000000 X-QQ-FEAT: 90EFqYDyPxCbs1f2TU2Vi8g7zUPEIDXMypu2mV8mS9KG91ynL9zStuL4gly0L 7VSBIR7F1GHe5CujByBVBu002e9hsIParfK+kjF+1JB+oXZmy2/9VFXvfZCXuP4cLBfy6tL Lj4T6x9lEwR/mWDzLooumM2fet1y2am75xHY9ia6squ5x6cVvkIDiCU3QkEA74B54A9dxDN YA3fIh5TfShI/U/hbGmJeBtngGKB5eh9h04AUvcoHOzMzjL1h8YKYIKcV3rS2nqx6sO7L1a XGfHd2RvqNrPuUyUAGLAIEDUUXZOwvvlW2v3tUJjKaNei9mUBxJINPAaYX/X9nwnvu+Yji8 5JT8lN3rXkJnsUewyPzrjSFROCk3LgGgKdMAlib8Q5+CCQtoKvQNfCz8B8G5AVIkhspiYkO yPcTKCISPEnynTvH4OamBwvdNfYe2TcpIF7cGJkdomA= X-QQ-GoodBg: 2 X-BIZMAIL-ID: 6162895536767829948 Message-ID: Date: Wed, 31 Jan 2024 18:18:07 +0800 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: Krzysztof Kozlowski , 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: =?UTF-8?B?WWFuZyBKaWFsb25nIOadqOS9s+m+mQ==?= In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-QQ-SENDSIZE: 520 Feedback-ID: bizesmtp:shingroup.cn:qybglogicsvrgz:qybglogicsvrgz6a-1 在 2024/1/31 18:16, Krzysztof Kozlowski 写道: > 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. OK. DT aliases it good. > > Best regards, > Krzysztof > >