Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755889AbcKBPnq (ORCPT ); Wed, 2 Nov 2016 11:43:46 -0400 Received: from mail-pf0-f194.google.com ([209.85.192.194]:33567 "EHLO mail-pf0-f194.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754875AbcKBPno (ORCPT ); Wed, 2 Nov 2016 11:43:44 -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 00/11] perf: arm64: Support for Hisilicon SoC Hardware event counters Date: Wed, 2 Nov 2016 11:42:43 -0400 Message-Id: <1478101374-18778-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: 3827 Lines: 79 Provide Support for Hisilicon SoC(Hip05/06/07) Hardware event counters. The Hisilicon SoC Hip0x series has many uncore or non-CPU performance events and counters units. This initial patch series is implemented refering to arm-cci, Intel/AMD uncore and also the cavium thunderX and xgene uncore pmu patches. Support for Hisilicon L3 cache(L3C), MN and DDR hardware events and counters are added in this implementation. The Hisilicon uncore PMUs can be found under /sys/bus/event_source/devices. The counters are exported via sysfs in the corresponding events files under the PMU directory so the perf tool can list the event names. ToDo: 1) The counter overflow handling is currently unsupported in this patch series. 2) ACPI support. Anurup M (8): arm64: MAINTAINERS: hisi: Add hisilicon SoC PMU support Documentation: perf: hisi: Documentation for HIP05/06/07 PMU event counting. dt-bindings: perf: hisi: Add Devicetree bindings for Hisilicon SoC PMU perf: hisi: Update Kconfig for Hisilicon PMU support perf: hisi: Add support for Hisilicon SoC event counters perf: hisi: Add sysfs attributes for L3 cache(L3C) PMU perf: hisi: Support for Hisilicon DDRC PMU. dts: arm64: hip06: Add Hisilicon SoC PMU support Shaokun Zhang (1): perf: hisi: Miscellanous node(MN) event counting in perf Tan Xiaojun (2): dt-bindings: hisi: Add Hisilicon HiP05/06/07 Sysctrl and Djtag dts bindings drivers: soc: hisi: Add support for Hisilicon Djtag driver .../bindings/arm/hisilicon/hisilicon.txt | 82 +++ .../devicetree/bindings/arm/hisilicon/pmu.txt | 127 ++++ Documentation/perf/hisi-pmu.txt | 80 +++ MAINTAINERS | 10 + arch/arm64/boot/dts/hisilicon/hip06.dtsi | 116 ++++ drivers/perf/Kconfig | 9 + drivers/perf/Makefile | 1 + drivers/perf/hisilicon/Makefile | 1 + drivers/perf/hisilicon/hisi_uncore_ddrc.c | 444 ++++++++++++++ drivers/perf/hisilicon/hisi_uncore_ddrc.h | 73 +++ drivers/perf/hisilicon/hisi_uncore_l3c.c | 628 ++++++++++++++++++++ drivers/perf/hisilicon/hisi_uncore_l3c.h | 67 +++ drivers/perf/hisilicon/hisi_uncore_mn.c | 571 ++++++++++++++++++ drivers/perf/hisilicon/hisi_uncore_mn.h | 68 +++ drivers/perf/hisilicon/hisi_uncore_pmu.c | 371 ++++++++++++ drivers/perf/hisilicon/hisi_uncore_pmu.h | 130 +++++ drivers/soc/Kconfig | 1 + drivers/soc/Makefile | 1 + drivers/soc/hisilicon/Kconfig | 12 + drivers/soc/hisilicon/Makefile | 1 + drivers/soc/hisilicon/djtag.c | 639 +++++++++++++++++++++ include/linux/soc/hisilicon/djtag.h | 38 ++ 22 files changed, 3470 insertions(+) create mode 100644 Documentation/devicetree/bindings/arm/hisilicon/pmu.txt create mode 100644 Documentation/perf/hisi-pmu.txt create mode 100644 drivers/perf/hisilicon/Makefile create mode 100644 drivers/perf/hisilicon/hisi_uncore_ddrc.c create mode 100644 drivers/perf/hisilicon/hisi_uncore_ddrc.h create mode 100644 drivers/perf/hisilicon/hisi_uncore_l3c.c create mode 100644 drivers/perf/hisilicon/hisi_uncore_l3c.h create mode 100644 drivers/perf/hisilicon/hisi_uncore_mn.c create mode 100644 drivers/perf/hisilicon/hisi_uncore_mn.h create mode 100644 drivers/perf/hisilicon/hisi_uncore_pmu.c create mode 100644 drivers/perf/hisilicon/hisi_uncore_pmu.h create mode 100644 drivers/soc/hisilicon/Kconfig create mode 100644 drivers/soc/hisilicon/Makefile create mode 100644 drivers/soc/hisilicon/djtag.c create mode 100644 include/linux/soc/hisilicon/djtag.h -- 2.1.4