From: Thomas Gleixner <tglx@linutronix.de>
To: Ben Hutchings <ben@decadent.org.uk>
Cc: Ingo Molnar <mingo@redhat.com>, "H. Peter Anvin" <hpa@zytor.com>,
LKML <linux-kernel@vger.kernel.org>,
Andres Salomon <dilinger@queued.net>,
Andy Lutomirski <luto@mit.edu>,
Arnaud Lacombe <lacombar@gmail.com>
Subject: Re: [PATCH] x86-32: Fix alignment of alternative instruction entries
Date: Wed, 21 Sep 2011 12:06:49 +0200 (CEST) [thread overview]
Message-ID: <alpine.LFD.2.02.1109211206130.2723@ionos> (raw)
In-Reply-To: <1316580313.4122.21.camel@deadeye>
On Wed, 21 Sep 2011, Ben Hutchings wrote:
> The altinstruction_entry macro was originally used only on x86-64,
> and assumed 64-bit pointers and alignment.
>
> Commit b4ca46e4e82a0a5976fe5eab85be585d75f8202f ("x86-32: Fix boot
> with CONFIG_X86_INVD_BUG") introduced a use of the macro on x86-32.
> Before this, the 64-bit pointers had been replaced by 32-bit offsets,
> so it worked - in at least one case. However, the alignment is still
> wrong for x86-32, which can result in zero-padding between entries and
> a BUG in apply_alternatives.
Fixed in Linus tree already: commit a7f934d4f16144cb
Thanks,
tglx
prev parent reply other threads:[~2011-09-21 10:06 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-09-21 4:45 [PATCH] x86-32: Fix alignment of alternative instruction entries Ben Hutchings
2011-09-21 10:06 ` Thomas Gleixner [this message]
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=alpine.LFD.2.02.1109211206130.2723@ionos \
--to=tglx@linutronix.de \
--cc=ben@decadent.org.uk \
--cc=dilinger@queued.net \
--cc=hpa@zytor.com \
--cc=lacombar@gmail.com \
--cc=linux-kernel@vger.kernel.org \
--cc=luto@mit.edu \
--cc=mingo@redhat.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