Received: by 2002:a89:2c3:0:b0:1ed:23cc:44d1 with SMTP id d3csp879332lqs; Tue, 5 Mar 2024 22:13:12 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCX+N7/qniGb+iQKhJyYWOrfHRo8bvLIM3FnGaFIWSQIg8JOxyeDtcBNKs8e0Q4XBJGZ5agC+k/CZpPOIriAsSjDtpk1mNeiqMnCnzie9A== X-Google-Smtp-Source: AGHT+IF+sZ3Hm7YDx0YlcfEnRqSf2Wv77PLkrhVWd6CUZ7udbxD4XZvQnEBxAs4icanmBDk/8KAW X-Received: by 2002:a25:ba4b:0:b0:dcc:76a0:503b with SMTP id z11-20020a25ba4b000000b00dcc76a0503bmr11245689ybj.13.1709705592316; Tue, 05 Mar 2024 22:13:12 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1709705592; cv=pass; d=google.com; s=arc-20160816; b=tme0I4KtWR5tWNAaH0whu7ZwbnqkCvVVYcYeHBAi2LOjI7ShY4H4Uk8we2puF5Olk/ 1fXzjMnXZhKIulbAAduiNsnEKjwyh+IfO5WUeyMc5izt92kzD4KOzuddodqZZ8Fo+m8S 6dEyEGmhfJGOIOj56hQmjqJ1qipbWgjJTl5HiiSN+oNFKXCPsvcBwpBHlizBw73EqEhB GfI4tdPM0CYId8dlu65h5gZAyMtCjW2DgEx+omVGgG0fC3w0uhoriArEpJUMbApkWIMs BmjQTDMTNO0KOnx+X7OZGOSZjfrLAOyyvzEhwnTcG9HzO77G0avwA15Rm24OELoudOMk VhCA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=feedback-id:content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:message-id:date:subject:cc:to :from; bh=G+Hf81XkSNqtTKOEQ4yeVKzHXOGCEwbh4P4ypUbm3t8=; fh=ioiXJYBQLXOg2sXum+6eBOZ7jbf90TKiOA0kesHDPm0=; b=L0LREKZGfNRlSeq/h1ScC2mqrmJdgbXS+5clSBFJv3jvd4y2quFIZ1iKgBERkx63or dJr0UGszHi9CEO2tZgNviBLRjSiCFx2foYzKEZ6yzZZCBSNkVgdZdruxki0AnkzMmBLd t1f1bkxROWJK4BuCH4mSUWHxxoYIc8oKHK6AzV6kI5mX8TFMer1Wv3NQu8AQ9H4FgTqS EfotM5e7jHjRKk2YAa1+h7/x39XvrkIHCjiEN7cJ0a3zU59EJKkCNUdB7asN7+snAp8I 1m8+0tcSrRr9Y1SzWz801P9lj/QSW+CYLbmVQqykfxUEbJaqIPsTPOGPyPEB5IfO5oFo k3kg==; 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-93370-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-93370-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=shingroup.cn Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [147.75.199.223]) by mx.google.com with ESMTPS id c11-20020ac87dcb000000b0042eefc7a0b8si6869044qte.709.2024.03.05.22.13.12 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 05 Mar 2024 22:13:12 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-93370-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) client-ip=147.75.199.223; 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-93370-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-93370-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 ny.mirrors.kernel.org (Postfix) with ESMTPS id 08F601C22202 for ; Wed, 6 Mar 2024 06:13:12 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 5DF5F1BF54; Wed, 6 Mar 2024 06:12:56 +0000 (UTC) Received: from smtpbgsg2.qq.com (smtpbgsg2.qq.com [54.254.200.128]) (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 6B7381BF3A; Wed, 6 Mar 2024 06:12:52 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=54.254.200.128 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1709705575; cv=none; b=HiXPfBoPRPk0ADcG4zaHI2nrC1wkSq6liHR3I04hE1qSPTUolkxvuDJc4XfrKxEYKm/Nf+lbm876eko8+guaYCzGVlRMGNJICQQSOPVFkqF9khnJdHNPHhYhuW6qT8rwG3zec8EqT/A1wA2/8ZnHqjvSnCz3Z7fvYLxQ3yamkrw= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1709705575; c=relaxed/simple; bh=XB/s6LrajRRxZPmS5K2ul+Jpp/Bn57dJki7p95qfCJ0=; h=From:To:Cc:Subject:Date:Message-Id:MIME-Version; b=G6g7o3Aghqx6KRo0XgY91qfRS8ghOYrwIIHRHBoOrxoh0x9kbtVaIqCaAQ2AdJL7/YvxFs13EhsGIxEJvvGxkoDzFjF4FzWoSBQu8NKSh+xLrW2orUni0Z+oHWH8Uo1LRcQ48lUWtbOtSDDpMSRvpzDXz2WdNwk5T27HaUM9CQ8= 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.254.200.128 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: bizesmtp79t1709705530tejr8mq9 X-QQ-Originating-IP: 33F7Hi8mkHJ/3GMhdDRcEqGpiRerVDDLcrCN+G+D9ek= Received: from HX01040022.powercore.com.cn ( [223.112.234.130]) by bizesmtp.qq.com (ESMTP) with id ; Wed, 06 Mar 2024 14:12:08 +0800 (CST) X-QQ-SSF: 01400000000000B0B000000A0000000 X-QQ-FEAT: zT6n3Y95oi0QQ5IUMJfGD5BCp0MrFSEZjYCXXN07Kjl3bKZmTCPMHHTLiXx+0 Z1YAJaMJZ45EP04YVC/wcllIeJmmC4MgCfzD6MxN6SF8mCzilEbDF/efn4LJdbpT7dWCGJt B2bPzhoTAwKQrZlC54zr6tUmQXEgeBjo6aXNnX/QoheTguv1CfScumys3U08NydzAK1QalU 4VljwBdaiCsS1Vuc6R84+uLE5NyGoiaFlDhNlqcMlXtAB4eRDMoCDrchbrSzUz2+w9y9d2C VrgfXN+2/epHpKPNlNqYh4DEKpf7v+alH4T8D6KsW60yrra6GHCHzSK7WbvKrUQH5Z7qkU0 n7CO57tmqjue9pw2vUY3c3aLYOsjYKfMGtguDyvgs0iEmrAGS+bu3GVr8HkJN0rFULU/90Z X-QQ-GoodBg: 2 X-BIZMAIL-ID: 9495034024272623364 From: "JiaLong.Yang" To: Will Deacon , Mark Rutland , Rob Herring , Krzysztof Kozlowski , Conor Dooley Cc: shenghui.qu@shingroup.cn, linux-kernel@vger.kernel.org, Rob Herring , devicetree@vger.kernel.org Subject: [PATCH v3 0/2] Support uncore NI-700 Performance Monitor Date: Wed, 6 Mar 2024 14:16:00 +0800 Message-Id: Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-QQ-SENDSIZE: 520 Feedback-ID: bizesmtp:shingroup.cn:qybglogicsvrgz:qybglogicsvrgz6a-1 1. The MAINTAINERS file should be in dt-bindings or drivers? It's needed by the two subpatchs. I place it in dt-bindings. So I receive the warning in driver patch. 2. When using the new macro DEFINE_FREE(), we should ended it without ';'. So there is one warning asking me to indentation next statement. 3. If the file vendor-prefixes.yaml should be submit solely? JiaLong.Yang (3): dt-bindings: Add HEXIN Technologies Co., Ltd. vendor prefix dt-bindings: perf: Support uncore NI-700 PMU perf/hx_arm_ni: Support uncore NI-700 PMU .../bindings/perf/hexin,c2000-arm-ni.yaml | 51 + .../devicetree/bindings/vendor-prefixes.yaml | 2 + MAINTAINERS | 6 + drivers/perf/Kconfig | 11 + drivers/perf/Makefile | 1 + drivers/perf/hx_arm_ni.c | 1240 +++++++++++++++++ 6 files changed, 1311 insertions(+) create mode 100644 Documentation/devicetree/bindings/perf/hexin, c2000-arm-ni.yaml create mode 100644 drivers/perf/hx_arm_ni.c -- 2.25.1