From: "Dan Magenheimer" <dan.magenheimer@oracle.com>
To: Keir Fraser <keir.fraser@eu.citrix.com>,
"Zhang, Li" <li.zhang@intel.com>,
"Xen-Devel (E-mail)" <xen-devel@lists.xensource.com>
Cc: "Tian, Kevin" <kevin.tian@intel.com>
Subject: RE: [PATCH] softtsc (was RE: Guest TSC and Xen (Intel and AMD feedback please))
Date: Thu, 10 Jul 2008 08:19:31 -0600 [thread overview]
Message-ID: <20080710081931031.00000003744@djm-pc> (raw)
In-Reply-To: <C49B9291.23DA0%keir.fraser@eu.citrix.com>
> Yes, I will take it, but have the following comments.
> 2. Your change in common/keyhandler.c breaks ia64. :-)
Oops! ;-) What's the best way to handle this? It would
be unfortunate to lose valuable debug data just because its
arch-dependent but I don't see any other arch-dependent code
in keyhandler.c and I'll bet you don't want to start adding
ifdef's nor introduce arch/xxx/keyhandler.c just for this.
> 1. Why do you define new boolean 'constant_tsc'? Can you just use
> test_bit(X86_FEATURE_CONSTANT_TSC)?
> 3. Your change to arch/x86/time.c looks unnecessary.
I was thinking that the tests for these features should probably
be abstracted (e.g. static inline in a header file or a
global function), but wasn't sure about the best way to deal
with the datatypes (e.g. struct cpuinfo_x86) so defaulted to
global variables.
Both globals are simply for debug output in keyhandler.c
so depending on the answer to (2) above, those patch-parts
could just go away.
> 4. Should you catch SVM's RDTSCP vmexit as well as RDTSC?
I thought I remembered seeing code that reported/lied to guests
that the rdtscp feature was not present?
Thanks,
Dan
next prev parent reply other threads:[~2008-07-10 14:19 UTC|newest]
Thread overview: 22+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-07-01 17:33 Guest TSC and Xen (Intel and AMD feedback please) Dan Magenheimer
2008-07-01 17:40 ` Keir Fraser
2008-07-02 2:52 ` Tian, Kevin
2008-07-03 1:21 ` Dan Magenheimer
2008-07-04 0:56 ` Tian, Kevin
2008-07-04 17:31 ` Dan Magenheimer
2008-07-08 1:38 ` Tian, Kevin
2008-07-08 2:28 ` Zhang, Li
2008-07-08 2:59 ` Zhang, Li
2008-07-08 3:34 ` Dan Magenheimer
2008-07-08 4:21 ` Tian, Kevin
2008-07-08 6:49 ` Zhang, Li
2008-07-08 6:58 ` Zhang, Li
2008-07-08 9:46 ` Zhang, Li
2008-07-08 14:48 ` Dave Winchell
2008-07-08 14:56 ` Keir Fraser
2008-07-09 0:29 ` Dan Magenheimer
2008-07-09 21:32 ` [PATCH] softtsc (was RE: Guest TSC and Xen (Intel and AMD feedback please)) Dan Magenheimer
2008-07-10 1:48 ` Zhang, Li
2008-07-10 9:18 ` Keir Fraser
2008-07-10 14:19 ` Dan Magenheimer [this message]
2008-07-10 14:29 ` Keir Fraser
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=20080710081931031.00000003744@djm-pc \
--to=dan.magenheimer@oracle.com \
--cc=keir.fraser@eu.citrix.com \
--cc=kevin.tian@intel.com \
--cc=li.zhang@intel.com \
--cc=xen-devel@lists.xensource.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 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.