Linux kernel -stable discussions
 help / color / mirror / Atom feed
From: Eric Biggers <ebiggers@kernel.org>
To: Greg KH <gregkh@linuxfoundation.org>
Cc: lukas@wunner.de, ignat@linux.win, jarkko@kernel.org,
	yimingqian591@gmail.com, stable@vger.kernel.org,
	linux-crypto@vger.kernel.org
Subject: Re: FAILED: patch "[PATCH] lib/crypto: mpi: Fix integer underflow in" failed to apply to 6.1-stable tree
Date: Thu, 14 May 2026 23:44:27 -0700	[thread overview]
Message-ID: <20260515064427.GA15865@sol> (raw)
In-Reply-To: <2026051530-lushness-attest-bcbb@gregkh>

On Fri, May 15, 2026 at 07:45:40AM +0200, Greg KH wrote:
> On Wed, May 13, 2026 at 10:59:34PM +0000, Eric Biggers wrote:
> > On Wed, May 13, 2026 at 10:04:47AM -0700, Eric Biggers wrote:
> > > > > A couple issues.  First, this email wasn't sent to the subsystem's
> > > > > mailing list (linux-crypto@vger.kernel.org in this case).  That greatly
> > > > > reduces the number of people who are made aware that this didn't get
> > > > > automatically backported.
> > > > 
> > > > We never send out these FAILED emails to the mailing lists, as that
> > > > would make just even more noise.  It's always been this way, sorry.
> > > 
> > > Yes, this has been a problem for a long time, resulting in lots of
> > > missed backports including the copy.fail ones.  It's time for you to fix
> > > your process.
> > > 
> > > > > Second, the upstream commit cherry-picks to 6.1, 5.15, and 5.10 without
> > > > > conflict.  (The file being changed was renamed between 6.1 and 6.6, but
> > > > > 'git cherry-pick' handles that automatically.)
> > > > > 
> > > > > I don't know what you're doing exactly that caused it to be
> > > > > unnecessarily marked as FAILED.  But whatever it is, it's not working,
> > > > > and it is causing backports to be missed.
> > > > 
> > > > We don't use git for cherry-picking as we have a patch queue, so renames
> > > > will often times fail, like it did here.  This has always been the case
> > > > in the decades we have been running the stable kernels :)
> > > 
> > > Again, this has been a problem for a long time, and it's time for you to
> > > fix your process.  You can still have the patch queue; just use git for
> > > the actual cherry-pick.
> > 
> > Also I should mention that your own instructions for "reproducing" the
> > conflict use 'git cherry-pick':
> > 
> >     git fetch https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/ linux-6.1.y
> >     git checkout FETCH_HEAD
> >     git cherry-pick -x 8c2f1288250a90a4b5cabed5d888d7e3aeed4035
> >     # <resolve conflicts, build, test, etc.>
> >     git commit -s
> >     git send-email --to '<stable@vger.kernel.org>' --in-reply-to '2026051223-undercoat-reps-6626@gregkh' --subject-prefix 'PATCH 6.1.y' HEAD^..
> > 
> > When these instructions are followed, there is no conflict.  The
> > "conflict" is purely because you didn't use 'git cherry-pick' yourself.
> 
> Yes, that is true, we are showing how someone else can potentially
> resolve the issue.  The magic is in the line:
>
> 	# <resolve conflicts, build, test, etc.>
> 
> We issue FAILED emails for any number of reasons, we don't go into the
> details of why it FAILED, otherwise we would have just too much
> information here.

I'm not asking for details on why it's FAILED.  I'm asking for commits
that cherry-pick cleanly to not be FAILED in the first place.

> > So just start using 'git cherry-pick', and stop asking other people to
> > do it for you when there are no conflicts, please.
> 
> That does not work in our workflow at all.  Given the huge flow of
> patches, and all the different issues/errors, the odds that a simple
> rename will resolve the problem is very low.  For that I can not slow
> down the whole process for all submissions.

I've been doing stable backports for a long time, and it's happened
*many* times that something cherry-picks cleanly for me but you say
there are "conflicts".  Here's an example from just 2 weeks ago where
you spent time "resolving" a "conflict" in commits that actually
cherry-picked cleanly:
https://lore.kernel.org/linux-crypto/2026043050-drainpipe-salvage-07c1@gregkh/

> > And please start Cc'ing the mailing lists.  Linux kernel development
> > isn't done in private email.
> 
> This isn't a private list, we are cc:ing the people who signed off on
> the patch directly.  They are the "owners" of it.

And sometimes the "owners" don't do it and other people involved in the
subsystem need to do it.  Or the backports are wrong and other people
involved in the system need to point that out.  It's not much different
from any other kernel development; it should be done on the lists.

- Eric

  reply	other threads:[~2026-05-15  6:45 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-05-12 14:01 FAILED: patch "[PATCH] lib/crypto: mpi: Fix integer underflow in" failed to apply to 6.1-stable tree gregkh
2026-05-13  2:51 ` Eric Biggers
2026-05-13 10:34   ` Greg KH
2026-05-13 17:04     ` Eric Biggers
2026-05-13 22:59       ` Eric Biggers
2026-05-15  5:45         ` Greg KH
2026-05-15  6:44           ` Eric Biggers [this message]
2026-05-15  5:46       ` Greg KH

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=20260515064427.GA15865@sol \
    --to=ebiggers@kernel.org \
    --cc=gregkh@linuxfoundation.org \
    --cc=ignat@linux.win \
    --cc=jarkko@kernel.org \
    --cc=linux-crypto@vger.kernel.org \
    --cc=lukas@wunner.de \
    --cc=stable@vger.kernel.org \
    --cc=yimingqian591@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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox