From: "H. Peter Anvin" <hpa@zytor.com>
To: linux-kernel@vger.kernel.org
Subject: Re: [patch 3/3] add Via Nehemiah ("xstore") rng support
Date: 12 Mar 2003 08:21:26 -0800 [thread overview]
Message-ID: <b4nmq6$3et$1@cesium.transmeta.com> (raw)
In-Reply-To: Pine.LNX.4.44.0303120714030.13807-100000@home.transmeta.com
Followup to: <Pine.LNX.4.44.0303120714030.13807-100000@home.transmeta.com>
By author: Linus Torvalds <torvalds@transmeta.com>
In newsgroup: linux.dev.kernel
>
>
> On Wed, 12 Mar 2003, Dave Jones wrote:
> >
> > > +#define cpu_has_xstore boot_cpu_has(X86_FEATURE_XSTORE)
> >
> > Do we want to do this check only on VIA CPUs I wonder.
> > As a vendor specific extension, I'd be inclined to do that.
>
> No, the whole point of all the crud in arch/i386/kernel/cpu is to make
> those tests _once_ at bootup, and then the internal kernel "extended CPU
> feature set" has a unique feature-set that is independent of manufacturers
> and totally disjunct, so that we never need to care about manufacturers
> ever again.
>
Right. I have also pointed out to Jeff already that the test is done
wrong... it's pretty clear from the code that VIA has set up a feature
flag space of their own like Intel, AMD and Transmeta already have
(which is a good thing), so we should add that as an additional word
in the feature test vector instead of special-casing such a bit.
In fact, we need to add two words since Intel ran out of theirs and
started using additional flags in %ecx just recently.
-hpa
--
<hpa@transmeta.com> at work, <hpa@zytor.com> in private!
"Unix gives you enough rope to shoot yourself in the foot."
Architectures needed: ia64 m68k mips64 ppc ppc64 s390 s390x sh v850 x86-64
next prev parent reply other threads:[~2003-03-12 16:11 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-03-12 3:27 [patch 3/3] add Via Nehemiah ("xstore") rng support Jeff Garzik
2003-03-12 3:31 ` Jeff Garzik
2003-03-12 12:55 ` Dave Jones
2003-03-12 15:16 ` Linus Torvalds
2003-03-12 16:21 ` H. Peter Anvin [this message]
2003-03-12 17:56 ` Dave Jones
[not found] <200303120427.UAA00323@cesium.transmeta.com>
2003-03-12 5:16 ` Jeff Garzik
2003-03-12 5:19 ` H. Peter Anvin
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='b4nmq6$3et$1@cesium.transmeta.com' \
--to=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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.