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=-7.0 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, NICE_REPLY_A,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED,USER_AGENT_SANE_1 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 C00AFC433DF for ; Thu, 6 Aug 2020 12:16:47 +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 9533B204FD for ; Thu, 6 Aug 2020 12:16:47 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="t13zeFHc" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 9533B204FD Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=arm.com 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-Type: Content-Transfer-Encoding:Cc:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:In-Reply-To:MIME-Version:Date:Message-ID:From: References:To:Subject:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=ydosqEgRvrocJz+L6paWR002z7MXqU2ABCrwiTMSXhY=; b=t13zeFHcdz+ISbKTUlVdGKBiB L+C9ssJBLUvbyVg78h59y8VpGScZVVatOKXyFAayJeyhtaJk9adbCo/PPaHg4WQHvq3azHd/JItwR ErhP8nqHZnfDrgcmOcVVcAfHMf/cHe+xheX9dlFW+1vjCj99xCUnhsMkH8UQDcDYMbY37cNnBYW8j iwzQDLTo5/fVamkO+ZCUFKnTbRgPBLTQxKVes6zH60JDo0CowWFSKMX6GoHVgmjWqG/lg3c4/PqVM +QTiPQ3GATf/LSiurcRGUMtydUHN0uNiF+lK3qSSBJdscQaIUedAUnyQc4uCJjTCdaPx/u4/I/Zqe /8MCPrUig==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1k3duu-000476-SN; Thu, 06 Aug 2020 11:18:36 +0000 Received: from foss.arm.com ([217.140.110.172]) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1k3dus-00046c-TJ for linux-arm-kernel@lists.infradead.org; Thu, 06 Aug 2020 11:18:35 +0000 Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.121.207.14]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id 8E4C631B; Thu, 6 Aug 2020 04:18:29 -0700 (PDT) Received: from [10.37.12.82] (unknown [10.37.12.82]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id 3C05C3F99C; Thu, 6 Aug 2020 04:18:26 -0700 (PDT) Subject: Re: [PATCH v7 00/25] coresight: allow to build coresight as modules To: mike.leach@linaro.org, tingweiz@codeaurora.org References: <20200805025458.2978-1-tingwei@codeaurora.org> <407fb604-1b58-b0f8-d6ba-9138980d0a12@arm.com> <20200806030624.GE10121@codeaurora.org> From: Suzuki K Poulose Message-ID: <1baaec01-7818-1b43-44de-ecc6fa5b1ab7@arm.com> Date: Thu, 6 Aug 2020 12:23:19 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.7.0 MIME-Version: 1.0 In-Reply-To: Content-Language: en-US X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20200806_071834_997977_A9816282 X-CRM114-Status: GOOD ( 16.64 ) 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: tsoni@codeaurora.org, saiprakash.ranjan@codeaurora.org, kim.phillips@arm.com, mathieu.poirier@linaro.org, alexander.shishkin@linux.intel.com, gregkh@linuxfoundation.org, coresight@lists.linaro.org, jinlmao@codeaurora.org, ykaukab@suse.de, linux@armlinux.org.uk, rdunlap@infradead.org, tingwei@codeaurora.org, leo.yan@linaro.org, linux-arm-kernel@lists.infradead.org Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset="us-ascii"; Format="flowed" Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org On 08/06/2020 10:38 AM, Mike Leach wrote: > Just tried autoload on DB410 - all good. > > Mike > > On Thu, 6 Aug 2020 at 04:06, Tingwei Zhang wrote: >> >> On Thu, Aug 06, 2020 at 01:17:23AM +0800, Suzuki K Poulose wrote: >>> On 08/05/2020 03:54 AM, Tingwei Zhang wrote: >>>> Allow to build coresight as modules. This gives developers the >>> feasibility to >>>> test their code without reboot. >>>> >>> >>> I ran this on my Juno and modules are auto loaded. However: >>> >>> root@juno-server:~# lsmod >>> Module Size Used by >>> coresight_tmc 40960 -2 >>> coresight_etm4x 61440 -2 >>> coresight_funnel 20480 -2 >>> coresight_stm 24576 -2 >>> coresight_replicator 20480 -2 >>> coresight_cpu_debug 20480 -2 >>> coresight_tpiu 20480 -2 >>> coresight 45056 -2 >>> >>> >>> The used by count is -2 for all of them. Does anyone hit this ? >>> I am unable to remove the modules. Apologies, it was my mistake. It had the module_unload disabled in config. It is all normal now. I will test the misc_device race Cheers Suzuki _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel