X86 platform drivers
 help / color / mirror / Atom feed
From: Darren Hart <dvhart@infradead.org>
To: Souvik Kumar Chakravarty <souvik.k.chakravarty@intel.com>
Cc: platform-driver-x86@vger.kernel.org, srinidhi.kasagar@intel.com,
	qipeng.zha@intel.com, rajeev.d.muralidhar@intel.com,
	sukumar.ghorai@intel.com, ong.hock.yu@intel.com,
	aubrey.li@intel.com
Subject: Re: [PATCH v3 1/5] platform:x86: Add Intel Telemetry Core Driver
Date: Tue, 29 Dec 2015 16:50:31 -0800	[thread overview]
Message-ID: <20151230005031.GB29978@malice.jf.intel.com> (raw)
In-Reply-To: <1450867350-11253-1-git-send-email-souvik.k.chakravarty@intel.com>

On Wed, Dec 23, 2015 at 04:12:30PM +0530, Souvik Kumar Chakravarty wrote:
> Intel PM Telemetry is a software mechanism via which various SoC
> PM and performance related parameters like PM counters, firmware
> trace verbosity, the status of different devices inside the SoC, etc
> can be monitored and analyzed. The different samples that may be
> monitored can be configured at runtime via exported APIs.
> 
> This patch adds the telemetry core driver that implements basic
> exported APIs.
> 
> Signed-off-by: Souvik Kumar Chakravarty <souvik.k.chakravarty@intel.com>

Qipeng, would you please review this series and confirm that you and Souvik have
aligned on this implementation?


> 
> ---
> Changes in v3:
> * Clean code using checkpatch.pl from Kernel v4.3-rc4
> ---
> Changes in v2:
> * Fix issues in code style, indentation & comments
> * Follow kernel-doc sytle comments
> * Changed Banner to include "All Rights Reserved"
> * Change telemetry_plt_config.telem_in_use type to bool
> * Introduce Default empty platform specific callbacks to remove NULL checks
> * Use pr_fmt in init
> * Change to MODULE_LICENSE to GPL
> ---

...

> +static inline int telemetry_get_pssevtname(enum telemetry_unit telem_unit,
> +					   const char **name, int len)
> +{
> +	struct telemetry_unit_config psscfg;
> +	int i = 0;

It's a minor nit, but i doesn't need to be initialized here or in the function
below as its initial value is set in the for loop.


-- 
Darren Hart
Intel Open Source Technology Center

  reply	other threads:[~2015-12-30  0:50 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-12-23 10:42 [PATCH v3 1/5] platform:x86: Add Intel Telemetry Core Driver Souvik Kumar Chakravarty
2015-12-30  0:50 ` Darren Hart [this message]
2016-01-07  8:55   ` Chakravarty, Souvik K
2016-01-08  1:00     ` Zha, Qipeng
2015-12-30  2:54 ` Chakravarty, Souvik K

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20151230005031.GB29978@malice.jf.intel.com \
    --to=dvhart@infradead.org \
    --cc=aubrey.li@intel.com \
    --cc=ong.hock.yu@intel.com \
    --cc=platform-driver-x86@vger.kernel.org \
    --cc=qipeng.zha@intel.com \
    --cc=rajeev.d.muralidhar@intel.com \
    --cc=souvik.k.chakravarty@intel.com \
    --cc=srinidhi.kasagar@intel.com \
    --cc=sukumar.ghorai@intel.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox