Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S965679AbcDLUV3 (ORCPT ); Tue, 12 Apr 2016 16:21:29 -0400 Received: from foss.arm.com ([217.140.101.70]:58117 "EHLO foss.arm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S965266AbcDLUV2 (ORCPT ); Tue, 12 Apr 2016 16:21:28 -0400 From: Jeremy Linton To: linux-kernel@vger.kernel.org Cc: will.deacon@arm.com, mark.rutland@arm.com, peterz@infradead.org, mingo@redhat.com, catalin.marinas@arm.com, msalter@redhat.com, timur@codeaurora.org, nleeder@codeaurora.org, agustinv@codeaurora.org, sfr@canb.auug.org.au, jan.glauber@gmail.com, Jeremy Linton Subject: [PATCH 0/6 v4] arm64/perf: Add ACPI support Date: Tue, 12 Apr 2016 15:21:05 -0500 Message-Id: <1460492471-15527-1-git-send-email-jeremy.linton@arm.com> X-Mailer: git-send-email 2.4.3 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1422 Lines: 43 v3->v4: Correct build issues with ARM (!ARM64) kernels. Add ThunderX to list of PMU types. v3: Enable ARM performance monitoring units on ACPI/arm64 machines. This patch expands and reworks the patches published by Mark Salter in order to clean up a few of the previous review comments, as well as add support for newer CPUs and big/little configurations. I've been testing this patch in concert with an assortment of ACPI patches to enable things like PCIe. Its been tested on juno, seattle and some xgene systems. Thanks, *** BLURB HERE *** Jeremy Linton (3): arm: arm64: Add routine to determine cpuid of other cpus arm64: pmu: Add ACPI support for A72 and ThunderX arm64: pmu: Detect multiple PMU types in an ACPI system Mark Salter (3): arm: pmu: Fix non-devicetree probing arm64: pmu: add fallback probe table arm64: pmu: Add support for probing with ACPI arch/arm/include/asm/cputype.h | 4 + arch/arm64/include/asm/cputype.h | 4 + arch/arm64/kernel/perf_event.c | 12 ++- arch/arm64/kernel/smp.c | 5 + drivers/perf/Kconfig | 4 + drivers/perf/Makefile | 1 + drivers/perf/arm_pmu.c | 51 ++++++++-- drivers/perf/arm_pmu_acpi.c | 213 +++++++++++++++++++++++++++++++++++++++ include/linux/perf/arm_pmu.h | 10 ++ 9 files changed, 293 insertions(+), 11 deletions(-) create mode 100644 drivers/perf/arm_pmu_acpi.c -- 2.4.3