Received: by 2002:a05:6a10:22f:0:0:0:0 with SMTP id 15csp1531419pxk; Sun, 13 Sep 2020 06:19:40 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyg2PZ5q1XT7keAyMyjf1DP9VkfdhtuwbwHdvbck/8oSO0u9ECb2/dgMH9UyAR2yI5M85PF X-Received: by 2002:a17:906:7688:: with SMTP id o8mr10104039ejm.508.1600003180520; Sun, 13 Sep 2020 06:19:40 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1600003180; cv=none; d=google.com; s=arc-20160816; b=elqht3CiP7aER5zzdKHtGSedxuKu1AtYSZbWvcjhcyy4zQaR5gUIUppq3/mn3ahwH8 3j50kBUtHUFzwJbHgkZBliNIrZaXAKI5teSdWqzT3cbfeRLmfSL3sJrn+WxRlHfa11XZ Ng1oA/C5G30ZADvwkq/fHbnHk2/GyvCD2cHP6mvGnmMNYG6qP0jm2DnZOI+fNciiZGyO igINLogCpP4MgYOIqvy8+QYJOdFsdiJYOjaa8sAXrhNcvi5HTq2RgLcjpdV5eZIlF1o3 f1waOOfOSbNCkV/o7edwVZ2bZ5vv+5ZTINIiRftW7z515xlcXaGBXGVhGxRKxGTtKgGE EjXw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding :content-language:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject; bh=gc69hs5WI7RGQNNp1CG31iztedIWtJyB33ZZW0ZaLws=; b=TQWvwwB5H5p6oCojTFpr3PDqCcdvUVq56gRqsf1eTtoYRioocJMN3gIE1yX5ijPXfs kvzorW3/EFN0O86U0u/mOSksep6TMFVyZEOVxQgLCu4/t07HKb7WspBnHW1mi57UQ9O3 ioDa7qe/+yV7Jh+XvUNRw78NPBavrz1MK+N8m/YnDbgMAJmupD88ZdkFl1h8OaVddUBX WiPRmXwV/ShbhvS85qf6w+mlxjKp7v5PT5hpslMU19e7OE6kDPOCY6hh5Xnu65DL4+4t F9bYJGolgVyWO3VQjOELt0Ls1TXq0XP/i/4ts5GPKvj3S553iZKzY1WFVbepmxdvTxjv 1u2A== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id a19si5617503edn.223.2020.09.13.06.19.17; Sun, 13 Sep 2020 06:19:40 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1725957AbgIMNPu (ORCPT + 99 others); Sun, 13 Sep 2020 09:15:50 -0400 Received: from foss.arm.com ([217.140.110.172]:54488 "EHLO foss.arm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725949AbgIMNPp (ORCPT ); Sun, 13 Sep 2020 09:15:45 -0400 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 5E36C106F; Sun, 13 Sep 2020 06:15:44 -0700 (PDT) Received: from [192.168.0.21] (unknown [172.31.20.19]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id DCD023F68F; Sun, 13 Sep 2020 06:15:40 -0700 (PDT) Subject: Re: [PATCH v10 14/24] coresight: allow funnel driver to be built as module To: tingwei@codeaurora.org, mathieu.poirier@linaro.org, alexander.shishkin@linux.intel.com, mike.leach@linaro.org Cc: kim.phillips@arm.com, gregkh@linuxfoundation.org, leo.yan@linaro.org, rdunlap@infradead.org, linux@armlinux.org.uk, ykaukab@suse.de, tsoni@codeaurora.org, saiprakash.ranjan@codeaurora.org, jinlmao@codeaurora.org, coresight@lists.linaro.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, lkp@intel.com References: <20200821034445.967-1-tingwei@codeaurora.org> <20200821034445.967-15-tingwei@codeaurora.org> From: Suzuki K Poulose Message-ID: <5d2bdce2-2ad1-db31-8807-bf5dd41b20d2@arm.com> Date: Sun, 13 Sep 2020 14:20:20 +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: <20200821034445.967-15-tingwei@codeaurora.org> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 08/21/2020 04:44 AM, Tingwei Zhang wrote: > From: Kim Phillips > > Allow to build coresight-funnel as module, for ease of development. > > - combine static and dynamic funnel init into single > module_init/exit call > - add funnel_remove functions, for module unload > - add a MODULE_DEVICE_TABLE for autoloading on boot > > Cc: Mathieu Poirier > Cc: Leo Yan > Cc: Alexander Shishkin > Cc: Randy Dunlap > Cc: Suzuki K Poulose > Cc: Greg Kroah-Hartman > Cc: Russell King > Co-developed-by: Mian Yousaf Kaukab > Signed-off-by: Mian Yousaf Kaukab > Signed-off-by: Kim Phillips > Signed-off-by: Tingwei Zhang > Reported-by: kernel test robot > Tested-by: Mike Leach > Reviewed-by: Mathieu Poirier Reviewed-by: Suzuki K Poulose