From: Chuck Ebbert <76306.1226@compuserve.com>
To: Andrew Morton <akpm@osdl.org>
Cc: linux-kernel@vger.kernel.org
Subject: Re: 2.6.16-rc4-mm1
Date: Tue, 21 Feb 2006 18:19:58 -0500 [thread overview]
Message-ID: <200602211822_MC3-1-B8F6-689@compuserve.com> (raw)
In-Reply-To: <20060221134139.11b8668b.akpm@osdl.org>
On Tue, 21 Feb 2006 at 13:41:39 -0800, Andrew Morton wrote:
> None of these are must-have fixes, are they? I had them queued for 2.6.17.
Well i386-allow-disabling-x86_feature_sep-at-boot.patch is for me.
I had to backport it to -rc4 for testing differences between sysenter
and int80 syscall paths. I could live without it (I once forgot to apply
it and wondered why it wasn't working), but anyway here's the backport:
From: Chuck Ebbert <76306.1226@compuserve.com>
Allow the x86 "sep" feature to be disabled at bootup. This forces use of the
int80 vsyscall. Mainly for testing or benchmarking the int80 vsyscall code.
Signed-off-by: Chuck Ebbert <76306.1226@compuserve.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
---
Documentation/kernel-parameters.txt | 6 +++++-
arch/i386/kernel/cpu/common.c | 15 ++++++++++++++-
2 files changed, 19 insertions(+), 2 deletions(-)
--- 2.6.16-rc3-nb.orig/Documentation/kernel-parameters.txt
+++ 2.6.16-rc3-nb/Documentation/kernel-parameters.txt
@@ -1002,7 +1002,9 @@ running once the system is up.
noexec=on: enable non-executable mappings (default)
noexec=off: disable nn-executable mappings
- nofxsr [BUGS=IA-32]
+ nofxsr [BUGS=IA-32] Disables x86 floating point extended
+ register save and restore. The kernel will only save
+ legacy floating-point registers on task switch.
nohlt [BUGS=ARM]
@@ -1045,6 +1047,8 @@ running once the system is up.
nosbagart [IA-64]
+ nosep [BUGS=IA-32] Disables x86 SYSENTER/SYSEXIT support.
+
nosmp [SMP] Tells an SMP kernel to act as a UP kernel.
nosync [HW,M68K] Disables sync negotiation for all devices.
--- 2.6.16-rc3-nb.orig/arch/i386/kernel/cpu/common.c
+++ 2.6.16-rc3-nb/arch/i386/kernel/cpu/common.c
@@ -22,8 +22,9 @@ DEFINE_PER_CPU(unsigned char, cpu_16bit_
EXPORT_PER_CPU_SYMBOL(cpu_16bit_stack);
static int cachesize_override __devinitdata = -1;
-static int disable_x86_fxsr __devinitdata = 0;
+static int disable_x86_fxsr __devinitdata;
static int disable_x86_serial_nr __devinitdata = 1;
+static int disable_x86_sep __devinitdata;
struct cpu_dev * cpu_devs[X86_VENDOR_NUM] = {};
@@ -183,6 +184,14 @@ static int __init x86_fxsr_setup(char *
__setup("nofxsr", x86_fxsr_setup);
+static int __init x86_sep_setup(char * s)
+{
+ disable_x86_sep = 1;
+ return 1;
+}
+__setup("nosep", x86_sep_setup);
+
+
/* Standard macro to see if a specific flag is changeable */
static inline int flag_is_changeable_p(u32 flag)
{
@@ -401,6 +410,10 @@ void __devinit identify_cpu(struct cpuin
clear_bit(X86_FEATURE_XMM, c->x86_capability);
}
+ /* SEP disabled? */
+ if (disable_x86_sep)
+ clear_bit(X86_FEATURE_SEP, c->x86_capability);
+
if (disable_pse)
clear_bit(X86_FEATURE_PSE, c->x86_capability);
--
Chuck
"Equations are the Devil's sentences." --Stephen Colbert
next reply other threads:[~2006-02-21 23:23 UTC|newest]
Thread overview: 34+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-02-21 23:19 Chuck Ebbert [this message]
-- strict thread matches above, loose matches on Subject: below --
2006-02-21 18:14 2.6.16-rc4-mm1 Chuck Ebbert
2006-02-21 21:41 ` 2.6.16-rc4-mm1 Andrew Morton
2006-02-21 22:17 ` 2.6.16-rc4-mm1 Sam Ravnborg
2006-02-20 12:26 2.6.16-rc4-mm1 Andrew Morton
2006-02-20 12:38 ` 2.6.16-rc4-mm1 Al Viro
2006-02-20 12:54 ` 2.6.16-rc4-mm1 Francesco Biscani
2006-02-20 12:40 ` 2.6.16-rc4-mm1 Reuben Farrelly
2006-02-20 20:15 ` 2.6.16-rc4-mm1 Al Viro
2006-02-21 0:53 ` 2.6.16-rc4-mm1 Andrew Morton
2006-02-21 4:40 ` 2.6.16-rc4-mm1 Al Viro
2006-02-21 7:59 ` 2.6.16-rc4-mm1 Arjan van de Ven
2006-02-20 13:02 ` 2.6.16-rc4-mm1 Reuben Farrelly
2006-02-20 14:11 ` 2.6.16-rc4-mm1 Patrick McHardy
2006-02-20 14:20 ` 2.6.16-rc4-mm1 Arnaldo Carvalho de Melo
2006-02-20 20:04 ` 2.6.16-rc4-mm1 Carl-Daniel Hailfinger
2006-02-20 20:56 ` 2.6.16-rc4-mm1 Arnaldo Carvalho de Melo
2006-02-20 21:09 ` 2.6.16-rc4-mm1 Adrian Bunk
2006-02-20 20:44 ` 2.6.16-rc4-mm1 Adrian Bunk
2006-02-21 1:17 ` 2.6.16-rc4-mm1 Patrick McHardy
2006-02-21 2:00 ` 2.6.16-rc4-mm1 Adrian Bunk
[not found] ` <6bffcb0e0602200533p1a3da98ew@mail.gmail.com>
2006-02-20 16:33 ` 2.6.16-rc4-mm1 Greg KH
2006-02-20 17:54 ` 2.6.16-rc4-mm1 Bernhard Rosenkraenzer
2006-02-21 8:14 ` 2.6.16-rc4-mm1 Laurent Riffard
2006-02-21 8:16 ` 2.6.16-rc4-mm1 Andrew Morton
2006-02-22 13:47 ` 2.6.16-rc4-mm1 Alexander E. Patrakov
2006-02-22 15:26 ` 2.6.16-rc4-mm1 Alexander E. Patrakov
2006-02-23 12:10 ` 2.6.16-rc4-mm1 Alan Cox
2006-02-23 13:02 ` 2.6.16-rc4-mm1 Thierry Vignaud
2006-02-23 15:19 ` 2.6.16-rc4-mm1 Alan Cox
2006-02-22 15:36 ` 2.6.16-rc4-mm1 Randy.Dunlap
2006-02-23 6:53 ` 2.6.16-rc4-mm1 Randy.Dunlap
2006-02-23 9:11 ` 2.6.16-rc4-mm1 Alexander E. Patrakov
2006-02-23 15:27 ` 2.6.16-rc4-mm1 Randy.Dunlap
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=200602211822_MC3-1-B8F6-689@compuserve.com \
--to=76306.1226@compuserve.com \
--cc=akpm@osdl.org \
--cc=linux-kernel@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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
Powered by JetHome