Linux assembly list
 help / color / mirror / Atom feed
From: Bai Shuwei <baishuwei@gmail.com>
To: Nicholas Mc Guire <der.herr@hofr.at>
Cc: linux-assembly@vger.kernel.org
Subject: Re: how to get AMD CPU identification information?
Date: Wed, 10 Mar 2010 11:07:56 +0800	[thread overview]
Message-ID: <f3566d61003091907r601ddd4aja59f1c43524d97ff@mail.gmail.com> (raw)
In-Reply-To: <20100309163646.GE16373@opentech.at>

On 10 March 2010 00:36, Nicholas Mc Guire <der.herr@hofr.at> wrote:
> On Tue, 09 Mar 2010, Bai Shuwei wrote:
>
>> Hi, ALL:
>>    On the Intel platform, we can use the CPUID instruction to get the
>> processor serial number which is the identification for the CPU. But
>> on the AMD platform, i find only can get the cpu family,model,
>> stepping. I think those information cannot identify one processor. So
>> how i can get the identification information for AMD processor, or how
>> i distinguish every AMD processor?
>>
>>
> you can get the values from the "CPUID Specifications April 2008"
> http://www.amd.com/us-en/assets/content_type/white_papers_and_tech_docs/25481.pdf - basically you should be able to get all the infos you need to identify
> the specifics of a processor (AMD or Intel).
>
> you also can get the values with rdmsr - on a debian box
>
> rtl26:~# apt-get install msr-tools
> rtl26:~# modprobe msr
> rtl26:~# rdmsr --decimal 16 --hexadecimal  (to read the TSC in this case)
> be3163d1778
>
> details in http://www.amd.com/us-en/assets/content_type/white_papers_and_tech_docs/41322.PDF  (atleast for the phenom)
>
> you also want to grab the AMD "BIOS and Kernel Developers Guide" - there is one
> for every processor - so it could be a bit painfull to figure this out for all possible processors. The one for AMD Hammer is at http://www.amd.com/us-en/assets/content_type/white_papers_and_tech_docs/26094.PDF
>
> HTH
>
> hofrat
>
>



-- 
Love other people, as same as love yourself!
Don't think all the time, do it by your hands!

E-Mail: baishuwei@gmail.com
--
To unsubscribe from this list: send the line "unsubscribe linux-assembly" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

  reply	other threads:[~2010-03-10  3:07 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-03-09 14:27 how to get AMD CPU identification information? Bai Shuwei
2010-03-09 16:36 ` Nicholas Mc Guire
2010-03-10  3:07   ` Bai Shuwei [this message]
2010-03-10  3:43   ` Bai Shuwei

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=f3566d61003091907r601ddd4aja59f1c43524d97ff@mail.gmail.com \
    --to=baishuwei@gmail.com \
    --cc=der.herr@hofr.at \
    --cc=linux-assembly@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