Re: [tip:x86/cpu] x86, cpu: Fix X86_FEATURE_NOPL

From: Borislav Petkov
Date: Tue Oct 05 2010 - 05:47:22 EST


From: tip-bot for Borislav Petkov <bp@xxxxxxxxx>
Date: Mon, Oct 04, 2010 at 08:36:15PM +0000

> Commit-ID: 366d4a43b1a7a861c356a0e407c4f03f454d42ea
> Gitweb: http://git.kernel.org/tip/366d4a43b1a7a861c356a0e407c4f03f454d42ea
> Author: Borislav Petkov <bp@xxxxxxxxx>
> AuthorDate: Mon, 4 Oct 2010 09:31:27 +0200
> Committer: H. Peter Anvin <hpa@xxxxxxxxxxxxxxx>
> CommitDate: Mon, 4 Oct 2010 11:22:24 -0700
>
> x86, cpu: Fix X86_FEATURE_NOPL
>
> ba0593bf553c450a03dbc5f8c1f0ff58b778a0c8 cleared the aforementioned
> cpuid bit only on 32-bit due to various problems with Virtual PC. This
> somehow got lost during the 32- + 64-bit merge so restore the feature
> bit on 64-bit. For that, set it explicitly for non-constant arguments of
> cpu_has(). Update comment for future reference.
>
> Signed-off-by: Borislav Petkov <bp@xxxxxxxxx>
> LKML-Reference: <20101004073127.GA20305@xxxxxxxxxxxx>
> Cc: Ryan O'Neill <ryan@xxxxxxxxxxxx>
> Cc: Linus Torvalds <torvalds@xxxxxxxxxxxxxxxxxxxx>
> Signed-off-by: H. Peter Anvin <hpa@xxxxxxxxxxxxxxx>

tag it for -stable too?

--
Regards/Gruss,
Boris.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/