Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756106AbcKBPoy (ORCPT ); Wed, 2 Nov 2016 11:44:54 -0400 Received: from mail-pf0-f196.google.com ([209.85.192.196]:36662 "EHLO mail-pf0-f196.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755676AbcKBPou (ORCPT ); Wed, 2 Nov 2016 11:44:50 -0400 From: Anurup M X-Google-Original-From: Anurup M To: anurup.m@huawei.com, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Cc: will.deacon@arm.com, mark.rutland@arm.com, zhangshaokun@hisilicon.com, xuwei5@hisilicon.com, john.garry@huawei.com, gabriele.paoloni@huawei.com, sanil.kumar@hisilicon.com, shyju.pv@huawei.com, tanxiaojun@huawei.com, shiju.jose@huawei.com, linuxarm@huawei.com Subject: [PATCH v1 06/11] perf: hisi: Update Kconfig for Hisilicon PMU support Date: Wed, 2 Nov 2016 11:42:49 -0400 Message-Id: <1478101374-18778-7-git-send-email-anurup.m@huawei.com> X-Mailer: git-send-email 2.1.4 In-Reply-To: <1478101374-18778-1-git-send-email-anurup.m@huawei.com> References: <1478101374-18778-1-git-send-email-anurup.m@huawei.com> Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 900 Lines: 29 1. 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 | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/drivers/perf/Kconfig b/drivers/perf/Kconfig index 4d5c5f9..da8dd97 100644 --- a/drivers/perf/Kconfig +++ b/drivers/perf/Kconfig @@ -19,4 +19,13 @@ 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 + depends on HISI_DJTAG + 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