Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755092AbdCJG23 (ORCPT ); Fri, 10 Mar 2017 01:28:29 -0500 Received: from mail-pf0-f193.google.com ([209.85.192.193]:34748 "EHLO mail-pf0-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755050AbdCJG22 (ORCPT ); Fri, 10 Mar 2017 01:28:28 -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 v6 05/11] drivers: perf: hisi: Update Kconfig for Hisilicon PMU support Date: Fri, 10 Mar 2017 01:27:55 -0500 Message-Id: <1489127275-112691-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: 782 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 1e95d6a..f0aa818 100644 --- a/drivers/perf/Kconfig +++ b/drivers/perf/Kconfig @@ -32,4 +32,12 @@ config ARM_PMU_ACPI def_bool y depends on ARM_PMU && ACPI +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