From patchwork Mon Jun 5 15:22:52 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Will Deacon X-Patchwork-Id: 102729 Delivered-To: patch@linaro.org Received: by 10.140.91.77 with SMTP id y71csp968916qgd; Mon, 5 Jun 2017 08:23:41 -0700 (PDT) X-Received: by 10.99.98.6 with SMTP id w6mr6014782pgb.207.1496676221547; Mon, 05 Jun 2017 08:23:41 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1496676221; cv=none; d=google.com; s=arc-20160816; b=aRf22ynkC9ry/s2PGTP/ZHclG2fnokkcE7fZeQWZSAuteJHqAkdVwVuVVMyn6R0lgn YqZgcaZpbDCVQObUPdt7BKRLRBoI/pLoDnP31q0BMhc9XTHBRGwE/wifeto4F3p82LWa 9DKc6moabXYRK2PAmdS9i2lgbWBNL5G4qU44yID4RBPCaZl60oDen5yVv9U2zFyJcLYg UJFBEHvyw0JoEQ+gHrzvUAjiZn6bzJOrGLYUGVZfrKpKcZNN7YEduoNrKiBhU7IIdgH8 YrxFa1Xy+rGFX5AVJgKSNALfXp8twCWB6idMZ+1T81zMXZIS4wTBQX1nPFNWk7Wyb608 M5/A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:date:subject:cc:to:from :arc-authentication-results; bh=lVR5T+7S4u7+aMFF++keoWg4d355oiK5EVVOtRBhgO8=; b=WoqavURhvor6TbCUqSBBY6fNaUIX3Jh1V8KetM9NiFdIjsY8V1IarHGR8FghHe2RHv XAA3doNlYtVG5KCunrWL/f5gwDxLK0qSQ2/g0rVV0ClG4ivWYEOpWjFGTLAnjFXF0VRX EbjJq/YUHKN+cQ9xG614LzuLBB7ylc7WcBbR19BdX8vaC1ipjZM3fkZlvQmGeEvgdVJM jhnqijAsYSjwJ18doLk68w0/cgh7aPxWxBSCLHoeTlKl4sWpCWeLbh1x+Rvqo+jJ4BiF GJpkhLYxt3VtTLkURxC53wnteQkt8nPUqcRdEw2D8bS3KcqV0VpPtwJjlXrpnU68ch0j WOFQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id o71si31152109pfa.58.2017.06.05.08.23.40; Mon, 05 Jun 2017 08:23:41 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751332AbdFEPWx (ORCPT + 25 others); Mon, 5 Jun 2017 11:22:53 -0400 Received: from foss.arm.com ([217.140.101.70]:34124 "EHLO foss.arm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751112AbdFEPWv (ORCPT ); Mon, 5 Jun 2017 11:22:51 -0400 Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.72.51.249]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id 24F69344; Mon, 5 Jun 2017 08:22:51 -0700 (PDT) Received: from edgewater-inn.cambridge.arm.com (usa-sjc-imap-foss1.foss.arm.com [10.72.51.249]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPA id E9CEC3F25D; Mon, 5 Jun 2017 08:22:50 -0700 (PDT) Received: by edgewater-inn.cambridge.arm.com (Postfix, from userid 1000) id 3297A1AE0EF7; Mon, 5 Jun 2017 16:22:58 +0100 (BST) From: Will Deacon To: linux-arm-kernel@lists.infradead.org Cc: marc.zyngier@arm.com, mark.rutland@arm.com, kim.phillips@arm.com, tglx@linutronix.de, peterz@infradead.org, alexander.shishkin@linux.intel.com, robh@kernel.org, suzuki.poulose@arm.com, pawel.moll@arm.com, mathieu.poirier@linaro.org, mingo@redhat.com, linux-kernel@vger.kernel.org, Will Deacon Subject: [PATCH v4 0/5] Add support for the ARMv8.2 Statistical Profiling Extension Date: Mon, 5 Jun 2017 16:22:52 +0100 Message-Id: <1496676177-29356-1-git-send-email-will.deacon@arm.com> X-Mailer: git-send-email 2.1.4 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi all, This is the sixth posting of the patches previously posted here: rfcv1: http://lists.infradead.org/pipermail/linux-arm-kernel/2017-January/476450.html rfcv2: http://lists.infradead.org/pipermail/linux-arm-kernel/2017-January/479387.html v1: http://lists.infradead.org/pipermail/linux-arm-kernel/2017-January/483684.html v2: http://lists.infradead.org/pipermail/linux-arm-kernel/2017-April/499938.html v3: http://lists.infradead.org/pipermail/linux-arm-kernel/2017-May/507132.html The main change since v3 is that I have reworked and fixed the CPU hotplug and notifier bits, in light of review comments from tglx. The architecture documentation is available here: https://developer.arm.com/products/architecture/a-profile/docs/ddi0586/latest/arm-architecture-reference-manual-supplement-statistical-profiling-extension-for-armv8-a and there's a high-level overview on this official ARM blog: https://community.arm.com/processors/b/blog/posts/statistical-profiling-extension-for-armv8-a All comments welcome, Will Will Deacon (5): genirq: export irq_get_percpu_devid_partition to modules perf/core: Export AUX buffer helpers to modules perf/core: Add PERF_AUX_FLAG_COLLISION to report colliding samples drivers/perf: Add support for ARMv8.2 Statistical Profiling Extension dt-bindings: Document devicetree binding for ARM SPE Documentation/devicetree/bindings/arm/spe-pmu.txt | 20 + drivers/perf/Kconfig | 8 + drivers/perf/Makefile | 1 + drivers/perf/arm_spe_pmu.c | 1243 +++++++++++++++++++++ include/uapi/linux/perf_event.h | 1 + kernel/events/ring_buffer.c | 4 + kernel/irq/irqdesc.c | 1 + 7 files changed, 1278 insertions(+) create mode 100644 Documentation/devicetree/bindings/arm/spe-pmu.txt create mode 100644 drivers/perf/arm_spe_pmu.c -- 2.1.4