public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [Patch] Enable SSE for AMD Athlon (Thoroughbred) in 2.4.20
@ 2003-02-14 23:44 Daniel Egger
  2003-02-20 18:45 ` Dave Jones
  0 siblings, 1 reply; 3+ messages in thread
From: Daniel Egger @ 2003-02-14 23:44 UTC (permalink / raw)
  To: Linux Kernel List


[-- Attachment #1.1: Type: text/plain, Size: 257 bytes --]

Hija,

please include the obvious oneliner attached in 2.4.21 to help
the poor folks having recent Athlons. :)

A similar change for the just released Barton would also be nice but
I do not have the model number handy.

-- 
Servus,
       Daniel

[-- Attachment #1.2: diff --]
[-- Type: text/plain, Size: 459 bytes --]

--- arch/i386/kernel/setup.c.orig	2003-02-03 13:26:38.000000000 +0100
+++ arch/i386/kernel/setup.c	2003-02-14 14:14:12.000000000 +0100
@@ -1421,7 +1421,7 @@
 			 * If the BIOS didn't enable it already, enable it
 			 * here.
 			 */
-			if (c->x86_model == 6 || c->x86_model == 7) {
+			if (c->x86_model == 6 || c->x86_model == 7 || c->x86_model == 8) {
 				if (!test_bit(X86_FEATURE_XMM,
 					      &c->x86_capability)) {
 					printk(KERN_INFO

[-- Attachment #2: Dies ist ein digital signierter Nachrichtenteil --]
[-- Type: application/pgp-signature, Size: 189 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [Patch] Enable SSE for AMD Athlon (Thoroughbred) in 2.4.20
  2003-02-14 23:44 [Patch] Enable SSE for AMD Athlon (Thoroughbred) in 2.4.20 Daniel Egger
@ 2003-02-20 18:45 ` Dave Jones
  2003-02-20 20:17   ` Daniel Egger
  0 siblings, 1 reply; 3+ messages in thread
From: Dave Jones @ 2003-02-20 18:45 UTC (permalink / raw)
  To: Daniel Egger; +Cc: Linux Kernel List

On Sat, Feb 15, 2003 at 12:44:53AM +0100, Daniel Egger wrote:
 > Hija,
 > 
 > please include the obvious oneliner attached in 2.4.21 to help
 > the poor folks having recent Athlons. :)
 > 
 > A similar change for the just released Barton would also be nice but
 > I do not have the model number handy.

It's model 10. Somehow they skipped model 9.

 > --- arch/i386/kernel/setup.c.orig	2003-02-03 13:26:38.000000000 +0100
 > +++ arch/i386/kernel/setup.c	2003-02-14 14:14:12.000000000 +0100
 > @@ -1421,7 +1421,7 @@
 >  			 * If the BIOS didn't enable it already, enable it
 >  			 * here.
 >  			 */
 > -			if (c->x86_model == 6 || c->x86_model == 7) {
 > +			if (c->x86_model == 6 || c->x86_model == 7 || c->x86_model == 8) {
 >  				if (!test_bit(X86_FEATURE_XMM,
 >  					      &c->x86_capability)) {
 >  					printk(KERN_INFO

if (c->x86_model >= 6 && c->x86_model <= 10) {

should do the right thing on all current models with SSE afaics..

		Dave

-- 
| Dave Jones.        http://www.codemonkey.org.uk
| SuSE Labs

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [Patch] Enable SSE for AMD Athlon (Thoroughbred) in 2.4.20
  2003-02-20 18:45 ` Dave Jones
@ 2003-02-20 20:17   ` Daniel Egger
  0 siblings, 0 replies; 3+ messages in thread
From: Daniel Egger @ 2003-02-20 20:17 UTC (permalink / raw)
  To: Dave Jones; +Cc: Linux Kernel List

[-- Attachment #1: Type: text/plain, Size: 452 bytes --]

Am Don, 2003-02-20 um 19.45 schrieb Dave Jones:

>  > A similar change for the just released Barton would also be nice but
>  > I do not have the model number handy.

> It's model 10. Somehow they skipped model 9.

> if (c->x86_model >= 6 && c->x86_model <= 10) {

> should do the right thing on all current models with SSE afaics..

I think so, too. The specific checks where just to be on the sure side....

-- 
Servus,
       Daniel

[-- Attachment #2: Dies ist ein digital signierter Nachrichtenteil --]
[-- Type: application/pgp-signature, Size: 189 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2003-02-20 23:35 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-02-14 23:44 [Patch] Enable SSE for AMD Athlon (Thoroughbred) in 2.4.20 Daniel Egger
2003-02-20 18:45 ` Dave Jones
2003-02-20 20:17   ` Daniel Egger

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox