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=-10.8 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_PATCH, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS autolearn=unavailable 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 9F0DCC433ED for ; Thu, 15 Apr 2021 21:28:01 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 8078E60FDB for ; Thu, 15 Apr 2021 21:28:01 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235979AbhDOV2X (ORCPT ); Thu, 15 Apr 2021 17:28:23 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45542 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235046AbhDOV2W (ORCPT ); Thu, 15 Apr 2021 17:28:22 -0400 Received: from mail-pj1-x102e.google.com (mail-pj1-x102e.google.com [IPv6:2607:f8b0:4864:20::102e]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 52C8EC061574 for ; Thu, 15 Apr 2021 14:27:57 -0700 (PDT) Received: by mail-pj1-x102e.google.com with SMTP id x21-20020a17090a5315b029012c4a622e4aso13436117pjh.2 for ; Thu, 15 Apr 2021 14:27:57 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to; bh=drWG6gLa1ZmG69Bf/dCzVYRHQhXRC+T+Z0hEFI6MLLg=; b=Xyyk4OOugjuSzuE53yCAJdQpci5TujpnnDgW2gWttrTDCCEge4wnyXXJDObYPi5QMk 7dC67O1Gij9bZhhvrseh/zQb5fAq9KaIVzoNYAA4zAkeh8lGXILOPECPpN0eHEkJco0K dK4DS3t0NyphXwf4zvqQN5zlmUhBpfYfSUvv5HEl7K9xNe99521KfNj4VxblmFWMcEhl FyYYGSaDS14117+P5+HHXM2owtyYjajbC8OSx+/n0GOm79P6LeqjvO2bpT+qLEAkwnOs 6jVA6DD7vWTzyYUEPE2m0YVrMUE43uugwY2es0Xl8fPBQr4QjDntJOuDx5OKLL0SrIq7 SqPA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to; bh=drWG6gLa1ZmG69Bf/dCzVYRHQhXRC+T+Z0hEFI6MLLg=; b=L5Y5n5S4eA5MCpXNh3p11WmsKdN2icjLAHuxtnQiLmQcXtxCQsTcsCcE2KlTH+qrsQ IA6sS8i5jGuzq2CoLM6PIBwPWIR7IzLBV+h54AkhbToCiWRxYrYtORnIjWJjeM/nJ2/m GjaU4/U4qUPjqkmamyPjNFyFnd+UCWmdOORgWD2I31SoIBb5x8HE4PUrBvNXclmx91ro 0b23XDJxLqKS3EApi9hT4iI8WdP1p53emEi53H7PvFAePAg6Uh0AT8s7SJVcs2GbuH+V jy8xN5viTE6w/GQKLtDr6UjzMDs2qwaZv0Gs03d14YDJKTIjExrMpav+IBjl/q9pgeTY 7w0g== X-Gm-Message-State: AOAM532FHOI7c4JD8b3qmm9XWu1KR2DJ70g+Kc3KJWAHashijFbjnzHr oNiLS3WKePYF0JAdujYwhyHZWw== X-Google-Smtp-Source: ABdhPJyAEcufAnyndGeTLg0yNjYeNOmRJY8VMmP8IoNCy6iQ6tyNjoJ99RHGQvDTl5FPZ3rAyJ/dNg== X-Received: by 2002:a17:902:d488:b029:e9:9ecb:19f0 with SMTP id c8-20020a170902d488b02900e99ecb19f0mr5904843plg.26.1618522076888; Thu, 15 Apr 2021 14:27:56 -0700 (PDT) Received: from xps15 (S0106889e681aac74.cg.shawcable.net. [68.147.0.187]) by smtp.gmail.com with ESMTPSA id t3sm2927761pfg.176.2021.04.15.14.27.55 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 15 Apr 2021 14:27:56 -0700 (PDT) Date: Thu, 15 Apr 2021 15:27:54 -0600 From: Mathieu Poirier To: Mike Leach Cc: linux-arm-kernel@lists.infradead.org, coresight@lists.linaro.org, linux-doc@vger.kernel.org, suzuki.poulose@arm.com, yabinc@google.com, corbet@lwn.net, leo.yan@linaro.org, alexander.shishkin@linux.intel.com, tingwei@codeaurora.org, gregkh@linuxfoundation.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH v7 00/10] CoreSight configuration management; ETM strobing Message-ID: <20210415212754.GF937505@xps15> References: <20210414191903.18349-1-mike.leach@linaro.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20210414191903.18349-1-mike.leach@linaro.org> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org [...] > > Mike Leach (10): > coresight: syscfg: Initial coresight system configuration > coresight: syscfg: Add registration and feature loading for cs devices > coresight: config: Add configuration and feature generic functions > coresight: etm-perf: update to handle configuration selection > coresight: syscfg: Add API to activate and enable configurations > coresight: etm-perf: Update to activate selected configuration > coresight: etm4x: Add complex configuration handlers to etmv4 > coresight: config: Add preloaded configurations > coresight: syscfg: Add initial configfs support > Documentation: coresight: Add documentation for CoreSight config > > .../trace/coresight/coresight-config.rst | 244 ++++++ > Documentation/trace/coresight/coresight.rst | 16 + > drivers/hwtracing/coresight/Makefile | 7 +- > .../hwtracing/coresight/coresight-cfg-afdo.c | 153 ++++ > .../coresight/coresight-cfg-preload.c | 31 + > .../coresight/coresight-cfg-preload.h | 13 + > .../hwtracing/coresight/coresight-config.c | 275 ++++++ > .../hwtracing/coresight/coresight-config.h | 253 ++++++ > drivers/hwtracing/coresight/coresight-core.c | 12 +- > .../hwtracing/coresight/coresight-etm-perf.c | 150 +++- > .../hwtracing/coresight/coresight-etm-perf.h | 12 +- > .../hwtracing/coresight/coresight-etm4x-cfg.c | 182 ++++ > .../hwtracing/coresight/coresight-etm4x-cfg.h | 30 + > .../coresight/coresight-etm4x-core.c | 38 +- > .../coresight/coresight-etm4x-sysfs.c | 3 + > .../coresight/coresight-syscfg-configfs.c | 396 +++++++++ > .../coresight/coresight-syscfg-configfs.h | 45 + > .../hwtracing/coresight/coresight-syscfg.c | 804 ++++++++++++++++++ > .../hwtracing/coresight/coresight-syscfg.h | 81 ++ > include/linux/coresight.h | 7 + > 20 files changed, 2716 insertions(+), 36 deletions(-) > create mode 100644 Documentation/trace/coresight/coresight-config.rst > create mode 100644 drivers/hwtracing/coresight/coresight-cfg-afdo.c > create mode 100644 drivers/hwtracing/coresight/coresight-cfg-preload.c > create mode 100644 drivers/hwtracing/coresight/coresight-cfg-preload.h > create mode 100644 drivers/hwtracing/coresight/coresight-config.c > create mode 100644 drivers/hwtracing/coresight/coresight-config.h > create mode 100644 drivers/hwtracing/coresight/coresight-etm4x-cfg.c > create mode 100644 drivers/hwtracing/coresight/coresight-etm4x-cfg.h > create mode 100644 drivers/hwtracing/coresight/coresight-syscfg-configfs.c > create mode 100644 drivers/hwtracing/coresight/coresight-syscfg-configfs.h > create mode 100644 drivers/hwtracing/coresight/coresight-syscfg.c > create mode 100644 drivers/hwtracing/coresight/coresight-syscfg.h > I have added this set to next-ETE-TRBE where it will be rebased to v5.13-rc1 when it comes out. Thanks, Mathieu > -- > 2.17.1 > 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.8 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_PATCH, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED autolearn=unavailable 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 A7629C433B4 for ; Thu, 15 Apr 2021 21:30:11 +0000 (UTC) Received: from desiato.infradead.org (desiato.infradead.org [90.155.92.199]) (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 228DD61004 for ; Thu, 15 Apr 2021 21:30:11 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 228DD61004 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=linaro.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=desiato.20200630; h=Sender:Content-Transfer-Encoding :Content-Type:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:In-Reply-To:MIME-Version:References:Message-ID: Subject:Cc: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=f6hg/e2bfk/VRNQy/cKNvNpp+8TQgmm+k68ondwNFzI=; b=TCmPBKhNIQwrK1sK+gFbytnBF TJ6PbkBGy6sWnfgOpavV3vKXgsYb4j1TPQ+ucboMNopfQmEm60gIWkje5ZjKGrX6PyBwVYkYkBLVn 8oxKUASBMcAJu439+YfUUiRrMtgbGaJZVxN5+NraEQSbgQExRYQSHEDIY85IkMHMC9T/NYkAo/6dH M2TE7cJZ4NSeABz4ADGjxm2vNbfmNjPHINlFy5XYcPK0C1HVjqVmkjZNr5e9QrHUIdAU0v+LH6wJZ c+K3bksVIUJSoROjNgxOlCAzGr+BO22JMu2K7uJwDZCMO5CCDbykfeDCCQ2AWkvlesrIvNVDchllo TdxYgQdtw==; Received: from localhost ([::1] helo=desiato.infradead.org) by desiato.infradead.org with esmtp (Exim 4.94 #2 (Red Hat Linux)) id 1lX9Wv-00HPSK-RW; Thu, 15 Apr 2021 21:28:06 +0000 Received: from bombadil.infradead.org ([2607:7c80:54:e::133]) by desiato.infradead.org with esmtps (Exim 4.94 #2 (Red Hat Linux)) id 1lX9Wq-00HPRx-Bz for linux-arm-kernel@desiato.infradead.org; Thu, 15 Apr 2021 21:28:01 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=bombadil.20210309; h=In-Reply-To:Content-Type:MIME-Version :References:Message-ID:Subject:Cc:To:From:Date:Sender:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description; bh=drWG6gLa1ZmG69Bf/dCzVYRHQhXRC+T+Z0hEFI6MLLg=; b=ihRojyoW936oXc78K+7UfQiCt1 ClkzDquZSBkO8Sq0F5CurszYip+C+/AfBOWzjsZ0aYEnq8u560oQ6nkiarAdtF7Iw74nBnl2Dx+9a VsldMuCVjEgwGe5BVkrx6dE1I69Falgt0RWtKicK8a3/cQDiW7gNmCsO9EtNB8q1FGMfhtH0wKaY3 CeJ+IdKzqy6JgOzCSsM1MNENYba0010Iry9ZMvR7UG0aOoVH7V3YfELnL40/UqwmRU52BEhZdAs4U IFWGOHq7yfptnSr+HOSHhUiZ0ar5sXt0Vr9U5jtR1WmtDYiwrCFmlfG7FRu4wgABA8fNi3KtVgOiQ AQcqtaqA==; Received: from mail-pj1-x1032.google.com ([2607:f8b0:4864:20::1032]) by bombadil.infradead.org with esmtps (Exim 4.94 #2 (Red Hat Linux)) id 1lX9Wn-008u88-LE for linux-arm-kernel@lists.infradead.org; Thu, 15 Apr 2021 21:27:59 +0000 Received: by mail-pj1-x1032.google.com with SMTP id kb13-20020a17090ae7cdb02901503d67f0beso2032742pjb.0 for ; Thu, 15 Apr 2021 14:27:57 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to; bh=drWG6gLa1ZmG69Bf/dCzVYRHQhXRC+T+Z0hEFI6MLLg=; b=Xyyk4OOugjuSzuE53yCAJdQpci5TujpnnDgW2gWttrTDCCEge4wnyXXJDObYPi5QMk 7dC67O1Gij9bZhhvrseh/zQb5fAq9KaIVzoNYAA4zAkeh8lGXILOPECPpN0eHEkJco0K dK4DS3t0NyphXwf4zvqQN5zlmUhBpfYfSUvv5HEl7K9xNe99521KfNj4VxblmFWMcEhl FyYYGSaDS14117+P5+HHXM2owtyYjajbC8OSx+/n0GOm79P6LeqjvO2bpT+qLEAkwnOs 6jVA6DD7vWTzyYUEPE2m0YVrMUE43uugwY2es0Xl8fPBQr4QjDntJOuDx5OKLL0SrIq7 SqPA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to; bh=drWG6gLa1ZmG69Bf/dCzVYRHQhXRC+T+Z0hEFI6MLLg=; b=Av5vkhKXll6qiobjyKspR1AUGEtS99Tguo2dYjxvlV9Cubwyh9aZFhlRFMSKl+QlG+ BRkDz8JMzRs6OQEfkZ7Wak7vCJnzZyykeue8k7ytGR+A5liGiJjr8+WkOizTCHfrE9WR xNw8TWdYWPexEgjFUw4qvqjVt835lHU7/aRYbckWtYoN65RNLIFSCjqHycFWWsVhug3o O0oSgvDg7daieHzbrY+nvMwRhRJumdur1jlsi2sp5tfKBp4FZ6vFz8kODjVhXQu6gFYu ibbMZ7RVvQIywO9q2f2wcSL+UaZGDMWrbLKOlCTI+eyiyS+OzXEzHkUgn0UdvUWUP44Z hvpA== X-Gm-Message-State: AOAM530CBaE0up2fJ+J2NhaQ5MOTivFyu1ZI3X5cvgyydxXjB3FGbhz/ ln//rDxGd90WgqtPtdkcZaiqEw== X-Google-Smtp-Source: ABdhPJyAEcufAnyndGeTLg0yNjYeNOmRJY8VMmP8IoNCy6iQ6tyNjoJ99RHGQvDTl5FPZ3rAyJ/dNg== X-Received: by 2002:a17:902:d488:b029:e9:9ecb:19f0 with SMTP id c8-20020a170902d488b02900e99ecb19f0mr5904843plg.26.1618522076888; Thu, 15 Apr 2021 14:27:56 -0700 (PDT) Received: from xps15 (S0106889e681aac74.cg.shawcable.net. [68.147.0.187]) by smtp.gmail.com with ESMTPSA id t3sm2927761pfg.176.2021.04.15.14.27.55 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 15 Apr 2021 14:27:56 -0700 (PDT) Date: Thu, 15 Apr 2021 15:27:54 -0600 From: Mathieu Poirier To: Mike Leach Cc: linux-arm-kernel@lists.infradead.org, coresight@lists.linaro.org, linux-doc@vger.kernel.org, suzuki.poulose@arm.com, yabinc@google.com, corbet@lwn.net, leo.yan@linaro.org, alexander.shishkin@linux.intel.com, tingwei@codeaurora.org, gregkh@linuxfoundation.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH v7 00/10] CoreSight configuration management; ETM strobing Message-ID: <20210415212754.GF937505@xps15> References: <20210414191903.18349-1-mike.leach@linaro.org> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20210414191903.18349-1-mike.leach@linaro.org> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20210415_142757_787357_E56D55A2 X-CRM114-Status: GOOD ( 12.37 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , 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 [...] > > Mike Leach (10): > coresight: syscfg: Initial coresight system configuration > coresight: syscfg: Add registration and feature loading for cs devices > coresight: config: Add configuration and feature generic functions > coresight: etm-perf: update to handle configuration selection > coresight: syscfg: Add API to activate and enable configurations > coresight: etm-perf: Update to activate selected configuration > coresight: etm4x: Add complex configuration handlers to etmv4 > coresight: config: Add preloaded configurations > coresight: syscfg: Add initial configfs support > Documentation: coresight: Add documentation for CoreSight config > > .../trace/coresight/coresight-config.rst | 244 ++++++ > Documentation/trace/coresight/coresight.rst | 16 + > drivers/hwtracing/coresight/Makefile | 7 +- > .../hwtracing/coresight/coresight-cfg-afdo.c | 153 ++++ > .../coresight/coresight-cfg-preload.c | 31 + > .../coresight/coresight-cfg-preload.h | 13 + > .../hwtracing/coresight/coresight-config.c | 275 ++++++ > .../hwtracing/coresight/coresight-config.h | 253 ++++++ > drivers/hwtracing/coresight/coresight-core.c | 12 +- > .../hwtracing/coresight/coresight-etm-perf.c | 150 +++- > .../hwtracing/coresight/coresight-etm-perf.h | 12 +- > .../hwtracing/coresight/coresight-etm4x-cfg.c | 182 ++++ > .../hwtracing/coresight/coresight-etm4x-cfg.h | 30 + > .../coresight/coresight-etm4x-core.c | 38 +- > .../coresight/coresight-etm4x-sysfs.c | 3 + > .../coresight/coresight-syscfg-configfs.c | 396 +++++++++ > .../coresight/coresight-syscfg-configfs.h | 45 + > .../hwtracing/coresight/coresight-syscfg.c | 804 ++++++++++++++++++ > .../hwtracing/coresight/coresight-syscfg.h | 81 ++ > include/linux/coresight.h | 7 + > 20 files changed, 2716 insertions(+), 36 deletions(-) > create mode 100644 Documentation/trace/coresight/coresight-config.rst > create mode 100644 drivers/hwtracing/coresight/coresight-cfg-afdo.c > create mode 100644 drivers/hwtracing/coresight/coresight-cfg-preload.c > create mode 100644 drivers/hwtracing/coresight/coresight-cfg-preload.h > create mode 100644 drivers/hwtracing/coresight/coresight-config.c > create mode 100644 drivers/hwtracing/coresight/coresight-config.h > create mode 100644 drivers/hwtracing/coresight/coresight-etm4x-cfg.c > create mode 100644 drivers/hwtracing/coresight/coresight-etm4x-cfg.h > create mode 100644 drivers/hwtracing/coresight/coresight-syscfg-configfs.c > create mode 100644 drivers/hwtracing/coresight/coresight-syscfg-configfs.h > create mode 100644 drivers/hwtracing/coresight/coresight-syscfg.c > create mode 100644 drivers/hwtracing/coresight/coresight-syscfg.h > I have added this set to next-ETE-TRBE where it will be rebased to v5.13-rc1 when it comes out. Thanks, Mathieu > -- > 2.17.1 > _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel