mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Andi Kleen <ak@suse.de>
To: Janos Farkas <jf-ml-k1-1087813225@lk8rp.mail.xeon.eu.org>
Cc: akpm@osdl.org, manfred@colorfullife.com, linux-kernel@vger.kernel.org
Subject: Re: 2.6.7 shows K7 with Pentium Pro erratum [Re: New version of early CPU detect]
Date: Mon, 21 Jun 2004 17:01:25 +0200	[thread overview]
Message-ID: <20040621170125.322f3297.ak@suse.de> (raw)
In-Reply-To: <20040621120416.GA2722@noc.xeon.eu.org>

On Mon, 21 Jun 2004 14:04:16 +0200
Janos Farkas <jf-ml-k1-1087813225@lk8rp.mail.xeon.eu.org> wrote:


> 
> As it is, the family/model numbers seems to match, but it's obviously an
> AMD product..


Does this patch fix the problem?


-Andi


diff -u linux-2.6.7-work/arch/i386/kernel/cpu/common.c-o linux-2.6.7-work/arch/i386/kernel/cpu/common.c
--- linux-2.6.7-work/arch/i386/kernel/cpu/common.c-o	2004-06-16 12:22:43.000000000 +0200
+++ linux-2.6.7-work/arch/i386/kernel/cpu/common.c	2004-06-21 16:59:08.000000000 +0200
@@ -143,8 +143,9 @@
 	char *v = c->x86_vendor_id;
 	int i;
 
+	c->x86_vendor = X86_VENDOR_UNKNOWN;
 	for (i = 0; i < X86_VENDOR_NUM; i++) {
-		if (cpu_devs[i]) {
+		if (cpu_devs[i] || early) {
 			if (!strcmp(v,cpu_devs[i]->c_ident[0]) ||
 			    (cpu_devs[i]->c_ident[1] && 
 			     !strcmp(v,cpu_devs[i]->c_ident[1]))) {

  reply	other threads:[~2004-06-21 13:00 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-04-23  2:30 [PATCH] New version of early CPU detect Andi Kleen
2004-06-21 12:04 ` 2.6.7 shows K7 with Pentium Pro erratum [Re: New version of early CPU detect] Janos Farkas
2004-06-21 15:01   ` Andi Kleen [this message]
2004-06-21 15:31   ` 2.6.7 shows K7 with Pentium Pro erratum [Re: New version of early CPU detect] II Andi Kleen
2004-06-21 14:15     ` Janos Farkas

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=20040621170125.322f3297.ak@suse.de \
    --to=ak@suse.de \
    --cc=akpm@osdl.org \
    --cc=jf-ml-k1-1087813225@lk8rp.mail.xeon.eu.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=manfred@colorfullife.com \
    /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

all inboxes | Powered by JetHome®