Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S933015AbcLGQ5N (ORCPT ); Wed, 7 Dec 2016 11:57:13 -0500 Received: from mail-pf0-f194.google.com ([209.85.192.194]:35001 "EHLO mail-pf0-f194.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932759AbcLGQ5J (ORCPT ); Wed, 7 Dec 2016 11:57:09 -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, linuxarm@huawei.com, shyju.pv@huawei.com, anurupvasu@gmail.com Subject: [PATCH v2 05/10] perf: hisi: Update Kconfig for Hisilicon PMU support Date: Wed, 7 Dec 2016 11:56:58 -0500 Message-Id: <1481129818-159626-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: 871 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..2befa55 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 "Enable hardware event counter support for HiSilicon SoC" + depends on HW_PERF_EVENTS && ARM64 + help + Enable hardware event counter support for hardware event counters + in Hisilicon hip05/06/07 SoC. The hardware modules like L3C, MN and + DDRC have hardware events and counters. + endmenu -- 2.1.4