[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <alpine.LFD.2.02.1109211206130.2723@ionos>
Date: Wed, 21 Sep 2011 12:06:49 +0200 (CEST)
From: Thomas Gleixner <tglx@...utronix.de>
To: Ben Hutchings <ben@...adent.org.uk>
cc: Ingo Molnar <mingo@...hat.com>, "H. Peter Anvin" <hpa@...or.com>,
LKML <linux-kernel@...r.kernel.org>,
Andres Salomon <dilinger@...ued.net>,
Andy Lutomirski <luto@....edu>,
Arnaud Lacombe <lacombar@...il.com>
Subject: Re: [PATCH] x86-32: Fix alignment of alternative instruction
entries
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
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists