From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-8.7 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,MAILING_LIST_MULTI,SIGNED_OFF_BY, SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED,USER_AGENT_SANE_1 autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 6C4BDC433E2 for ; Mon, 7 Sep 2020 10:45:17 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 2A46320738 for ; Mon, 7 Sep 2020 10:45:17 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1599475517; bh=7SHeUOONq1ESlkt5d2PJb9hKuT6Sg1Zy90mIQgARjc8=; h=Date:From:To:Cc:Subject:References:In-Reply-To:List-ID:From; b=lkXfDhAa71mCZXR18PcsQJXf+99x0yxRTdPlgeK5JNY3WHZoK2F5K4GFk7/dULkob iMT52411Ga+O2ShRMepFLvdIUdS0I0pGLhwZi83zkdT9SYjomQ4J8/p8wVHtYzDmRN C+78a+hGSlI8HP9UEHe0UFYFOvhZUqxR3DhHJbLQ= Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728622AbgIGKpQ (ORCPT ); Mon, 7 Sep 2020 06:45:16 -0400 Received: from mail.kernel.org ([198.145.29.99]:38626 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728509AbgIGKpO (ORCPT ); Mon, 7 Sep 2020 06:45:14 -0400 Received: from willie-the-truck (236.31.169.217.in-addr.arpa [217.169.31.236]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 4EA0C20768; Mon, 7 Sep 2020 10:45:12 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1599475513; bh=7SHeUOONq1ESlkt5d2PJb9hKuT6Sg1Zy90mIQgARjc8=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=saSQ18vTUtNhzccz1D42hswaeJ/JG3pqskOgBdVKbUrDRqCgAmyTM2cE+rVwerkGU UEW1yFzPqmb1xWRwyEsIgasJr302eB5SMc2FdwzamRbNzyHXHZG1q7/sr66DR4BQ6V KiD8Hp9RfmNjP6CcLqtPERdD2Ib3++PPEDHfED8g= Date: Mon, 7 Sep 2020 11:45:09 +0100 From: Will Deacon To: Robin Murphy Cc: mark.rutland@arm.com, linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org, alisaidi@amazon.com, tsahee@amazon.com, harb@amperecomputing.com, tuanphan@os.amperecomputing.com, james.yang@arm.com Subject: Re: [PATCH 2/2] perf: Add Arm CMN-600 PMU driver Message-ID: <20200907104508.GC11970@willie-the-truck> References: <7f184a18890ef20632eae98b6c105c36f4eb0cd3.1596631695.git.robin.murphy@arm.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <7f184a18890ef20632eae98b6c105c36f4eb0cd3.1596631695.git.robin.murphy@arm.com> User-Agent: Mutt/1.10.1 (2018-07-13) Sender: devicetree-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org On Wed, Aug 05, 2020 at 01:56:50PM +0100, Robin Murphy wrote: > Initial driver for PMU event counting on the Arm CMN-600 interconnect. > CMN sports an obnoxiously complex distributed PMU system as part of > its debug and trace features, which can do all manner of things like > sampling, cross-triggering and generating CoreSight trace. This driver > covers the PMU functionality, plus the relevant aspects of watchpoints > for simply counting matching flits. > > Signed-off-by: Robin Murphy > --- > Documentation/admin-guide/perf/arm-cmn.rst | 65 + > Documentation/admin-guide/perf/index.rst | 1 + > drivers/perf/Kconfig | 7 + > drivers/perf/Makefile | 1 + > drivers/perf/arm-cmn.c | 1653 ++++++++++++++++++++ > 5 files changed, 1727 insertions(+) > create mode 100644 Documentation/admin-guide/perf/arm-cmn.rst > create mode 100644 drivers/perf/arm-cmn.c I'm assuming some of the folks on cc care about this, so it would be great to get some reviews, tested-bys and comments on the questions in the cover letter. Cheers, Will From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-8.6 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,MAILING_LIST_MULTI,SIGNED_OFF_BY,SPF_HELO_NONE, SPF_PASS,URIBL_BLOCKED,USER_AGENT_SANE_1 autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 97485C43461 for ; Mon, 7 Sep 2020 10:46:27 +0000 (UTC) Received: from merlin.infradead.org (merlin.infradead.org [205.233.59.134]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 4FC8E20738 for ; Mon, 7 Sep 2020 10:46:27 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="skXijfDQ"; dkim=fail reason="signature verification failed" (1024-bit key) header.d=kernel.org header.i=@kernel.org header.b="saSQ18vT" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 4FC8E20738 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=kernel.org Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=merlin.20170209; h=Sender:Content-Transfer-Encoding: Content-Type:Cc:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:In-Reply-To:MIME-Version:References:Message-ID: Subject:To:From:Date:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=Pi60Xp6rEssptNe+nYuQj4XKEC1rNvLEGL+2rdjN6o0=; b=skXijfDQOd/RBQKvvm0bbgqxI ZG/GMN8nf8zKa1nCF3GPpEwoX6onOdP/uzWlh6de3WovgN9XNas4nvmP+6sNXE4wPF2wVas2Aav1k hz/KinkR2vLV7SVkkyl4fxMKszydViZutT0FA2FrykejqTjfsXEiz4/8TdkcfXBGcsk6agSxdTZ4P PK6K2FLhVqqkesuJ3cGtAXo/Pw3sfcLlCF6fciFuUliwS1BHvXzJHTqGWgJqY1wXTXUAkWIhTZPWF GAx7x+ufetqm9o+9Xg114fZTFrw2rEjxREQYlbctOKzLBzPOrpytJFw67l1VrCusCkVX/cil0PgSu mKyOr5JGg==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1kFEeC-0001D2-Qb; Mon, 07 Sep 2020 10:45:16 +0000 Received: from mail.kernel.org ([198.145.29.99]) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1kFEeA-0001CX-Gp for linux-arm-kernel@lists.infradead.org; Mon, 07 Sep 2020 10:45:15 +0000 Received: from willie-the-truck (236.31.169.217.in-addr.arpa [217.169.31.236]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 4EA0C20768; Mon, 7 Sep 2020 10:45:12 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1599475513; bh=7SHeUOONq1ESlkt5d2PJb9hKuT6Sg1Zy90mIQgARjc8=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=saSQ18vTUtNhzccz1D42hswaeJ/JG3pqskOgBdVKbUrDRqCgAmyTM2cE+rVwerkGU UEW1yFzPqmb1xWRwyEsIgasJr302eB5SMc2FdwzamRbNzyHXHZG1q7/sr66DR4BQ6V KiD8Hp9RfmNjP6CcLqtPERdD2Ib3++PPEDHfED8g= Date: Mon, 7 Sep 2020 11:45:09 +0100 From: Will Deacon To: Robin Murphy Subject: Re: [PATCH 2/2] perf: Add Arm CMN-600 PMU driver Message-ID: <20200907104508.GC11970@willie-the-truck> References: <7f184a18890ef20632eae98b6c105c36f4eb0cd3.1596631695.git.robin.murphy@arm.com> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <7f184a18890ef20632eae98b6c105c36f4eb0cd3.1596631695.git.robin.murphy@arm.com> User-Agent: Mutt/1.10.1 (2018-07-13) X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20200907_064514_610426_0CEA30A6 X-CRM114-Status: GOOD ( 17.69 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: mark.rutland@arm.com, devicetree@vger.kernel.org, tuanphan@os.amperecomputing.com, tsahee@amazon.com, harb@amperecomputing.com, linux-arm-kernel@lists.infradead.org, james.yang@arm.com, alisaidi@amazon.com Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org On Wed, Aug 05, 2020 at 01:56:50PM +0100, Robin Murphy wrote: > Initial driver for PMU event counting on the Arm CMN-600 interconnect. > CMN sports an obnoxiously complex distributed PMU system as part of > its debug and trace features, which can do all manner of things like > sampling, cross-triggering and generating CoreSight trace. This driver > covers the PMU functionality, plus the relevant aspects of watchpoints > for simply counting matching flits. > > Signed-off-by: Robin Murphy > --- > Documentation/admin-guide/perf/arm-cmn.rst | 65 + > Documentation/admin-guide/perf/index.rst | 1 + > drivers/perf/Kconfig | 7 + > drivers/perf/Makefile | 1 + > drivers/perf/arm-cmn.c | 1653 ++++++++++++++++++++ > 5 files changed, 1727 insertions(+) > create mode 100644 Documentation/admin-guide/perf/arm-cmn.rst > create mode 100644 drivers/perf/arm-cmn.c I'm assuming some of the folks on cc care about this, so it would be great to get some reviews, tested-bys and comments on the questions in the cover letter. Cheers, Will _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel