Received: by 2002:a05:6602:2086:0:0:0:0 with SMTP id a6csp4518428ioa; Wed, 27 Apr 2022 05:41:19 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyLo58gISHn+6Zav0DbDw7LgDv+35D1mtITW3Cwhjdb8gRtucCwQTlU0FTrHfupJHpTvWNH X-Received: by 2002:a05:6a00:a8b:b0:4e1:52db:9e5c with SMTP id b11-20020a056a000a8b00b004e152db9e5cmr29532360pfl.38.1651063278921; Wed, 27 Apr 2022 05:41:18 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1651063278; cv=none; d=google.com; s=arc-20160816; b=lgWYmZ91UlhgcGAz9z6K9/JyufKy//Q7i54S4aK1ZIXeG16YcTdEfVFK/Z5UHCfLaf MvCY3vE2dgL+1UwEjw4tK82Yf30V424+TsgNgvywQaqvMxqIpkprPqwpMs07Auojl2W3 uxgiP1IiRTCXK9F1DFZfz/6g6u5QbahOKqnBw9iR0Z0001I2gTisIDoNs8JVjFnqtm35 lne5VobXrHzYL3gVPv61lwCX96o8VEswQUUoT3Qe4q/gFp/E3i3i/J+kEUqYTkVjhWhG llX1svaR8NBvEotO5tA5Ih5jSt6fQL2kEb4k1X24c2PJnqpl5G8fWj74q58HreOtp1Mu tvqQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from; bh=X8cnXf+2mVLy6roNPVgs8R8zHQphIREEX2wN7aBRVFI=; b=qEoAv6tzi4jNr4ZfJvpxZrHrlx0Lwm24UzlcyRGti4eGLPpcVDOr09lsfTOpdqNnZL bZPf/IiRlXa62/Xk6tRWdTfq5wFYmosYRwZuB+HKf71qBICqHesjal29w8HfXYepChX6 fAs6goiN5V9CWJrFMSFS+5TtG80z+aP1Ea6HFfXaMTx2dr8v6R7lZ4ixd7L2gPDQVy/h iw0Or+0a8zLAA8IJ3RLTaTzcdid5hSnFepTShhadQ5zoyPfy1C6W9as802uu5nrQ/0yJ J+87u47HAoyNRkSaYg3+Ly1lyKsZof46SD67PspDxXIAc3wSdD14RGMTVFaAMcwdenSq 7Xtg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=huawei.com Return-Path: Received: from lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [2620:137:e000::1:18]) by mx.google.com with ESMTPS id il18-20020a17090b165200b001da2001a231si3369295pjb.30.2022.04.27.05.41.18 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 27 Apr 2022 05:41:18 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) client-ip=2620:137:e000::1:18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=huawei.com Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id CE56567D26; Wed, 27 Apr 2022 05:16:05 -0700 (PDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233727AbiD0MTH (ORCPT + 99 others); Wed, 27 Apr 2022 08:19:07 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43868 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233712AbiD0MTF (ORCPT ); Wed, 27 Apr 2022 08:19:05 -0400 Received: from szxga03-in.huawei.com (szxga03-in.huawei.com [45.249.212.189]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 686815C351 for ; Wed, 27 Apr 2022 05:15:50 -0700 (PDT) Received: from kwepemi500009.china.huawei.com (unknown [172.30.72.55]) by szxga03-in.huawei.com (SkyGuard) with ESMTP id 4KpHfC5CNgzCsNm; Wed, 27 Apr 2022 20:11:15 +0800 (CST) Received: from kwepemm600016.china.huawei.com (7.193.23.20) by kwepemi500009.china.huawei.com (7.221.188.199) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2375.24; Wed, 27 Apr 2022 20:15:48 +0800 Received: from localhost.localdomain (10.67.165.24) by kwepemm600016.china.huawei.com (7.193.23.20) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2375.24; Wed, 27 Apr 2022 20:15:47 +0800 From: Guangbin Huang To: , , CC: , , , , , , , , Subject: [PATCH V6 0/2] drivers/perf: hisi: Add driver for HNS3 PMU Date: Wed, 27 Apr 2022 20:09:58 +0800 Message-ID: <20220427121000.56026-1-huangguangbin2@huawei.com> X-Mailer: git-send-email 2.33.0 MIME-Version: 1.0 Content-Transfer-Encoding: 7BIT Content-Type: text/plain; charset=US-ASCII X-Originating-IP: [10.67.165.24] X-ClientProxiedBy: dggems704-chm.china.huawei.com (10.3.19.181) To kwepemm600016.china.huawei.com (7.193.23.20) X-CFilter-Loop: Reflected X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,RDNS_NONE, SPF_HELO_NONE autolearn=no 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 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 -- 2.33.0