From: "Jordan Breeding" <jordan.breeding@inet.com>
To: Dave Jones <davej@suse.de>
Cc: Hugh Dickins <hugh@veritas.com>, Jordan <ledzep37@home.com>,
Linux Kernel <linux-kernel@vger.kernel.org>,
torvalds@transmeta.com, alan@lxorguk.ukuu.org.uk
Subject: Re: Discrepancies between /proc/cpuinfo and Dave J's x86info
Date: Wed, 11 Jul 2001 10:51:49 -0500 [thread overview]
Message-ID: <3B4C7615.FADBF9A3@inet.com> (raw)
In-Reply-To: <Pine.LNX.4.30.0107111421300.2003-100000@Appserv.suse.de>
Dave Jones wrote:
>
> On Wed, 11 Jul 2001, Hugh Dickins wrote:
>
> > As others have said, cpuid level 3 corresponds to Processor Serial
> > Number enabled. I think what you have here is a machine on which
> > the BIOS has disabled PSN on the first CPU, but left it enabled on the
> > second CPU, and so the kernel has then disabled it on the second CPU.
>
> I'll bet that's exactly what it is. Good work.
>
> This patch (against 247pre6) should keep the cpuinfo in sync with the real
> state of the CPU..
>
> regards,
>
> Dave.
>
> --
> | Dave Jones. http://www.suse.de/~davej
> | SuSE Labs
>
> diff -urN --exclude-from=/home/davej/.exclude linux-247pre7/arch/i386/kernel/setup.c linux-dj/arch/i386/kernel/setup.c
> --- linux-247pre7/arch/i386/kernel/setup.c Wed Jul 11 13:16:10 2001
> +++ linux-dj/arch/i386/kernel/setup.c Wed Jul 11 13:18:27 2001
> @@ -1994,6 +1994,7 @@
> wrmsr(0x119,lo,hi);
> printk(KERN_NOTICE "CPU serial number disabled.\n");
> clear_bit(X86_FEATURE_PN, &c->x86_capability);
> + c->cpuid_level--;
> }
> }
It does keep everything in sync here. Thanks for the help.
Jordan
prev parent reply other threads:[~2001-07-11 15:55 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
2001-07-11 3:19 Discrepancies between /proc/cpuinfo and Dave J's x86info Jordan
2001-07-11 4:27 ` H. Peter Anvin
2001-07-11 4:37 ` Jonathan Lundell
2001-07-11 4:44 ` H. Peter Anvin
2001-07-11 5:04 ` Jonathan Lundell
2001-07-11 11:00 ` Dave Jones
2001-07-11 12:03 ` Hugh Dickins
2001-07-11 12:23 ` Dave Jones
2001-07-11 14:09 ` [PATCH] " Hugh Dickins
2001-07-11 14:28 ` Dave Jones
2001-07-11 16:47 ` Jonathan Lundell
2001-07-11 17:00 ` Dave Jones
2001-07-12 6:58 ` [PATCH] Re: Discrepancies between /proc/cpuinfo and Dave J's x86i Kai Henningsen
2001-10-10 1:38 ` [PATCH] Re: Discrepancies between /proc/cpuinfo and Dave J's x86info H. Peter Anvin
2001-07-11 16:29 ` Linus Torvalds
2001-07-11 15:51 ` Jordan Breeding [this message]
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=3B4C7615.FADBF9A3@inet.com \
--to=jordan.breeding@inet.com \
--cc=alan@lxorguk.ukuu.org.uk \
--cc=davej@suse.de \
--cc=hugh@veritas.com \
--cc=ledzep37@home.com \
--cc=linux-kernel@vger.kernel.org \
--cc=torvalds@transmeta.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