public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Dave Jones <davej@suse.de>
To: "H. Peter Anvin" <hpa@zytor.com>
Cc: linux-kernel@vger.kernel.org
Subject: Re: 2.5.x: arch/i386/kernel/cpu
Date: Wed, 19 Jun 2002 06:38:07 +0200	[thread overview]
Message-ID: <20020619063807.B25509@suse.de> (raw)
In-Reply-To: <aeouoe$a66$1@cesium.transmeta.com>; from hpa@zytor.com on Tue, Jun 18, 2002 at 08:45:18PM -0700

On Tue, Jun 18, 2002 at 08:45:18PM -0700, H. Peter Anvin wrote:
 > Whomever broke up arch/i386/kernel/setup.c and created the CPU
 > directory (very good idea) messed up in at least one place:

Patrick Mochel takes credit/glory/fame/blame for this one.

 > The *AMD-defined* CPUID flags (0x80000001) are not just used on AMD
 > processors!  In fact, at least AMD, Transmeta, Cyrix and VIA all use
 > them; I don't know about Centaur or Rise.  Intel supports the actual
 > level starting with the P4 although it returns all zero.

Bugger, you're right.

On my Cyrix III box before..

 CPU: After vendor init, caps: 00803135 80803035 00000000 00000000
 CPU:     After generic, caps: 00803135 80803035 00000000 00000000
 CPU:             Common caps: 00803135 80803035 00000000 00000000

and after..

 CPU: After vendor init, caps: 00803135 80000000 00000000 00000000
 CPU:     After generic, caps: 00803135 80000000 00000000 00000000
 CPU:             Common caps: 00803135 80000000 00000000 00000000

Interesting how it's picking up that 8 in the 2nd set of caps, but
not any of the other bits..

 > It should, in my opinion, be moved into generic_identify().  Anyone
 > who has a reason why that shouldn't be done speak now or I'll send the
 > patch to Linus.

Sounds reasonable to me, unless Patrick has a preferred way of fixing 
this problem.

        Dave


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

  reply	other threads:[~2002-06-19  4:38 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-06-19  3:45 2.5.x: arch/i386/kernel/cpu H. Peter Anvin
2002-06-19  4:38 ` Dave Jones [this message]
2002-06-19  4:43   ` H. Peter Anvin
2002-06-19  4:58     ` Dave Jones
2002-06-19  5:03       ` H. Peter Anvin
2002-06-21 18:18 ` Patrick Mochel

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=20020619063807.B25509@suse.de \
    --to=davej@suse.de \
    --cc=hpa@zytor.com \
    --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