From: Suresh Siddha <suresh.b.siddha@intel.com>
To: Philippe Grenard <philippe.grenard@laposte.net>
Cc: Ingo Molnar <mingo@elte.hu>,
"Siddha, Suresh B" <suresh.b.siddha@intel.com>,
"H. Peter Anvin" <hpa@zytor.com>,
Thomas Gleixner <tglx@linutronix.de>,
"linux-kernel@vger.kernel.org" <linux-kernel@vger.kernel.org>,
John Stoffel <john@stoffel.org>
Subject: Re: PROBLEM: cannot get stable system since 2.6.28 kernel (amd64)
Date: Sat, 21 Feb 2009 15:17:41 -0800 [thread overview]
Message-ID: <20090221231741.GA6733@linux-os.sc.intel.com> (raw)
In-Reply-To: <200902211121.46292.philippe.grenard@laposte.net>
On Sat, Feb 21, 2009 at 02:21:46AM -0800, Philippe Grenard wrote:
> Hello Ingo, thanks for your reply,
>
> I've tried to boot 2.6.29-rc5 with both "Max CPUID Value" Enabled and
> Disabled, and tried for both case the "nofxsr" option without better result...
Philippe, Can you apply the appended patch and pass "noxsave" boot param
and see if it helps fix your freeze issue. This should atleast take away
the xsave equation from the picture.
I haven't followed this thread closely, but do you have nmi watchdog and other
debug options like CONFIG_DETECT_SOFTLOCKUP enabled? That might give more clues
about the freeze.
thanks,
suresh
---
From: Suresh Siddha <suresh.b.siddha@intel.com>
Subject: x86: Introduce noxsave boot parameter
Introduce "noxsave" boot parameter which will disable the cpu's xsave/xrstor
capabilities.
Signed-off-by: Suresh Siddha <suresh.b.siddha@intel.com>
---
Index: tip/Documentation/kernel-parameters.txt
===================================================================
--- tip/Documentation/kernel-parameters.txt.orig
+++ tip/Documentation/kernel-parameters.txt
@@ -1493,6 +1493,10 @@ and is between 256 and 4096 characters.
register save and restore. The kernel will only save
legacy floating-point registers on task switch.
+ noxsave [BUGS=X86] Disables x86 extended register state save
+ and restore using xsave. The kernel will fallback to
+ enabling legacy floating-point and sse state.
+
noclflush [BUGS=X86] Don't use the CLFLUSH instruction
nohlt [BUGS=ARM,SH]
Index: tip/arch/x86/kernel/cpu/common.c
===================================================================
--- tip/arch/x86/kernel/cpu/common.c.orig
+++ tip/arch/x86/kernel/cpu/common.c
@@ -127,6 +127,13 @@ DEFINE_PER_CPU_PAGE_ALIGNED(struct gdt_p
} };
EXPORT_PER_CPU_SYMBOL_GPL(gdt_page);
+static int __init x86_xsave_setup(char *s)
+{
+ setup_clear_cpu_cap(X86_FEATURE_XSAVE);
+ return 1;
+}
+__setup("noxsave", x86_xsave_setup);
+
#ifdef CONFIG_X86_32
static int cachesize_override __cpuinitdata = -1;
static int disable_x86_serial_nr __cpuinitdata = 1;
next prev parent reply other threads:[~2009-02-21 23:17 UTC|newest]
Thread overview: 20+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-02-13 18:44 PROBLEM: cannot get stable system since 2.6.28 kernel Philippe Grenard
2009-02-13 18:56 ` Len Brown
2009-02-13 19:56 ` Philippe Grenard
2009-02-13 20:48 ` John Stoffel
2009-02-14 8:17 ` Philippe Grenard
2009-02-14 9:20 ` Jaswinder Singh Rajput
2009-02-14 9:24 ` Jaswinder Singh Rajput
2009-02-15 12:17 ` Philippe Grenard
2009-02-16 0:21 ` John Stoffel
2009-02-16 18:25 ` PROBLEM: cannot get stable system since 2.6.28 kernel (amd64) Philippe Grenard
2009-02-17 4:46 ` John Stoffel
2009-02-17 16:51 ` Philippe Grenard
2009-02-20 20:08 ` Philippe Grenard
2009-02-20 21:58 ` Ingo Molnar
2009-02-21 10:21 ` Philippe Grenard
2009-02-21 23:17 ` Suresh Siddha [this message]
2009-02-22 3:29 ` H. Peter Anvin
2009-02-22 9:11 ` Philippe Grenard
2009-02-24 20:00 ` Philippe Grenard
2009-02-13 20:43 ` PROBLEM: cannot get stable system since 2.6.28 kernel Philippe Grenard
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=20090221231741.GA6733@linux-os.sc.intel.com \
--to=suresh.b.siddha@intel.com \
--cc=hpa@zytor.com \
--cc=john@stoffel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=mingo@elte.hu \
--cc=philippe.grenard@laposte.net \
--cc=tglx@linutronix.de \
/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