All of lore.kernel.org
 help / color / mirror / Atom feed
From: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
To: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Cc: Sebastian Fricke <sebastian.fricke@collabora.com>,
	Hans Verkuil <hverkuil@xs4all.nl>,
	Linux Media Mailing List <linux-media@vger.kernel.org>,
	Sakari Ailus <sakari.ailus@linux.intel.com>,
	Daniel Almeida <daniel.almeida@collabora.com>,
	Mauro Carvalho Chehab <mchehab@kernel.org>,
	Martin Hecht <martin.hecht@avnet.eu>,
	Tommaso Merciai <tomm.merciai@gmail.com>,
	Jacopo Mondi <jacopo.mondi@ideasonboard.com>,
	Benjamin Mugnier <benjamin.mugnier@foss.st.com>,
	Ricardo Ribalda <ribalda@chromium.org>,
	Michael Tretter <m.tretter@pengutronix.de>,
	Alain Volmat <alain.volmat@foss.st.com>,
	Sean Young <sean@mess.org>, Steve Cho <stevecho@chromium.org>,
	Tomasz Figa <tfiga@chromium.org>,
	Hidenori Kobayashi <hidenorik@chromium.org>,
	"Hu, Jerry W" <jerry.w.hu@intel.com>,
	Suresh Vankadara <svankada@qti.qualcomm.com>,
	Devarsh Thakkar <devarsht@ti.com>,
	r-donadkar@ti.com,
	Dave Stevenson <dave.stevenson@raspberrypi.com>,
	Mehdi Djait <mehdi.djait@linux.intel.com>,
	Nicolas Dufresne <nicolas@ndufresne.ca>,
	Salahaldeen Altous <salahaldeen.altous@leica-camera.com>
Subject: Re: [ANN] Media Summit September 16th: Final Agenda (v7)
Date: Thu, 26 Sep 2024 13:06:15 +0200	[thread overview]
Message-ID: <20240926130615.5397cc30@foz.lan> (raw)
In-Reply-To: <20240926103002.GB21788@pendragon.ideasonboard.com>

Em Thu, 26 Sep 2024 13:30:02 +0300
Laurent Pinchart <laurent.pinchart@ideasonboard.com> escreveu:

> On Thu, Sep 26, 2024 at 12:38:15AM +0200, Mauro Carvalho Chehab wrote:
> > Em Wed, 25 Sep 2024 22:56:53 +0300
> > Laurent Pinchart <laurent.pinchart@ideasonboard.com> escreveu:
> >   
> > > Hi Mauro,
> > > 
> > > On Wed, Sep 18, 2024 at 01:23:23PM +0200, Mauro Carvalho Chehab wrote:  
> > > > Em Wed, 18 Sep 2024 11:30:20 +0200 Sebastian Fricke escreveu:    
> > > > > On 18.09.2024 09:24, Mauro Carvalho Chehab wrote:    
> > > > > > Em Tue, 17 Sep 2024 14:52:19 +0200 Hans Verkuil escreveu:    
> > > > > >> On 9/17/24 11:17 AM, Sebastian Fricke wrote:      
> > > > > >> > Greetings,
> > > > > >> >
> > > > > >> > I remember that we wanted to still define a couple of processes for the
> > > > > >> > multi-committer model for which we hadn't have the time on the media
> > > > > >> > summit. Just would like to gather who would be interested to meet for
> > > > > >> > that, where we meet (probably LPC venue) and when (Laurent just told me
> > > > > >> > that Friday is probably a good slot for that).      
> > > > > >>
> > > > > >> Can you refresh my memory which processes need more work?      
> > > > > 
> > > > > Well I basically remember that we had a bunch of topics in our meetings
> > > > > that we wanted to skip in order to talk about them here.
> > > > > We looked at the documentation from DRM and wanted to think about
> > > > > equivalent policies for media.
> > > > > https://drm.pages.freedesktop.org/maintainer-tools/committer/committer-drm-misc.html#where-do-i-apply-my-patch    
> > > > 
> > > > Thanks for the pointer. Yeah, examples from other trees can be helpful when
> > > > improving media developers profile and writing the committers agreement,
> > > > even when they have a message that it is just the opposite of what we
> > > > we want, like this (from DRM-misc ruleset):
> > > > 
> > > > 	"Since even a broken driver is more useful than no driver minimal
> > > > 	 review standards are a lot lower."
> > > > 
> > > > In this particular case, for instance, as discussed at media summit, we'd
> > > > like to have high quality standards for stuff under drivers/media. After
> > > > all, we do use drivers/media/staging for low quality drivers. 
> > > > 
> > > > It it worth mentioning that committers shall not merge low quality drivers
> > > > nor patches for staging. If ever needed, those should be done via PRs or
> > > > be explicitly authorized by maintainers.    
> > > 
> > > Do you mean new drivers only, or also patches for existing staging/
> > > drivers ?  
> > 
> > New drivers only. Patches for drivers already at staging can go via
> > committers tree.  
> 
> I think those could still be pushed directly, but I'm fine with a pull
> request for the time being. If the concern is that you'd like to have a
> look at the driver first, in the long run I'd rather ping you for a
> review and then push once you give an ack. We should move away from
> reviews at pull request time, they don't scale.

There aren't many new stage drivers, so this doesn't need to scale.

Also, we prefer drivers going directly to drivers/media, so staging
should be used only on unusual cases. Subsystem maintainers should
give a final word if a driver should be merged there or directly on
drivers/media.

> 
> > > > > Also there were topics like how to handle backports.     
> > > > 
> > > > We don't handle backports on media tree. This is up to stable maintainers.
> > > > Basically, we follow stable rules to the letter:
> > > > 
> > > > 	Documentation/process/stable-kernel-rules.rst
> > > > 
> > > > E. g. patches that require backports shall have the proper meta-tags 
> > > > (specially cc: stable and  fixes:).     
> > > 
> > > Sebastian may have meant backmerges.
> > >   
> > > > Also, we're not implementing multi-committers for fixes, just for next.
> > > > 
> > > > So, fixes shall follow the normal flow: they should be sent via PR.    
> > > 
> > > I see there's a fixes branch in the media-committers tree, does that
> > > mean you have agreed with Hans and Ricardo that fixes will go through
> > > pull requests but be pushed there for visibility ? If so, thanks for
> > > that, I think it will improve the experience.  
> > 
> > Hans and I are planning to push fixes at the media-committers tree, as it
> > allows CI to run those, but the goal here is not about visibility - it is
> > just to ensure that CI will execute tests on the merged patches.   
> 
> That's also a useful goal of course. If we can kill two birds with one
> stone, that's a good outcome.
> 
> > For committers and developers, the fixes workflow remains the same:
> > PRs for committers and patches for developers.
> > 
> > -
> > 
> > See, the main repository is hosted at linuxtv.org. We intend to avoid 
> > as much as possible rebases at the media tree at linuxtv.org, on both
> > fixes and next branches.
> > 
> > The media-committers tree at fdo is focused on executing patches at CI
> > and should only be used by committers. All other developers should base 
> > their work at the repository stored at linuxtv.org[1].  
> 
> That I don't like. We want people working on the media subsystem to test
> the very latest code, and to base their work on the tree that their
> patches will land in. Otherwise there will be conflicts, and the risk of
> conflict will increase as we pick up pace with the new workflow and
> merge patches faster.

This is unavoidable: in the beginning committers may (and will) make
mistakes, as this is a different workflow. As we keep adding more committers, 
more mistakes may happen, specially for the newbies.

So, we need to protect the tree where patches land in (media at 
linuxtv.org) from potential issues that might happen at the shared tree.

Besides that, conflicts are unavoidable on a multi-committers tree.

> > [1] We are planning to have a "media" repository there, replacing the
> >     current "media-stage" tree.
> > 
> > See, the media-committers repository at fdo can be rebased. This might
> > happen, for instance, if we don't agree with some merge there during
> > our merge review or if other committers disagree with merges. On such
> > case, the not-accepted patches will be dropped via rebase and the patches
> > will need to be reviewed the normal way.  
> 
> Things that haven't reached a consensus should not be merged in the
> first place, and in the rare cases where it happens, a revert is fine.
> Rebases should be kept for situations where no other option is possible.

I guess we agree to disagree.

Thanks,
Mauro

  parent reply	other threads:[~2024-09-26 11:06 UTC|newest]

Thread overview: 47+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-09-11  9:03 [ANN] Media Summit September 16th: Final Agenda (v7) Hans Verkuil
2024-09-14 20:07 ` Sakari Ailus
     [not found] ` <87a594e0-7f3e-495f-af49-d8816870bac9@xs4all.nl>
     [not found]   ` <FR4P281MB3434D01975FAC00E49F70CEAFD672@FR4P281MB3434.DEUP281.PROD.OUTLOOK.COM>
2024-09-16  5:27     ` AW: " Hans Verkuil
2024-09-16  5:42       ` Hans Verkuil
2024-09-17  9:17 ` Sebastian Fricke
     [not found]   ` <CAN0yncErs6T9MTp+QxrmbRgSWp79_YvoS_ekVOZB5N1mQ2wdLw@mail.gmail.com>
2024-09-17 10:34     ` Sakari Ailus
2024-09-17 10:35       ` Laurent Pinchart
2024-09-17 12:52   ` Hans Verkuil
2024-09-18  7:24     ` Mauro Carvalho Chehab
2024-09-18  9:30       ` Sebastian Fricke
2024-09-18 11:23         ` Mauro Carvalho Chehab
2024-09-25 19:56           ` Laurent Pinchart
2024-09-25 22:38             ` Mauro Carvalho Chehab
2024-09-26 10:30               ` Laurent Pinchart
2024-09-26 10:38                 ` Sakari Ailus
2024-09-26 10:41                   ` Laurent Pinchart
2024-09-26 10:48                     ` Sakari Ailus
2024-09-26 13:56                   ` Mauro Carvalho Chehab
2024-09-26 11:06                 ` Mauro Carvalho Chehab [this message]
2024-09-26 11:13                   ` Laurent Pinchart
2024-09-26 11:35                     ` Mauro Carvalho Chehab
2024-09-26 11:43                       ` Hans Verkuil
2024-09-26 12:02                         ` Laurent Pinchart
2024-09-26 13:49                           ` Mauro Carvalho Chehab
2024-09-26 11:40                   ` Sakari Ailus
2024-09-20 12:16         ` AW: " Hecht, Martin (Avnet Silica)
2024-09-25 19:53           ` Laurent Pinchart
2024-09-26 14:14           ` Kernel CI media test - Was: " Mauro Carvalho Chehab
2024-10-05 14:15             ` Gustavo Padovan
2024-11-09  8:04           ` Sebastian Fricke
2024-11-09 12:01             ` Laurent Pinchart
2024-11-11  8:23             ` Hecht, Martin (Avnet Silica)
2024-09-25 19:58       ` Laurent Pinchart
2024-09-26  7:27         ` Hans Verkuil
2024-09-26  9:30           ` Sakari Ailus
2024-09-26 10:19             ` Mauro Carvalho Chehab
2024-09-26 10:24               ` Laurent Pinchart
2024-09-26 10:35                 ` Sakari Ailus
2024-09-26 10:40                   ` Laurent Pinchart
2024-09-26 10:46                     ` Ricardo Ribalda
2024-09-26 10:54                       ` Sakari Ailus
2024-09-26 10:59                         ` Ricardo Ribalda
2024-09-26 11:48                           ` Sakari Ailus
2024-09-26 10:52                     ` Sakari Ailus
2024-09-26 11:13                   ` Mauro Carvalho Chehab
2024-09-26 10:53                 ` Mauro Carvalho Chehab
2024-09-26 11:07                   ` Laurent Pinchart

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=20240926130615.5397cc30@foz.lan \
    --to=mchehab+huawei@kernel.org \
    --cc=alain.volmat@foss.st.com \
    --cc=benjamin.mugnier@foss.st.com \
    --cc=daniel.almeida@collabora.com \
    --cc=dave.stevenson@raspberrypi.com \
    --cc=devarsht@ti.com \
    --cc=hidenorik@chromium.org \
    --cc=hverkuil@xs4all.nl \
    --cc=jacopo.mondi@ideasonboard.com \
    --cc=jerry.w.hu@intel.com \
    --cc=laurent.pinchart@ideasonboard.com \
    --cc=linux-media@vger.kernel.org \
    --cc=m.tretter@pengutronix.de \
    --cc=martin.hecht@avnet.eu \
    --cc=mchehab@kernel.org \
    --cc=mehdi.djait@linux.intel.com \
    --cc=nicolas@ndufresne.ca \
    --cc=r-donadkar@ti.com \
    --cc=ribalda@chromium.org \
    --cc=sakari.ailus@linux.intel.com \
    --cc=salahaldeen.altous@leica-camera.com \
    --cc=sean@mess.org \
    --cc=sebastian.fricke@collabora.com \
    --cc=stevecho@chromium.org \
    --cc=svankada@qti.qualcomm.com \
    --cc=tfiga@chromium.org \
    --cc=tomm.merciai@gmail.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.