From: Raag Jadav <raag.jadav@intel.com>
To: Andi Shyti <andi.shyti@kernel.org>
Cc: Riana Tauro <riana.tauro@intel.com>,
jani.nikula@linux.intel.com, joonas.lahtinen@linux.intel.com,
rodrigo.vivi@intel.com, tursulin@ursulin.net, linux@roeck-us.net,
andi.shyti@linux.intel.com, andriy.shevchenko@linux.intel.com,
intel-gfx@lists.freedesktop.org, linux-hwmon@vger.kernel.org,
anshuman.gupta@intel.com, badal.nilawar@intel.com,
ashutosh.dixit@intel.com, karthik.poosa@intel.com
Subject: Re: [PATCH v2] drm/i915/hwmon: expose package temperature
Date: Tue, 10 Sep 2024 07:50:12 +0300 [thread overview]
Message-ID: <Zt_QBM_qeAMGD1by@black.fi.intel.com> (raw)
In-Reply-To: <4nlwj725xkrb3zsulbehgqc7mpjjysnra3ep543ux5ewn7po4h@72psjd3dnw4v>
On Tue, Sep 10, 2024 at 12:27:16AM +0200, Andi Shyti wrote:
> Hi Raag,
>
> > > > + case hwmon_temp_input:
> > > > + with_intel_runtime_pm(ddat->uncore->rpm, wakeref)
> > > > + reg_val = intel_uncore_read(ddat->uncore, hwmon->rg.pkg_temp);
> > > > +
> > > > + /* HW register value is in degrees, convert to millidegrees. */
> > > use millidegree Celsius here
> >
> > The intent here is to signify the conversion rather than the unit.
> > But okay, will add if we have another version.
>
> is Riana asking to improve the comment here? Then please do, if
> someone asks to make better comments it means that he is asking
> to answer to an open question that someone might have in the
> future.
To me this looks quite self documenting, but agree.
> Sending a v3 is not much of a work but improving the comment
> later is not trivial.
Already have it locally, was going to send out after you review :)
Raag
next prev parent reply other threads:[~2024-09-10 4:50 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-09-06 9:31 [PATCH v2] drm/i915/hwmon: expose package temperature Raag Jadav
2024-09-06 9:45 ` Riana Tauro
2024-09-07 11:25 ` Raag Jadav
2024-09-09 22:27 ` Andi Shyti
2024-09-10 4:50 ` Raag Jadav [this message]
2024-09-06 10:47 ` ✗ Fi.CI.BAT: failure for drm/i915/hwmon: expose package temperature (rev3) Patchwork
2024-09-09 22:23 ` [PATCH v2] drm/i915/hwmon: expose package temperature Andi Shyti
2024-09-10 4:37 ` Gupta, Anshuman
2024-09-10 6:27 ` Nilawar, Badal
2024-09-10 9:10 ` Andi Shyti
2024-09-10 10:58 ` Raag Jadav
2024-09-10 12:36 ` Andi Shyti
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=Zt_QBM_qeAMGD1by@black.fi.intel.com \
--to=raag.jadav@intel.com \
--cc=andi.shyti@kernel.org \
--cc=andi.shyti@linux.intel.com \
--cc=andriy.shevchenko@linux.intel.com \
--cc=anshuman.gupta@intel.com \
--cc=ashutosh.dixit@intel.com \
--cc=badal.nilawar@intel.com \
--cc=intel-gfx@lists.freedesktop.org \
--cc=jani.nikula@linux.intel.com \
--cc=joonas.lahtinen@linux.intel.com \
--cc=karthik.poosa@intel.com \
--cc=linux-hwmon@vger.kernel.org \
--cc=linux@roeck-us.net \
--cc=riana.tauro@intel.com \
--cc=rodrigo.vivi@intel.com \
--cc=tursulin@ursulin.net \
/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