From: Ingo Molnar <mingo@kernel.org>
To: Tao Guo <glorioustao@gmail.com>
Cc: Greg KH <gregkh@linuxfoundation.org>,
linux-kernel@vger.kernel.org, Jan Beulich <jbeulich@novell.com>,
Ingo Molnar <mingo@elte.hu>,
stable@vger.kernel.org, hpa@zytor.com
Subject: Re: [PATCH] x86_64: Work around old gas bug
Date: Thu, 27 Sep 2012 06:12:33 +0200 [thread overview]
Message-ID: <20120927041233.GA3013@gmail.com> (raw)
In-Reply-To: <CAAV8rnK_+g7jFZ-_V4VG-e4FGWqevkA-mJvy=d3ivmoEWnUo1g@mail.gmail.com>
* Tao Guo <glorioustao@gmail.com> wrote:
> On Wed, Sep 26, 2012 at 9:25 PM, Greg KH <gregkh@linuxfoundation.org> wrote:
> > On Wed, Sep 26, 2012 at 04:28:22AM -0400, Tao Guo wrote:
> >> gas in binutils(2.16.91) could not parse parentheses within macro
> >> parameters unless fully parenthesized, and this is a workaround to
> >> make old gas work without generating below errors:
> >> arch/x86/kernel/entry_64.S: Assembler messages:
> >> arch/x86/kernel/entry_64.S:387: Error: too many positional arguments
> >> arch/x86/kernel/entry_64.S:389: Error: too many positional arguments
> >> arch/x86/kernel/entry_64.S:390: Error: too many positional arguments
> >> arch/x86/kernel/entry_64.S:391: Error: too many positional arguments
> >> arch/x86/kernel/entry_64.S:392: Error: too many positional arguments
> >> arch/x86/kernel/entry_64.S:393: Error: too many positional arguments
> >> arch/x86/kernel/entry_64.S:394: Error: too many positional arguments
> >>
> >> Signed-off-by: Tao Guo <glorioustao@gmail.com>
> >> ---
> >> arch/x86/include/asm/calling.h | 48 +++++++++++++++++++--------------------
> >> arch/x86/kernel/entry_64.S | 20 ++++++++--------
> >> 2 files changed, 33 insertions(+), 35 deletions(-)
> >
> > <formletter>
> >
> > This is not the correct way to submit patches for inclusion in the
> > stable kernel tree. Please read Documentation/stable_kernel_rules.txt
> > for how to do this properly.
> >
> > </formletter>
>
> Thanks Greg, I just realized that I followed the old rules in
> an old Documentation/stable_kernel_rules.txt file. Since the
> patches for other stable branches will be a little different
> from this one, I will send them later to
> stable@vger.kernel.org after this patch gets accepted.
Please don't send this to -stale yet (or at all).
I have queued up the patch for v3.7, not even for v3.6. It needs
more testing - old GAS users are probably better off having a
non-building kernel than a subtly broken one. v3.7 and onwards
stable kernels will have the fix - hopefully by the time it's
released any more subtle bugs are found and fixed.
Thanks,
Ingo
next prev parent reply other threads:[~2012-09-27 4:12 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-09-26 8:28 [PATCH] x86_64: Work around old gas bug Tao Guo
2012-09-26 10:17 ` Jan Beulich
2012-09-26 11:16 ` Ingo Molnar
2012-09-26 11:28 ` Jan Beulich
2012-09-26 13:25 ` Greg KH
2012-09-26 14:29 ` Tao Guo
2012-09-27 4:12 ` Ingo Molnar [this message]
2012-09-27 6:09 ` [tip:x86/asm] x86_64: Work around old GAS bug tip-bot for Tao Guo
-- strict thread matches above, loose matches on Subject: below --
2012-09-26 6:15 [PATCH] x86_64: Work around old gas bug Tao Guo
2012-09-26 7:13 ` Jan Beulich
2012-09-26 8:15 ` Tao Guo
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=20120927041233.GA3013@gmail.com \
--to=mingo@kernel.org \
--cc=glorioustao@gmail.com \
--cc=gregkh@linuxfoundation.org \
--cc=hpa@zytor.com \
--cc=jbeulich@novell.com \
--cc=linux-kernel@vger.kernel.org \
--cc=mingo@elte.hu \
--cc=stable@vger.kernel.org \
/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.