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=-4.5 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS autolearn=no 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 213D2C433ED for ; Fri, 14 May 2021 01:37:35 +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 8DDB46143D for ; Fri, 14 May 2021 01:37:34 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 8DDB46143D 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=sIxmkGnXks0LaBOJz7DDh61gFSocSd8/FYjAzPY7TYI=; b=QfWaa6mghHCP90hFrnJh+VZda AXfL20mNXPSqm0JvLslOuTgfrJsCt0lkzvSM3XyPEXUpVOk3OhnneMqUNKwamXJrqefVqmUJ/SO7z ty9rtz3aS+qGpijhe4VNw/HqiXp55rteZmAILelzJuI/VywqRSDH6zpGd1WHvtIIWPVcU8Zm5WE1R ClNbuDMj4fykz91WiPgMv6j5xsZq+brq3ZoIymf5KNMfEK4LFB1eQruuwbA/ZJihRmvH0l/k6vhp7 wEpXqzMUnFglSKsiZVOSxyS1pBhaW2vbpbiA291fQnjF3ymSsvCKlKUm/Rz+fBw/Vzcir875cgzFj L8yW8Ns8A==; Received: from localhost ([::1] helo=desiato.infradead.org) by desiato.infradead.org with esmtp (Exim 4.94 #2 (Red Hat Linux)) id 1lhMjt-006sEZ-2f; Fri, 14 May 2021 01:35:43 +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 1lhMjo-006sER-Qp for linux-arm-kernel@desiato.infradead.org; Fri, 14 May 2021 01:35:37 +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=vKcfS+kySdEX68HFJLld+QkajiHtLCosEBqLdqfaP60=; b=eOKoXrAqfyYmRCsg5HFKkguxLD s+srnuVGjrFELGawJy4sDkRIiSjkC8sHxfurXaKbG7F2TwfVq3ytpy2+RtZ12p7/1O9DYLr2r3L8J wTOzHGYgwKQnoG/Rp4Wv+Rk2Rj7tbyi4WWQtjetCEy7rshY32mMRBRS1+h5xE2hnKvEfwSD3RyStz 1irRQBlj2kQCh/IOEbM0dWK68OAISSdnSPJ30l0X8l3smaHDNjqvTHd5NV/YSKEw8G3VFDWRrgVaH dBI2Pp2OrdElI4CzRsLE+VvOj1s9bCxoKgAifzhkxQ8Hc2eowMY6QR2jgcTOwnqnl+eWyqmvDTKWQ XetHh3kA==; Received: from mail-pf1-x430.google.com ([2607:f8b0:4864:20::430]) by bombadil.infradead.org with esmtps (Exim 4.94 #2 (Red Hat Linux)) id 1lhMjl-00BeeP-QW for linux-arm-kernel@lists.infradead.org; Fri, 14 May 2021 01:35:35 +0000 Received: by mail-pf1-x430.google.com with SMTP id 10so23434236pfl.1 for ; Thu, 13 May 2021 18:35:32 -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=vKcfS+kySdEX68HFJLld+QkajiHtLCosEBqLdqfaP60=; b=hy1hSYTlaumru4oK9B154e7A8EXBueoylIl+qFeHrCP72cj9gB4SUG1jgU/7fYQyCH FJr/w5STtZE5llhgHzZgCUuhqQaSsUog8QuFr55A5mbq8tYRox1aWWuwAy1rgLB6cYza yM7WuTQjnl7H1FUm/UIJnNxu/74QwzpBJt2tIOUPf0LFT0o+TLhdsWTTkEJwLR2Ceu7v +4HctKajhDdlCGrSRpldAVfMrq14M9TweoplwvB7cjRa8woiOej/UnhnGVwDflimcD2A ElKl8fcUXcEa2wYl845zsMkWrq+UjHgIGV7reANYvnsGACN711xvQ/RzEdcFP1rqFqYL XVxw== 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=vKcfS+kySdEX68HFJLld+QkajiHtLCosEBqLdqfaP60=; b=fTQw/LeWfmDm4XsoJHAmfP3mVzicVwFVM6f3gqgr7094G+vJPXACPovNKMCugBjs+r 1ZoXalqNSMl4bWLSTVCClw69g44dTibBwUF99fq93nGIhG0qEvDj1WYb19LbmlEXdpdk zjyAewZqlx3m2XUf9/3zFiVb3g9ZRuq/paqcZ09RfBM7Ucu1s8BaCQNoYobY9GWBY+8A X6/emIPEyZObQ8Y0RgJZZ2VefFCFxJujaWZ13Q6iLyUy/kTiVR8nYXz0JS/a2HL7HKqb fm88FNDubAUse4hiFjr6/JgtL1wKAb4YJXpO+wuMzBHpXBmrwJiMA1sd/nNNcSNECCMy poCg== X-Gm-Message-State: AOAM533Gq8ElpAtAsjdlRzeG4kX6vuKSCWd03UUZD0E7xlqeA46aqVAq TF2LxMKWbVP8oqZGW6/797Nbmg== X-Google-Smtp-Source: ABdhPJwo//8AZwV97sixDOx/gki3I2NTp6okdNoIvcE4p9pdDbtbmCFQBhlXdwk2jXFsDZN2PwsYUw== X-Received: by 2002:a63:4c66:: with SMTP id m38mr43910952pgl.157.1620956132119; Thu, 13 May 2021 18:35:32 -0700 (PDT) Received: from leoy-ThinkPad-X240s (li1207-178.members.linode.com. [45.79.108.178]) by smtp.gmail.com with ESMTPSA id j26sm2926407pfn.47.2021.05.13.18.35.29 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 13 May 2021 18:35:31 -0700 (PDT) Date: Fri, 14 May 2021 09:35:26 +0800 From: Leo Yan To: Mike Leach Cc: Mathieu Poirier , Coresight ML , linux-arm-kernel , "Suzuki K. Poulose" Subject: Re: [RFC PATCH 0/8] coresight: syscfg: dynamic load, resource management Message-ID: <20210514013526.GA453128@leoy-ThinkPad-X240s> References: <20210512211752.4103-1-mike.leach@linaro.org> <20210513155633.GA225418@xps15> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20210513_183533_913493_74A2BE92 X-CRM114-Status: GOOD ( 19.16 ) 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 On Thu, May 13, 2021 at 05:53:36PM +0100, Mike Leach wrote: > Hi Mathieu, > > On Thu, 13 May 2021 at 16:56, Mathieu Poirier > wrote: > > > > Hey Mike, > > > > On Wed, May 12, 2021 at 10:17:44PM +0100, Mike Leach wrote: > > > This patchset represents the second phase of CoreSight configuration > > > management. > > > > > > 1) API updated to allow dynamic load and unload of configurations and > > > features. Dependency management between loaded sets is added. > > > > > > 2) New configuration and feature sets can be added using a loadable module. > > > An example in /samples/coresight is provided to demonstrate this. > > > > > > > I tried to compile the sample module and I get: > > > > samples/coresight/coresight-cfg-sample.c:7:10: fatal error: coresight-config.h: No such file or directory > > #include "coresight-config.h" > > ^~~~~~~~~~~~~~~~~~~~ > > compilation terminated. > > > > Can you reproduce on your side? > > > > No problem here. I cleaned and rechecked I had the sample selected in > my .config (CONFIG_SAMPLE_CORESIGHT_SYSCFG=m) and it built just fine. Just reminding, before I tried other kernel samples (actually for eBPF samples), I firstly installed headers: # make headers_install # creates "usr/include" directory in the build top directory # make samples/xxx I didn't verify Mike's patch set, just in case Mathieu encountered the same issue and should install header ahead, so share the notes. Thanks, Leo _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel