historical-speck.lore.kernel.org archive mirror
 help / color / mirror / Atom feed
From: mark gross <mgross@linux.intel.com>
To: speck@linutronix.de
Subject: [MODERATED] Re: [PATCH 0/5] Slow Randomizing Boosts DoS v4.4.219 backport 0
Date: Tue, 28 Apr 2020 14:38:37 -0700	[thread overview]
Message-ID: <20200428213837.GB122693@mtg-dev.jf.intel.com> (raw)
In-Reply-To: <20200428152213.GA1565321@kroah.com>

On Tue, Apr 28, 2020 at 05:22:13PM +0200, speck for Greg KH wrote:
> On Tue, Apr 28, 2020 at 07:39:36AM -0700, speck for mark gross wrote:
> > On Mon, Apr 27, 2020 at 09:37:43PM +0200, speck for Thomas Gleixner wrote:
> > > Mark,
> > > 
> > > speck for mark gross <speck@linutronix.de> writes:
> > > > From: mark gross <mgross@linux.intel.com>
> > > > Subject: [PATCH 0/5] Slow Ranomizing Boosts DoS linux-4.4.y backport
> > > >
> > > > This is a backport of the backports done by Thomas for linux-4.14.y to
> > > > linux-4.4.y.
> > > >
> > > > The backport needed a backport of one additional dependency for
> > > > cpu_data-x86_mask getting renamed to x86_stepping.
> > > >
> > > > This was tested by the test engineer who tested the other SRBDS implementations
> > > > and it seems to work.
> > > >
> > > >
> > > > Jia Zhang (1):
> > > >   x86/cpu: Rename cpu_data.x86_mask to cpu_data.x86_stepping
> > > 
> > > This one is missing and rightfully so. Maybe you get your mail setup for
> > > sending patches right some day in the future.
> > Thats strange.  FWIW I did the following:
> > 1996  vim mail/0000-cover-letter.patch
> > 1997  speckify-gitmail -s "Slow Randomizing Boosts DoS v4.4.219 backport" mail/ spec/
> > 1998  ls spec/
> > 1999  cd spec/
> > 2000  for b in `ls`; do sendmail -t -i -f mgross@linux.intel.com < $b; done
> > 2001  history
> > 
> > see patch that failed to send below
> > 
> > > This one has in the mail headers:
> > > 
> > >   In-Reply-To: <cover.1588001639.git.mgross@linux.intel.com>
> > >   References: <cover.1588001639.git.mgross@linux.intel.com>
> > >   From: Jia Zhang <qianyue.zj@alibaba-inc.com>
> > >   Date: Mon, 1 Jan 2018 09:52:10 +0800
> > > 
> > > While it's correct that the patch is from Jia and was written on Jan. 1
> > > 2018, neither the From: nor the Date: header in the mail are correct.
> > 
> > I cherry-picked it from the linux-4.9.y version.
> > 
> > > 
> > > That's commit b399151cb48db30ad1e0e93dd40d68c6d007b637 upstream. Do we
> > > really want to backport that thing to 4.4 or just live with the uglies
> > > of x86_cpuinfo::x86_mask ?
> > > 
> > > TBH, I don't care, but the stable people might have opinions.
> > > 
> > > FYI, the Date: headers are generally odd when you send patches as they
> > > are not reflecting when the mail is sent. They reflect when the patch
> > > was written.
> > > 
> > > Thanks,
> > > 
> > >         tglx
> > >
> > -------------------
> > 
> > 
> > From 4db1a97738fbbe14af9a8c746ebd11699f903f76 Mon Sep 17 00:00:00 2001
> > Message-Id: <4db1a97738fbbe14af9a8c746ebd11699f903f76.1588001639.git.mgross@linux.intel.com>
> > In-Reply-To: <cover.1588001639.git.mgross@linux.intel.com>
> > References: <cover.1588001639.git.mgross@linux.intel.com>
> > From: Jia Zhang <qianyue.zj@alibaba-inc.com>
> > Date: Mon, 1 Jan 2018 09:52:10 +0800
> > Subject: [PATCH 1/5] x86/cpu: Rename cpu_data.x86_mask to
> >  cpu_data.x86_stepping
> > To: speck@linutronix.de
> > 
> > commit b399151cb48db30ad1e0e93dd40d68c6d007b637 upstream.
> > 
> > x86_mask is a confusing name which is hard to associate with the
> > processor's stepping.
> > 
> > Additionally, correct an indent issue in lib/cpu.c.
> > 
> > Signed-off-by: Jia Zhang <qianyue.zj@alibaba-inc.com>
> > [ Updated it to more recent kernels. ]
> > Cc: Linus Torvalds <torvalds@linux-foundation.org>
> > Cc: Peter Zijlstra <peterz@infradead.org>
> > Cc: Thomas Gleixner <tglx@linutronix.de>
> > Cc: bp@alien8.de
> > Cc: tony.luck@intel.com
> > Link: http://lkml.kernel.org/r/1514771530-70829-1-git-send-email-qianyue.zj@alibaba-inc.com
> > Signed-off-by: Ingo Molnar <mingo@kernel.org>
> > Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
> > 
> >  Conflicts:
> > 	arch/x86/events/intel/core.c
> > 	arch/x86/events/intel/lbr.c
> > 	arch/x86/events/intel/p6.c
> > 	arch/x86/kernel/cpu/common.c
> > 	arch/x86/kernel/cpu/intel.c
> > 	arch/x86/kernel/cpu/microcode/intel.c
> > 	arch/x86/kernel/mpparse.c
> > 	arch/x86/lib/cpu.c
> > 	drivers/cpufreq/acpi-cpufreq.c
> > 	drivers/cpufreq/powernow-k7.c
>
> What's that here for?

Its a habit I got into on my previous job where me and a team where doing a lot
of rebases of an intel vendor kernel to track upstream.  I think its useful
information to see where there where merge or rebase conflicts.  Thats where
screw up's tended to happen and I just got into a habbit of saving the confilct
list.

I'm happy to remove those.

> 
> Can you resend this series in a format I can use?
I will certainly try but, other than the smtp send failure dropping the one
patch and dropping the Conflicts list in the backport is there something else I
need to look out for?  I "backported" the 4.9.y backport of Jia's patch I think
that may be one thing Thomas was calling out.  Is that ok or should I redo that
backport using the original version it first landed in?

--mark

  reply	other threads:[~2020-04-28 21:38 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-04-27 15:33 [MODERATED] [PATCH 0/5] Slow Randomizing Boosts DoS v4.4.219 backport 0 mark gross
2018-01-01  1:52 ` [MODERATED] [MODERATED] [PATCH 1/5] Slow Randomizing Boosts DoS v4.4.219 backport 1 Jia Zhang
2020-04-16 15:23 ` [MODERATED] [PATCH 2/5] Slow Randomizing Boosts DoS v4.4.219 backport 2 Mark Gross
2020-04-16 15:32 ` [MODERATED] [PATCH 3/5] Slow Randomizing Boosts DoS v4.4.219 backport 3 Mark Gross
2020-04-16 15:54 ` [MODERATED] [PATCH 4/5] Slow Randomizing Boosts DoS v4.4.219 backport 4 Mark Gross
2020-04-16 16:21 ` [MODERATED] [PATCH 5/5] Slow Randomizing Boosts DoS v4.4.219 backport 5 Mark Gross
2020-04-27 19:37 ` [PATCH 0/5] Slow Randomizing Boosts DoS v4.4.219 backport 0 Thomas Gleixner
2020-04-27 19:47   ` Thomas Gleixner
2020-04-28 14:54     ` [MODERATED] " mark gross
2020-04-28 15:35     ` Thomas Gleixner
2020-04-28 21:27       ` [MODERATED] " mark gross
2020-04-28 14:39   ` mark gross
2020-04-28 15:22     ` Greg KH
2020-04-28 21:38       ` mark gross [this message]
2020-04-28 22:25         ` Thomas Gleixner
2020-04-29 15:04           ` [MODERATED] " mark gross

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=20200428213837.GB122693@mtg-dev.jf.intel.com \
    --to=mgross@linux.intel.com \
    --cc=speck@linutronix.de \
    /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;
as well as URLs for NNTP newsgroup(s).