Received: by 2002:a05:6a10:a0d1:0:0:0:0 with SMTP id j17csp99459pxa; Fri, 21 Aug 2020 02:12:27 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwzlJ+2kHgeGkweMa446CBA2k+eOv+gbDf0Ie8CIsQUsUUQZRnQCdpYhKbFBB6Nf0n9yj6v X-Received: by 2002:aa7:c697:: with SMTP id n23mr1818015edq.50.1598001147193; Fri, 21 Aug 2020 02:12:27 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1598001147; cv=none; d=google.com; s=arc-20160816; b=Jby7OP0Dbk9Fh8tdhm+jiOl2epzWjI2gN6XBbAH0VclOBl2d0KIJRJ6ZtXFFFyWZZU DqxY1Ed2l/umZZNPHOwBuseSzHT0GTQdts2go3rUyjxTdYWKG6WMBOSLIkgIf/aLM9Uc JLbZthGpAbsqGsThnYJlV7PvsQ0hLDrMVFONMEAaMdl1olZQ+CATU7gEv4j0lFYf3j8B qEBYa9HdtelEkhJRuKR3v4/764ONwP9/HsTOHKkdEnqO2NOW8aAMveI9iIBFQLcXPj4b wQdr7ItbnlAZDiN88yaUu/1l4Hy9iEFj7EZz7SasX6Ia41czFr1ThnUAsa/Xf4M/uZb1 s+9w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:message-id:references :in-reply-to:subject:cc:to:from:date:content-transfer-encoding :mime-version:dkim-signature; bh=b6+XrrWWJYfcTi8/ygFz7DNDATr1s72GNQa3v7qFG1o=; b=oJQKsyyduXOC5nAibY0wT8uVW2/buJrUvHaBa6CmkXx+O2f8rHImB3Jp2Dkm93hvY9 Css/8SdLFiMqfgMa8kcDccj2O5BtHzzzqXQPIOF1LPTHR6yc6GYL6bc997Tl4j5iy9CE V23kr/LHLHZGTZPj39N0/JpfK1072SGzF9Sp+aIZbiYwZq1hF5H30dltZJewSt02IuX6 KmWnWEk0KkxGhjPQZxMEtilThpZEDj7j9e4+42bmVmGoWPIN3uA3ZfXJyzARMYTI8m4i eQYyb8pOLKym506OwiZ6c7NsQ2ajP2ewluzTqMBqzY1+texQeok/PRXSJPCq32AY6dqf Lh6g== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@mg.codeaurora.org header.s=smtp header.b=ofDn+FCD; 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 v7si824414edq.227.2020.08.21.02.12.03; Fri, 21 Aug 2020 02:12:27 -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; dkim=fail header.i=@mg.codeaurora.org header.s=smtp header.b=ofDn+FCD; 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 S1728227AbgHUJJK (ORCPT + 99 others); Fri, 21 Aug 2020 05:09:10 -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 S1727909AbgHUJJK (ORCPT ); Fri, 21 Aug 2020 05:09:10 -0400 DKIM-Signature: a=rsa-sha256; v=1; c=relaxed/relaxed; d=mg.codeaurora.org; q=dns/txt; s=smtp; t=1598000949; h=Message-ID: References: In-Reply-To: Subject: Cc: To: From: Date: Content-Transfer-Encoding: Content-Type: MIME-Version: Sender; bh=b6+XrrWWJYfcTi8/ygFz7DNDATr1s72GNQa3v7qFG1o=; b=ofDn+FCDgCZa7TQo7ix3ulyQgHkHE/VNrGdsTtlXJglo7uhz+jf0TMYzjJP2ehWJarbbdX2w Eena2t/D6RKQGgE7X9Y11d6mkel96eL3z4PhRJXG6HlpOp6HnxqsMBQLMnhM/xCgf0yW0ON6 QZoAcDivk6s+kU5e1T7Fo2y93Rk= 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 5f3f8f35e8bbfbec10bf562d (version=TLS1.2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256); Fri, 21 Aug 2020 09:09:09 GMT Received: by smtp.codeaurora.org (Postfix, from userid 1001) id 679E9C4339C; Fri, 21 Aug 2020 09:09:09 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-caf-mail-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-1.0 required=2.0 tests=ALL_TRUSTED,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.0 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 91FEEC433CA; Fri, 21 Aug 2020 09:09:08 +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:39:08 +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 13/24] coresight: tmc: allow tmc to be built as a module In-Reply-To: <20200821034445.967-14-tingwei@codeaurora.org> References: <20200821034445.967-1-tingwei@codeaurora.org> <20200821034445.967-14-tingwei@codeaurora.org> Message-ID: <864b3487f5fb7664f7eadf35c5238eb9@codeaurora.org> 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-tmc 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-tmc by the Makefile > - add an tmc_remove function, 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 > Signed-off-by: Kim Phillips > Signed-off-by: Tingwei Zhang > Tested-by: Mike Leach > Reviewed-by: Suzuki K Poulose > Reviewed-by: Mathieu Poirier > --- 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