Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752122AbdCBKt2 (ORCPT ); Thu, 2 Mar 2017 05:49:28 -0500 Received: from mail-pg0-f66.google.com ([74.125.83.66]:34179 "EHLO mail-pg0-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751828AbdCBKtW (ORCPT ); Thu, 2 Mar 2017 05:49:22 -0500 From: Anurup M X-Google-Original-From: Anurup M To: mark.rutland@arm.com, will.deacon@arm.com Cc: linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, anurup.m@huawei.com, zhangshaokun@hisilicon.com, tanxiaojun@huawei.com, xuwei5@hisilicon.com, sanil.kumar@hisilicon.com, john.garry@huawei.com, gabriele.paoloni@huawei.com, shiju.jose@huawei.com, huangdaode@hisilicon.com, linuxarm@huawei.com, dikshit.n@huawei.com, shyju.pv@huawei.com, anurupvasu@gmail.com Subject: [PATCH v5 05/11] drivers: perf: hisi: Update Kconfig for Hisilicon PMU support Date: Thu, 2 Mar 2017 05:49:07 -0500 Message-Id: <1488451747-88861-1-git-send-email-anurup.m@huawei.com> X-Mailer: git-send-email 2.1.4 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 824 Lines: 28 Update Kconfig for HiP05/06/07 PMU support. Signed-off-by: Anurup M Signed-off-by: Shaokun Zhang Signed-off-by: John Garry --- drivers/perf/Kconfig | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/drivers/perf/Kconfig b/drivers/perf/Kconfig index 4d5c5f9..5b988f5 100644 --- a/drivers/perf/Kconfig +++ b/drivers/perf/Kconfig @@ -19,4 +19,12 @@ config XGENE_PMU help Say y if you want to use APM X-Gene SoC performance monitors. +config HISI_PMU + bool "HiSilicon SoC PMU" + depends on PERF_EVENTS && ARM64 + help + Enable hardware event counter support for hardware event counters + in Hisilicon HiP05/06/07 SoC. The hardware modules like L3C and MN + have hardware events and counters. + endmenu -- 2.1.4