From: Alexander Graf <alex-r27SGEef+tmzQB+pC5nmwQ@public.gmane.org>
To: Avi Kivity <avi-atKUWr5tajBWk0Htik3J/w@public.gmane.org>
Cc: kvm-devel <kvm-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org>
Subject: Re: [resend] [PATCH] MSR_IA32_PERF_STATUS support
Date: Tue, 15 Jan 2008 17:35:22 +0100 [thread overview]
Message-ID: <478CE0CA.9040708@csgraf.de> (raw)
In-Reply-To: <478CD687.9070000-atKUWr5tajBWk0Htik3J/w@public.gmane.org>
Avi Kivity wrote:
> Alexander Graf wrote:
>> This is a resend of a mail I sent on 01/10/2008. I did not receive any
>> response, so I assume it was lost.
>>
>> The patch is really minor, does not break any compatibility (the MSR is
>> Intel family 13+) and makes Darwin work.
>>
>> --- old mail ---
>>
>> This patch adds support for the MSR MSR_IA32_PERF_STATUS. This is
>> required to boot Darwin.
>>
>> I only implemented dummy support, as the real value would be of no
>> meaning to any OS I know so far anyway and is only implemented on very
>> recent Intel CPUs.
>>
>
> I see some documentation of this in 13.1.1, but is there somewhere
> with more information?
>
The only proper source of information I found was the XNU kernel, which
implements a full interpretation of the MSR values. Basically the high
bits are the CPU multiplier, while the low bits represent the number the
TSC advances in one cycle.
There is also a bit which multiplies everything by 2, but maybe the
Intel people on this list can tell us more about it.
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
prev parent reply other threads:[~2008-01-15 16:35 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-01-15 12:26 [resend] [PATCH] MSR_IA32_PERF_STATUS support Alexander Graf
[not found] ` <478CA68D.4050504-r27SGEef+tmzQB+pC5nmwQ@public.gmane.org>
2008-01-15 15:28 ` Avi Kivity
[not found] ` <478CD11A.1030500-atKUWr5tajBWk0Htik3J/w@public.gmane.org>
2008-01-15 16:43 ` Alexander Graf
[not found] ` <478CE2BD.7090002-r27SGEef+tmzQB+pC5nmwQ@public.gmane.org>
2008-01-15 17:45 ` Avi Kivity
2008-01-15 15:51 ` Avi Kivity
[not found] ` <478CD687.9070000-atKUWr5tajBWk0Htik3J/w@public.gmane.org>
2008-01-15 16:35 ` Alexander Graf [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=478CE0CA.9040708@csgraf.de \
--to=alex-r27sgeef+tmzqb+pc5nmwq@public.gmane.org \
--cc=avi-atKUWr5tajBWk0Htik3J/w@public.gmane.org \
--cc=kvm-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.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.