All of lore.kernel.org
 help / color / mirror / Atom feed
From: Raag Jadav <raag.jadav@intel.com>
To: Lucas De Marchi <lucas.demarchi@intel.com>
Cc: intel-xe@lists.freedesktop.org,
	Badal Nilawar <badal.nilawar@intel.com>,
	Andi Shyti <andi.shyti@linux.intel.com>,
	Rodrigo Vivi <rodrigo.vivi@intel.com>,
	Ulisses Furquim <ulisses.furquim@intel.com>
Subject: Re: [PATCH 1/2] drm/xe/hwmon: Fix kernel version documentation for temperature
Date: Wed, 23 Apr 2025 10:34:19 +0300	[thread overview]
Message-ID: <aAiX-26Rv5yA7Gnd@black.fi.intel.com> (raw)
In-Reply-To: <m2phxj2zvpkil576b3u53yao3zxu3735nc65vnecx72qs3nwbm@5hi3453lepr5>

On Tue, Apr 22, 2025 at 02:42:46PM -0500, Lucas De Marchi wrote:
> On Tue, Apr 22, 2025 at 10:34:32AM +0300, Raag Jadav wrote:
> > On Mon, Apr 21, 2025 at 02:53:00PM -0500, Lucas De Marchi wrote:
> > > On Mon, Apr 21, 2025 at 08:13:13PM +0300, Raag Jadav wrote:
> > > > On Mon, Apr 21, 2025 at 08:15:38AM -0700, Lucas De Marchi wrote:
> > > > > Wrong copy and paste from other entries: these are starting to be
> > > > > supported with 6.15.
> > > >
> > > > I had an impression that we follow the upstream drm tree, but it seems not?
> > > 
> > > This is a simplified diagram on how it propagates to a X.Y kernel release:
> > > 
> > >                                                (a)
> > >         drm-xe/drm-xe-next  ->  drm/drm-next   ->  linus/master
> > >                         |                      (b)      |
> > >                         `---->  drm/drm-fixes  ->       `- <X.Y-rc1>
> > >                         `---->  drm/drm-fixes  ->       `- <X.Y-rc2>
> > >                                                         `- ...
> > >                                                         `- <X.Y>
> > > 
> > > 	(a) 2-weeks merge window
> > > 	(b) weekly fixes propagation
> > > 
> > > We always first merge it to drm-xe-next, but depending on when we merge
> > > it, a **feature** may be targeting different kernel releases. As a rule of
> > > thumb, a -next branch always target either the next kernel release or
> > > next+1 in case current is already on ~ rc6. Fixes target the current or
> > > next release (depending if the current has the bug or not).
> > 
> > Yes, which makes targeting a release a bit fuzzy for the patches being
> > merged around -rc6 (unless we have a hard cut-off rule that I'm not
> > familiar with?).
> > 
> > Side node: This is definitely worth being somewhere in
> > https://dri.freedesktop.org/docs/drm/process/index.html
> 
> This page is not related to drm though: it's just the html-rendering of
> the entire kernel docs. Also, I don't see any other subsystem/tree
> detailing the "path to Linus".

I meant it's worth being informed to be able to target a release correctly
and you don't have to go around explaining each time.

> > (atleast for the folks who are new to drm)
> > 
> > > This sysfs documentation is for the end user and userspace developer: they
> > > have now idea (and shouldn't have) of any branch propagation in the
> > > kernel to get to a release. This propagation is not even stable across
> > > the different subsystems in the kernel.
> > 
> > Sure, so perhaps reflect this in the commit message?
> > I know we do it for other cases but being accused of copy paste doesn't
> > feel right :(
> 
> This is wrong for any subsystem and not only drm. If it was not a copy &
> paste mistake as I assumed, I can write something else in the commit
> message. Please don't view it as me accusing you of anything: it's just
> the most common mistake and I assumed it was the case for missing it in
> both instances. Would it be better like below?
> 
> 	The version in the sysfs attribute should correspond to the version in
> 	which this is enabled and visible for end users. It usually doesn't
> 	correspond to the version in which the patch was developed, but rather
> 	a release that will contain it.

With that feel free to add to the series

Reviewed-by: Raag Jadav <raag.jadav@intel.com>

  reply	other threads:[~2025-04-23  7:34 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-04-21 15:15 [PATCH 0/2] drm/xe/hwmon: Documentation fixes wrt kernel version Lucas De Marchi
2025-04-21 15:15 ` [PATCH 1/2] drm/xe/hwmon: Fix kernel version documentation for temperature Lucas De Marchi
2025-04-21 17:13   ` Raag Jadav
2025-04-21 19:53     ` Lucas De Marchi
2025-04-22  7:34       ` Raag Jadav
2025-04-22 19:42         ` Lucas De Marchi
2025-04-23  7:34           ` Raag Jadav [this message]
2025-04-22 19:34   ` Rodrigo Vivi
2025-04-21 15:15 ` [PATCH 2/2] drm/xe/hwmon: Fix kernel version documentation for fan speed Lucas De Marchi
2025-04-22 19:34   ` Rodrigo Vivi
2025-04-21 15:40 ` ✓ CI.Patch_applied: success for drm/xe/hwmon: Documentation fixes wrt kernel version Patchwork
2025-04-21 15:40 ` ✓ CI.checkpatch: " Patchwork
2025-04-21 15:41 ` ✓ CI.KUnit: " Patchwork
2025-04-21 15:50 ` ✓ CI.Build: " Patchwork
2025-04-21 15:52 ` ✓ CI.Hooks: " Patchwork
2025-04-21 15:53 ` ✓ CI.checksparse: " Patchwork
2025-04-21 17:53 ` ✗ Xe.CI.Full: failure " Patchwork
2025-04-22 13:17 ` ✓ Xe.CI.BAT: success " 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=aAiX-26Rv5yA7Gnd@black.fi.intel.com \
    --to=raag.jadav@intel.com \
    --cc=andi.shyti@linux.intel.com \
    --cc=badal.nilawar@intel.com \
    --cc=intel-xe@lists.freedesktop.org \
    --cc=lucas.demarchi@intel.com \
    --cc=rodrigo.vivi@intel.com \
    --cc=ulisses.furquim@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 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.