LKML Archive on lore.kernel.org
help / color / mirror / Atom feed
From: "H. Peter Anvin" <hpa@zytor.com>
To: akpm@osdl.org, hpa@zytor.com, linux-kernel@vger.kernel.org
Subject: [PATCH] All Transmeta CPUs have constant TSCs
Date: Thu, 4 Jan 2007 17:48:17 -0800 [thread overview]
Message-ID: <200701050148.l051mHGM005275@terminus.zytor.com> (raw)
[i386] All Transmeta CPUs have constant TSCs
All Transmeta CPUs ever produced have constant-rate TSCs.
Signed-off-by: H. Peter Anvin <hpa@zytor.com>
---
commit 07e54489ef8a3341b20ae42b53b1254a68061204
tree 204fa19fe2b2dd3ddb1add83ec66ccda7360f4e6
parent 7523c4dd9923cab748dad9b79d0165e118e3d03b
author H. Peter Anvin <hpa@zytor.com> Thu, 04 Jan 2007 17:44:34 -0800
committer H. Peter Anvin <hpa@zytor.com> Thu, 04 Jan 2007 17:44:34 -0800
arch/i386/kernel/cpu/transmeta.c | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
diff --git a/arch/i386/kernel/cpu/transmeta.c b/arch/i386/kernel/cpu/transmeta.c
index 4056fb7..b536e81 100644
--- a/arch/i386/kernel/cpu/transmeta.c
+++ b/arch/i386/kernel/cpu/transmeta.c
@@ -72,6 +72,9 @@ static void __cpuinit init_transmeta(struct cpuinfo_x86 *c)
wrmsr(0x80860004, ~0, uk);
c->x86_capability[0] = cpuid_edx(0x00000001);
wrmsr(0x80860004, cap_mask, uk);
+
+ /* All Transmeta CPUs have a constant TSC */
+ set_bit(X86_FEATURE_CONSTANT_TSC, c->x86_capability);
/* If we can run i686 user-space code, call us an i686 */
#define USER686 (X86_FEATURE_TSC|X86_FEATURE_CX8|X86_FEATURE_CMOV)
next reply other threads:[~2007-01-05 1:48 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-01-05 1:48 H. Peter Anvin [this message]
2007-01-05 14:25 ` Jan Engelhardt
2007-01-08 8:02 ` dean gaudet
2007-01-08 20:19 ` Jan Engelhardt
2007-01-08 20:51 ` Chris Friesen
2007-01-08 20:51 ` H. Peter Anvin
2007-01-08 23:13 ` dean gaudet
2007-01-08 23:54 ` 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=200701050148.l051mHGM005275@terminus.zytor.com \
--to=hpa@zytor.com \
--cc=akpm@osdl.org \
--cc=linux-kernel@vger.kernel.org \
--subject='Re: [PATCH] All Transmeta CPUs have constant TSCs' \
/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
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).