Received: by 2002:a6b:500f:0:0:0:0:0 with SMTP id e15csp956459iob; Fri, 13 May 2022 17:39:09 -0700 (PDT) X-Google-Smtp-Source: ABdhPJz3CXzfbDMAQJ7NeOybRPUXSAzI/uAsIT7VD5OJjz25ctwv2MkbWSnbI4TIw9TsOM8lo4KX X-Received: by 2002:a5d:64cc:0:b0:20c:6339:3790 with SMTP id f12-20020a5d64cc000000b0020c63393790mr5931477wri.378.1652488749539; Fri, 13 May 2022 17:39:09 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1652488749; cv=none; d=google.com; s=arc-20160816; b=jRaDNPn2u2cvuJG+n/YWo4hwjl4P0Tl+Mz4CGu3JNn7TqZsOLHOW7todXXHT250Clo 7xfZGPv0q8KncihqQPwXXvk3t1UOcPw0tmDtJlPXNJdudyHiQfHK6QY00N4oJzgBOGJ4 waN0LpZWwNgOz4dZc4m+Yg0xWFyi7UK5vPp1eZtR04hAUBI6wXeYEPIyK+yMXAKI4/XY Br2su949hxF3Hb4tEcQC6sQ7F9yZ05199tS8BH6hs3fkEDf7+y8i9p3S0Lo7AULqQMP5 tM/eh0HH7R7WzlPNmivYyHp3grxHQ0kUvfG7ICNcXzNu4RVi3pGlZ+vBnsFUbKXlHLDp htBw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:content-language :in-reply-to:mime-version:user-agent:date:message-id:from:references :cc:to:subject; bh=mEA8omhElS8boygqov+/EWd3rKsWrpOHs51Xo3C1qW4=; b=br3J0Xd+HzsiSPbH0bK9qs/e7xocD7mj5okFquvHjIqbKEb17cxQEzdbNHxQ50KiUI 8t6jhMMvYsIBOsyOngGj9z1m3CTgYL2ezrvkL7LkZ55q4b07eA1s448AvIISczEeKfh7 bXcm72y9/plbg+5sJZ6Ae2y4PsrhaHUlIySZUOlVKQm/XqOwS4MJ3ZZyw2qcKG6K9NE2 4WpJ0vThBYV8Bi2Rh614xuB8U4K8FCy7vY5ctZ1i0ikc9QCMBwv/Yz6UH1iOAAbaOYpg L+ItYNrSXl+ek81LFu0UIYSCPpsNy7gBXbCIV4f3c+/8pVxpHBA5eVdBUsBscNMN/XyL CJlg== ARC-Authentication-Results: i=1; mx.google.com; spf=softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=hisilicon.com Return-Path: Received: from lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [23.128.96.19]) by mx.google.com with ESMTPS id d5-20020a056000186500b0020c61461322si4736345wri.329.2022.05.13.17.39.08 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 13 May 2022 17:39:09 -0700 (PDT) Received-SPF: softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) client-ip=23.128.96.19; Authentication-Results: mx.google.com; spf=softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=hisilicon.com Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id D2258348DEF; Fri, 13 May 2022 16:29:31 -0700 (PDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1376449AbiEMCEy (ORCPT + 99 others); Thu, 12 May 2022 22:04:54 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48318 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229734AbiEMCEw (ORCPT ); Thu, 12 May 2022 22:04:52 -0400 Received: from szxga03-in.huawei.com (szxga03-in.huawei.com [45.249.212.189]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id ED8E628FE8C for ; Thu, 12 May 2022 19:04:50 -0700 (PDT) Received: from dggpeml500023.china.huawei.com (unknown [172.30.72.53]) by szxga03-in.huawei.com (SkyGuard) with ESMTP id 4KzsKX19yJzCsf3; Fri, 13 May 2022 10:00:00 +0800 (CST) Received: from [10.67.77.175] (10.67.77.175) by dggpeml500023.china.huawei.com (7.185.36.114) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2375.24; Fri, 13 May 2022 10:04:49 +0800 Subject: Re: [PATCH V6 0/2] drivers/perf: hisi: Add driver for HNS3 PMU To: Guangbin Huang , , , CC: , , , , , , References: <20220427121000.56026-1-huangguangbin2@huawei.com> From: Shaokun Zhang Message-ID: <76e3cfd5-0dfc-bc4b-480f-3c18722480fb@hisilicon.com> Date: Fri, 13 May 2022 10:04:48 +0800 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:78.0) Gecko/20100101 Thunderbird/78.8.1 MIME-Version: 1.0 In-Reply-To: <20220427121000.56026-1-huangguangbin2@huawei.com> Content-Type: text/plain; charset="utf-8" Content-Language: en-US Content-Transfer-Encoding: 7bit X-Originating-IP: [10.67.77.175] X-ClientProxiedBy: dggems701-chm.china.huawei.com (10.3.19.178) To dggpeml500023.china.huawei.com (7.185.36.114) X-CFilter-Loop: Reflected X-Spam-Status: No, score=-4.8 required=5.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,NICE_REPLY_A, RDNS_NONE,SPF_HELO_NONE,T_SCC_BODY_TEXT_LINE autolearn=unavailable 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 Hi Guangbin, Thanks for your work that we did some internal review, please free to add: Reviewed-by: Shaokun Zhang Thanks, Shaokun On 2022/4/27 20:09, Guangbin Huang wrote: > This patch-set adds driver for HNS3(HiSilicon network system version 3) > PMU and doc to descript it. > > Change logs: > V5 -> V6: > - Modify prefix hns3_get into hns3_pmu_get. > - Some switch cases return directly. > - Modify failed log when io remap failed. > - Link: https://lore.kernel.org/linux-arm-kernel/20220426132822.51735-1-huangguangbin2@huawei.com/ > V4 -> V5: > - Add COMPILE_TEST and include io-64-nonatomic-hi-lo.h as suggestion of > John Garry. > V3 -> V4: > - Modify the comments of John Garry. > - Link: https://lore.kernel.org/linux-arm-kernel/20220329113930.37631-1-huangguangbin2@huawei.com/ > V2 -> V3: > - Modify the comments of John Garry. > - Link: https://lore.kernel.org/linux-arm-kernel/20220228123955.30284-1-huangguangbin2@huawei.com/ > V1 -> V2: > - Modify the comments of John Garry. > - Link: https://lore.kernel.org/linux-arm-kernel/20220117015222.9617-1-huangguangbin2@huawei.com/ > > > Guangbin Huang (2): > drivers/perf: hisi: Add description for HNS3 PMU driver > drivers/perf: hisi: add driver for HNS3 PMU > > Documentation/admin-guide/perf/hns3-pmu.rst | 136 ++ > MAINTAINERS | 6 + > drivers/perf/hisilicon/Kconfig | 10 + > drivers/perf/hisilicon/Makefile | 1 + > drivers/perf/hisilicon/hns3_pmu.c | 1654 +++++++++++++++++++ > include/linux/cpuhotplug.h | 1 + > 6 files changed, 1808 insertions(+) > create mode 100644 Documentation/admin-guide/perf/hns3-pmu.rst > create mode 100644 drivers/perf/hisilicon/hns3_pmu.c >