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 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 9AF61C433F5 for ; Mon, 10 Jan 2022 19:00:12 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; 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=CO69T2X5qI8ieWEYbQXqoRRaviIpUqIjL5Wq1Ss4heU=; b=4ASyOZduT9qUvK qgyF/iiUdWbU4eUrxpumnOpZxSzi4vELPRuOJBHCN42rv2LvqRH3IviKkKAbTV5kEaU75NQZsFWQZ fiXFoMOB+y1ZR6GnS38O18oNVM/EG+CvCGhqY3QfqTa7q+RWwY0C8ri4svY2y6zBnbiOfjlCW+Pbv KSgqssCTVC8rh4Fd6lWEiypbzeSpimHiafDVRGyfMaSBTZRcFXsxTOfz+OlhQrrt7yNYYk3/5a8Gz yuN6coiBLl6DnoiT1+id+ADN3B3l176E23T6eohJ67TcyuuwlLU0zLj8Rx3vVSoMppFo6lPXl5XAW LKgbesCuCsfKc8iLBSFg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1n6zsg-00Cu9C-8C; Mon, 10 Jan 2022 18:58:58 +0000 Received: from mail-pl1-x62b.google.com ([2607:f8b0:4864:20::62b]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1n6zsd-00Cu7j-0l for linux-arm-kernel@lists.infradead.org; Mon, 10 Jan 2022 18:58:56 +0000 Received: by mail-pl1-x62b.google.com with SMTP id h1so13337087pls.11 for ; Mon, 10 Jan 2022 10:58:53 -0800 (PST) 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=xxoJ62muDnIvDls8Ba4DX1OBykFSvE/kWtSnIfkKklk=; b=PgyfXU/PFvwQ7JL2iXlm5B08U7saOGehl5ewfC8q3715h5LvzgXCgcPRXiG+85RnEO Dgr2/ZVjtrGJ+mWY6q02LPMdg8o4c30AqTk0x2I74kEhI17B7CiSPYuupzDYRl4vWjOA 64FnVt285wUtoSvbLGLp3S4ykCUrFJ4i2d0jiOVxO/mHq8UV+ITQwOv0PsfRnAjDJ5Id H6xGvR/16gjRhFsSqfvB9IzRgcB1AMoWIcQklHhauYAF14O97fI123x/dXfPo0ainu1c G05oM9WAdY3OpInfV/kdfH+4PopLsucNZeUySasbxhG1Tcj5xAGZyMMn0yx38nWVWFF/ scwQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to; bh=xxoJ62muDnIvDls8Ba4DX1OBykFSvE/kWtSnIfkKklk=; b=Jyn9+DRvoFIM1C25gh4biEFwsW69sS9E9y1BTYMQXjz4eHXHjiKM8k1GUyPL1Z6Cyn gm7fj1duE4GPKsDrgtiJ82i9WWfaWThYoby5kTYcJjsy72SKEW3RY7pZsJDVnPpNcfFT mWvNln04OdAvf0X5e0/0EYZ4OFc8wybwjYJjAnkmIETBQ62Z7imPCjQDazqCLTW2S6J8 Ufs1A8E8gKnNsh31nf4lHeGqixk/aUAN/gc433md8uz1YCWObjovIuLjqdCVFxjZYx82 qUtB4U3i/VDUK4J4v32ktQoinjBpGZ0xwkml5lRkvJB1NW6T7RRbSUHG5OUTg8n8EXYI 653Q== X-Gm-Message-State: AOAM530cBY+DaXAv1aI7ul338MM2PDa7JIIUJsnUtY4NKXaUi0G6po9e HYZnQcou4pOfXrg01dlN+r3D3g== X-Google-Smtp-Source: ABdhPJzEfQZ+Z2y6TcL6BvBWrHyEdfdx1p+nslbPpM24k+8Nr5UbCSQEELXsTIl3SfTLuv13BUOAwQ== X-Received: by 2002:a17:90b:1e07:: with SMTP id pg7mr31835408pjb.109.1641841133262; Mon, 10 Jan 2022 10:58:53 -0800 (PST) Received: from p14s (S0106889e681aac74.cg.shawcable.net. [68.147.0.187]) by smtp.gmail.com with ESMTPSA id i23sm6052865pgi.92.2022.01.10.10.58.51 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 10 Jan 2022 10:58:52 -0800 (PST) Date: Mon, 10 Jan 2022 11:58:50 -0700 From: Mathieu Poirier To: Mike Leach Cc: linux-arm-kernel@lists.infradead.org, coresight@lists.linaro.org, suzuki.poulose@arm.com, leo.yan@linaro.org Subject: Re: [PATCH v2 0/6] coresight: syscfg: Extend configfs for config load Message-ID: <20220110185850.GA771798@p14s> References: <20211130220100.25888-1-mike.leach@linaro.org> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20211130220100.25888-1-mike.leach@linaro.org> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220110_105855_118619_CC3F2332 X-CRM114-Status: GOOD ( 19.68 ) 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 Good morning Mike, On Tue, Nov 30, 2021 at 10:00:54PM +0000, Mike Leach wrote: > This set extends the configfs support to allow loading and unloading of > configurations as binary files via configfs. > > Additional attributes - load, unload and last_load_status are provided to > implement the load functionality. > > Routines to generate binary configuration files are supplied in > ./samples/coresight. > > Example generator and reader applications are provided. > > Additional Makefile.host supplied to build the generator and reader > applications on the host system separate from a cross compiled kernel. > > Documentation is updated to describe feature usage. > > Applies and tested on latest coresight/next that includes the > previous coresight configuration dynamic load patchset. > I have started to review this set. Thanks, Mathieu > Changes since v1: > 1) Rebased to coresight/next - 5.16-rc1 with previous coresight config > set applied. > 2) Makefile.host fixed to default to all target. > > Mike Leach (6): > coresight: configfs: Add in functionality for load via configfs > coresight: configfs: Add in binary attributes to load files > coresight: configfs: Modify config files to allow userspace use > coresight: samples: Add an example config writer for configfs load > coresight: samples: Add coresight file reader sample program > Documentation: coresight: docs for config load via configfs > > .../trace/coresight/coresight-config.rst | 151 +++++- > drivers/hwtracing/coresight/Makefile | 2 +- > .../coresight/coresight-config-file.c | 472 ++++++++++++++++++ > .../coresight/coresight-config-file.h | 158 ++++++ > .../hwtracing/coresight/coresight-config.h | 38 ++ > .../coresight/coresight-syscfg-configfs.c | 148 +++++- > .../coresight/coresight-syscfg-configfs.h | 8 + > .../hwtracing/coresight/coresight-syscfg.c | 36 ++ > .../hwtracing/coresight/coresight-syscfg.h | 2 + > samples/coresight/Makefile | 23 + > samples/coresight/Makefile.host | 47 ++ > samples/coresight/coresight-cfg-bufw.c | 302 +++++++++++ > samples/coresight/coresight-cfg-bufw.h | 24 + > samples/coresight/coresight-cfg-file-read.c | 191 +++++++ > samples/coresight/coresight-cfg-filegen.c | 89 ++++ > 15 files changed, 1677 insertions(+), 14 deletions(-) > create mode 100644 drivers/hwtracing/coresight/coresight-config-file.c > create mode 100644 drivers/hwtracing/coresight/coresight-config-file.h > create mode 100644 samples/coresight/Makefile.host > create mode 100644 samples/coresight/coresight-cfg-bufw.c > create mode 100644 samples/coresight/coresight-cfg-bufw.h > create mode 100644 samples/coresight/coresight-cfg-file-read.c > create mode 100644 samples/coresight/coresight-cfg-filegen.c > > -- > 2.17.1 > _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel