From: Raag Jadav <raag.jadav@intel.com>
To: Rodrigo Vivi <rodrigo.vivi@intel.com>
Cc: Andi Shyti <andi.shyti@linux.intel.com>,
Andy Shevchenko <andriy.shevchenko@linux.intel.com>,
jani.nikula@linux.intel.com, joonas.lahtinen@linux.intel.com,
tursulin@ursulin.net, airlied@gmail.com, daniel@ffwll.ch,
linux@roeck-us.net, intel-gfx@lists.freedesktop.org,
dri-devel@lists.freedesktop.org, linux-hwmon@vger.kernel.org,
linux-kernel@vger.kernel.org, anshuman.gupta@intel.com,
badal.nilawar@intel.com, riana.tauro@intel.com,
ashutosh.dixit@intel.com, karthik.poosa@intel.com
Subject: Re: [PATCH v4] drm/i915/hwmon: expose fan speed
Date: Wed, 21 Aug 2024 06:52:10 +0300 [thread overview]
Message-ID: <ZsVkapETDCTtx2_F@black.fi.intel.com> (raw)
In-Reply-To: <ZsUPY4zJwEGAf_t_@intel.com>
On Tue, Aug 20, 2024 at 05:49:23PM -0400, Rodrigo Vivi wrote:
> On Tue, Aug 20, 2024 at 12:00:27PM +0300, Raag Jadav wrote:
> > On Fri, Aug 09, 2024 at 12:57:54PM +0100, Andi Shyti wrote:
> > > On Fri, Aug 09, 2024 at 02:48:08PM +0300, Andy Shevchenko wrote:
> > > > On Fri, Aug 09, 2024 at 11:45:25AM +0530, Raag Jadav wrote:
> > > > > Add hwmon support for fan1_input attribute, which will expose fan speed
> > > > > in RPM. With this in place we can monitor fan speed using lm-sensors tool.
> > > > >
> > > > > $ sensors
> > > > > i915-pci-0300
> > > > > Adapter: PCI adapter
> > > > > in0: 653.00 mV
> > > > > fan1: 3833 RPM
> > > > > power1: N/A (max = 43.00 W)
> > > > > energy1: 32.02 kJ
> > > >
> > > > > v2:
> > > > > - Add mutex protection
> > > > > - Handle overflow
> > > > > - Add ABI documentation
> > > > > - Aesthetic adjustments (Riana)
> > > > >
> > > > > v3:
> > > > > - Declare rotations as "long" and drop redundant casting
> > > > > - Change date and version in ABI documentation
> > > > > - Add commenter name in changelog (Riana)
> > > > >
> > > > > v4:
> > > > > - Fix wakeref leak
> > > > > - Drop switch case and simplify hwm_fan_xx() (Andi)
> > > >
> > > > I do not understand why we pollute Git history with changelogs, but it's
> > > > probably the ugly atavism in DRM workflow.
> > >
> > > I never liked it! Besides it should even be against the
> > > submitting patches recommendation.
> > >
> > > I don't understand what interest might have someone in a couple
> > > of years, reading this commit, knowing an unintellegible list of
> > > differences between v2 and v3.
> > >
> > > I consider it a random pollution of the commit log.
>
> I agree it is ugly. But I don't agree it is just a 'random polution'.
>
> I consider a valid and very useful information of the patch history.
> Very useful for a later cross check to know what exactly version
> of that patch got merged.
> Useful for distros on backports as well.
Isn't this why we have 'Link' as part of commit which points to
actual ML submission?
> >
> > Isn't it already documented?
> > Documentation/process/submitting-patches.rst
>
> I think it is:
>
> "Be sure to tell the reviewers what changes you are making and to thank them
> for their time. Code review is a tiring and time-consuming process, and
> reviewers sometimes get grumpy. Even in that case, though, respond
> politely and address the problems they have pointed out. When sending a next
> version, add a ``patch changelog`` to the cover letter or to individual patches
> explaining difference against previous submission
> "
>
> Then:
>
> '''
> Example of a patch submitted by the From: author::
> '''
>
> defines 'changelog' as the block above the signatures.
>
> And
>
> 'The canonical patch format'
>
> also tells that anything after '---' marker line is for
> "Any additional comments not suitable for the changelog."
>
> But well, the important part is to have the version information
> available for reviewers.
Can still be available below '---' marker.
Raag
next prev parent reply other threads:[~2024-08-21 3:52 UTC|newest]
Thread overview: 21+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-08-09 6:15 [PATCH v4] drm/i915/hwmon: expose fan speed Raag Jadav
2024-08-09 6:54 ` ✓ Fi.CI.BAT: success for drm/i915/hwmon: expose fan speed (rev4) Patchwork
2024-08-09 9:33 ` [PATCH v4] drm/i915/hwmon: expose fan speed Nilawar, Badal
2024-08-09 10:10 ` Raag Jadav
2024-08-09 10:16 ` Andi Shyti
2024-08-14 8:37 ` Nilawar, Badal
2024-08-19 6:50 ` Raag Jadav
2024-08-19 15:22 ` Andi Shyti
2024-08-09 11:48 ` Andy Shevchenko
2024-08-09 11:57 ` Andi Shyti
2024-08-20 9:00 ` Raag Jadav
2024-08-20 21:49 ` Rodrigo Vivi
2024-08-21 3:52 ` Raag Jadav [this message]
2024-08-21 11:39 ` Andy Shevchenko
2024-08-21 11:38 ` Andy Shevchenko
2024-08-09 14:55 ` Raag Jadav
2024-08-13 11:23 ` Raag Jadav
2024-08-13 11:47 ` Andy Shevchenko
2024-08-13 12:53 ` Raag Jadav
2024-08-13 13:07 ` Andy Shevchenko
2024-08-10 16:53 ` ✗ Fi.CI.IGT: failure for drm/i915/hwmon: expose fan speed (rev4) Patchwork
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=ZsVkapETDCTtx2_F@black.fi.intel.com \
--to=raag.jadav@intel.com \
--cc=airlied@gmail.com \
--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=daniel@ffwll.ch \
--cc=dri-devel@lists.freedesktop.org \
--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-kernel@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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.