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=-6.5 required=3.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SIGNED_OFF_BY, 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 1FA89C433DF for ; Fri, 21 Aug 2020 09:10:49 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id E0DBF20714 for ; Fri, 21 Aug 2020 09:10:48 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=fail reason="signature verification failed" (1024-bit key) header.d=mg.codeaurora.org header.i=@mg.codeaurora.org header.b="vC+MXE0P" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728129AbgHUJKr (ORCPT ); Fri, 21 Aug 2020 05:10:47 -0400 Received: from mail29.static.mailgun.info ([104.130.122.29]:49110 "EHLO mail29.static.mailgun.info" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725806AbgHUJKq (ORCPT ); Fri, 21 Aug 2020 05:10:46 -0400 DKIM-Signature: a=rsa-sha256; v=1; c=relaxed/relaxed; d=mg.codeaurora.org; q=dns/txt; s=smtp; t=1598001046; h=Message-ID: References: In-Reply-To: Subject: Cc: To: From: Date: Content-Transfer-Encoding: Content-Type: MIME-Version: Sender; bh=sxxpLQx3T4LRCV1aBjtPRtvs47Gs4PzqqPJ6DGCfcBM=; b=vC+MXE0P/S/e1WFW2L0BtqkJl82RRA5mlj/n0vUci29J/d++42m5IAV/m7JIAazfcJZ99yEw W2l+MTL7jpRwsD/dPb+rSqvXYxO81j6038pdnLIWndSyzXBsfYhhjm0Jglyz8qqmTM6cVLu2 GwwDOlOjW8oyMVDC56X6E6Yhv5Y= X-Mailgun-Sending-Ip: 104.130.122.29 X-Mailgun-Sid: WyI0MWYwYSIsICJsaW51eC1rZXJuZWxAdmdlci5rZXJuZWwub3JnIiwgImJlOWU0YSJd Received: from smtp.codeaurora.org (ec2-35-166-182-171.us-west-2.compute.amazonaws.com [35.166.182.171]) by smtp-out-n04.prod.us-west-2.postgun.com with SMTP id 5f3f8f95b3f338a0902bead1 (version=TLS1.2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256); Fri, 21 Aug 2020 09:10:45 GMT Received: by smtp.codeaurora.org (Postfix, from userid 1001) id 9D8A1C433CA; Fri, 21 Aug 2020 09:10:45 +0000 (UTC) Received: from mail.codeaurora.org (localhost.localdomain [127.0.0.1]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) (Authenticated sender: saiprakash.ranjan) by smtp.codeaurora.org (Postfix) with ESMTPSA id B0250C433C6; Fri, 21 Aug 2020 09:10:44 +0000 (UTC) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit Date: Fri, 21 Aug 2020 14:40:44 +0530 From: Sai Prakash Ranjan To: Tingwei Zhang Cc: Mathieu Poirier , Suzuki K Poulose , Alexander Shishkin , Mike Leach , tsoni@codeaurora.org, Kim Phillips , Mao Jinlong , Greg Kroah-Hartman , coresight@lists.linaro.org, Randy Dunlap , Mian Yousaf Kaukab , Russell King , linux-kernel@vger.kernel.org, Leo Yan , linux-arm-kernel@lists.infradead.org Subject: Re: [PATCH v10 10/24] coresight: etm4x: allow etm4x to be built as a module In-Reply-To: <20200821034445.967-11-tingwei@codeaurora.org> References: <20200821034445.967-1-tingwei@codeaurora.org> <20200821034445.967-11-tingwei@codeaurora.org> Message-ID: X-Sender: saiprakash.ranjan@codeaurora.org User-Agent: Roundcube Webmail/1.3.9 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 2020-08-21 09:14, Tingwei Zhang wrote: > From: Kim Phillips > > Allow to build coresight-etm4x as a module, for ease of development. > > - Kconfig becomes a tristate, to allow =m > - append -core to source file name to allow module to > be called coresight-etm4x by the Makefile > - add an etm4_remove function, for module unload > - add a MODULE_DEVICE_TABLE for autoloading on boot > - delay advertising the per-cpu etmdrvdata > - protect etmdrvdata[] by modifying it on relevant CPU > > Cc: Mathieu Poirier > Cc: Leo Yan > Cc: Alexander Shishkin > Cc: Randy Dunlap > Cc: Suzuki K Poulose > Cc: Greg Kroah-Hartman > Cc: Russell King > Signed-off-by: Kim Phillips > Signed-off-by: Tingwei Zhang > Tested-by: Mike Leach > Suggested-by: Suzuki K Poulose > --- Tested-by: Sai Prakash Ranjan -- QUALCOMM INDIA, on behalf of Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum, hosted by The Linux Foundation 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=-6.8 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SIGNED_OFF_BY,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 E64C3C433E1 for ; Fri, 21 Aug 2020 09:13:18 +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 AFDE720732 for ; Fri, 21 Aug 2020 09:13:18 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="xm9GA2bw"; dkim=fail reason="signature verification failed" (1024-bit key) header.d=mg.codeaurora.org header.i=@mg.codeaurora.org header.b="npE7S+og" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org AFDE720732 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=codeaurora.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-Type: Content-Transfer-Encoding:Cc:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:Message-ID:References:In-Reply-To:Subject:To:From: Date:MIME-Version:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=OCTzBUTQiHADEkdWaSWUmMXdZL33sPF7g1JmHqHXU6Q=; b=xm9GA2bw5Pv2uHOFm5n1Hmsir m/Ja422c6opsey1USQyT2uJE86wwWvJSix18OOaGUFUO800WyxkL7sSaVjPv9PHAzfFKH7G95ghiY AbVLahY4cige2ETO/qXak2Y3jKB2csUnNnXO0qLvcmGPjfsJHbe5nWAr6/I9/Xbt6/5RfjvrHu0mL /aesGzukJ+aiklzSOGtFPIOjdPLHFMpCESEZiynEG+f0uzwI4JzmYk3h/BDobjrAWDwo0KHhOzbw1 BYyKLh+NB1TNShIxvbGOyiZBv258ly5iFBNcsvmPy5biCNUAUfc9skrygO2yzX+qIJjgMl0w88z51 HsubgHwQA==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1k934t-0005zl-2x; Fri, 21 Aug 2020 09:11:15 +0000 Received: from m43-7.mailgun.net ([69.72.43.7]) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1k934o-0005rH-7u for linux-arm-kernel@lists.infradead.org; Fri, 21 Aug 2020 09:11:13 +0000 DKIM-Signature: a=rsa-sha256; v=1; c=relaxed/relaxed; d=mg.codeaurora.org; q=dns/txt; s=smtp; t=1598001071; h=Message-ID: References: In-Reply-To: Subject: Cc: To: From: Date: Content-Transfer-Encoding: Content-Type: MIME-Version: Sender; bh=sxxpLQx3T4LRCV1aBjtPRtvs47Gs4PzqqPJ6DGCfcBM=; b=npE7S+ogzlLJWwCJ0WwhgbX+iQ4Q34T8a+XCGJ034a4aX7ZT/ABEdMOCOGeY/nCR7etk5/JJ tJM+CwxSp2RnAQIhDMsanV262lN0ZTL6LCPPwSGpjYX9sK1pyMoASGn+B0ECEHh2WLrdhy9Z gj1YfRb5K4uoyAm2lvlaOmrFMGI= X-Mailgun-Sending-Ip: 69.72.43.7 X-Mailgun-Sid: WyJiYzAxZiIsICJsaW51eC1hcm0ta2VybmVsQGxpc3RzLmluZnJhZGVhZC5vcmciLCAiYmU5ZTRhIl0= Received: from smtp.codeaurora.org (ec2-35-166-182-171.us-west-2.compute.amazonaws.com [35.166.182.171]) by smtp-out-n01.prod.us-west-2.postgun.com with SMTP id 5f3f8f95e8bbfbec10bfea4c (version=TLS1.2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256); Fri, 21 Aug 2020 09:10:45 GMT Received: by smtp.codeaurora.org (Postfix, from userid 1001) id C6F42C43387; Fri, 21 Aug 2020 09:10:45 +0000 (UTC) Received: from mail.codeaurora.org (localhost.localdomain [127.0.0.1]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) (Authenticated sender: saiprakash.ranjan) by smtp.codeaurora.org (Postfix) with ESMTPSA id B0250C433C6; Fri, 21 Aug 2020 09:10:44 +0000 (UTC) MIME-Version: 1.0 Date: Fri, 21 Aug 2020 14:40:44 +0530 From: Sai Prakash Ranjan To: Tingwei Zhang Subject: Re: [PATCH v10 10/24] coresight: etm4x: allow etm4x to be built as a module In-Reply-To: <20200821034445.967-11-tingwei@codeaurora.org> References: <20200821034445.967-1-tingwei@codeaurora.org> <20200821034445.967-11-tingwei@codeaurora.org> Message-ID: X-Sender: saiprakash.ranjan@codeaurora.org User-Agent: Roundcube Webmail/1.3.9 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20200821_051112_598017_56868E5A X-CRM114-Status: GOOD ( 14.56 ) 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, Kim Phillips , Mathieu Poirier , Suzuki K Poulose , Alexander Shishkin , Greg Kroah-Hartman , coresight@lists.linaro.org, Mao Jinlong , Mian Yousaf Kaukab , Russell King , linux-kernel@vger.kernel.org, Randy Dunlap , Leo Yan , linux-arm-kernel@lists.infradead.org, Mike Leach 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 2020-08-21 09:14, Tingwei Zhang wrote: > From: Kim Phillips > > Allow to build coresight-etm4x as a module, for ease of development. > > - Kconfig becomes a tristate, to allow =m > - append -core to source file name to allow module to > be called coresight-etm4x by the Makefile > - add an etm4_remove function, for module unload > - add a MODULE_DEVICE_TABLE for autoloading on boot > - delay advertising the per-cpu etmdrvdata > - protect etmdrvdata[] by modifying it on relevant CPU > > Cc: Mathieu Poirier > Cc: Leo Yan > Cc: Alexander Shishkin > Cc: Randy Dunlap > Cc: Suzuki K Poulose > Cc: Greg Kroah-Hartman > Cc: Russell King > Signed-off-by: Kim Phillips > Signed-off-by: Tingwei Zhang > Tested-by: Mike Leach > Suggested-by: Suzuki K Poulose > --- Tested-by: Sai Prakash Ranjan -- QUALCOMM INDIA, on behalf of Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum, hosted by The Linux Foundation _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel