Received: by 2002:a05:6a10:a0d1:0:0:0:0 with SMTP id j17csp99266pxa; Fri, 21 Aug 2020 02:12:07 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyt0CRzViE+SGS9aOHIu7fZwY7exP3V0Hu0F3HhXLTVwPDO2jLey6fHkDO4FfkvIwD8P/OV X-Received: by 2002:a17:906:6055:: with SMTP id p21mr2023288ejj.173.1598001127369; Fri, 21 Aug 2020 02:12:07 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1598001127; cv=none; d=google.com; s=arc-20160816; b=cxxZJ+iYyrG08e8gd7yKKktAmJuCtsiyw40IdqGVTw3lrVrXPFNervOPfyqDgUWXxp GuASP8I8IHLShh8Xl4kNFBKU21xdPmM8CnPjS5NYzT9VV9e5ZqMZIoc5/o4ry4uzoRcY 4fQBX6rd1k2fjSINZEFDHmOCpyEAikV+RN2l3XyvQJHxh7QsSFMUoUnXNeXOSQmgrXZJ sCjHpPyWgjHozQbwHFl7wLrGgnk1IPWjaBRXuvhjsGIy0hcgRjFUlHjheV9ZXAthpI1A txu42HgYqOpqDPmwC6B6J6QM+PKTjJaOcR4bybQvchtEF20tIqrLWC+1P+yvwsXVyfKX S10Q== 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=qMInb8hO4Iz6wqtrm5zu0doTt5fsOdRKtIbGPK9Oyhk=; b=UeP9PPvluV835y6tTFH5ebWg/7hRmF06V9SORrFsOqwzcPW9atE9Y13B2H3T+vAZiL JO9r4dOhuh2DhK012mGEEJk0jpO7W6InPtR794sNjx8gmFlnc2xYzW4IJWWQ2dXybLfj avNrIxF26sFxiobv7oeoGbZwhkxi0huZT8VR7dt9FEyCQk6B3uK75WSDMS5VmJt+nguw 9C6mMcrUwnkU0ys5pv4/5TsI1AMINZ7+DfDorHn5Fgu+sLpwAGuIHEbT/p0sizgr/D8z rZSyT4lyayJoqkPNvj115cscPs96qPH8cml+Pak+ezEQoMRGh17w0OfF9ovjYYdwQzZE /dhw== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@mg.codeaurora.org header.s=smtp header.b="uIsKS/aL"; 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 k7si748569ejx.93.2020.08.21.02.11.43; Fri, 21 Aug 2020 02:12:07 -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="uIsKS/aL"; 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 S1727101AbgHUJIH (ORCPT + 99 others); Fri, 21 Aug 2020 05:08:07 -0400 Received: from m43-7.mailgun.net ([69.72.43.7]:20465 "EHLO m43-7.mailgun.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725806AbgHUJIG (ORCPT ); Fri, 21 Aug 2020 05:08:06 -0400 DKIM-Signature: a=rsa-sha256; v=1; c=relaxed/relaxed; d=mg.codeaurora.org; q=dns/txt; s=smtp; t=1598000886; h=Message-ID: References: In-Reply-To: Subject: Cc: To: From: Date: Content-Transfer-Encoding: Content-Type: MIME-Version: Sender; bh=qMInb8hO4Iz6wqtrm5zu0doTt5fsOdRKtIbGPK9Oyhk=; b=uIsKS/aLMJILxWAzyiXciAj1HTGKdVJYDgZ+uYWRl4XwCZbSf+6xFeHVbiK83KbX1w3n2480 ottJruC9Zmsx4n8xmG4NnY9JaOR5MeDT808p+cH1lpwQnS5hlQ9DbZFTBN4uABA+UBXwA+B4 axunMBooT7/YHUj/Fu9E4LHqjqc= X-Mailgun-Sending-Ip: 69.72.43.7 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-n05.prod.us-east-1.postgun.com with SMTP id 5f3f8ee8949572eafb78ae7b (version=TLS1.2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256); Fri, 21 Aug 2020 09:07:52 GMT Received: by smtp.codeaurora.org (Postfix, from userid 1001) id 7AF52C4339C; Fri, 21 Aug 2020 09:07:50 +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 50CF7C433CA; Fri, 21 Aug 2020 09:07:49 +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:37:49 +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 24/24] coresight: allow the coresight core driver to be built as a module In-Reply-To: <20200821034445.967-25-tingwei@codeaurora.org> References: <20200821034445.967-1-tingwei@codeaurora.org> <20200821034445.967-25-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: > Enhance coresight developer's efficiency to debug coresight drivers. > - Kconfig becomes a tristate, to allow =m > - append -core to source file name to allow module to > be called coresight by the Makefile > - modules can have only one init/exit, so we add the etm_perf > register/unregister function calls to the core init/exit > functions. > - 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