From: "Jan Beulich" <JBeulich@novell.com>
To: Gang Wei <gang.wei@intel.com>, Keir Fraser <keir@xen.org>
Cc: "xen-devel@lists.xensource.com" <xen-devel@lists.xensource.com>
Subject: Re: [PATCH] Allow dom0 to write MSR IA32_ENERGY_PERF_BIAS
Date: Wed, 05 Jan 2011 08:31:22 +0000 [thread overview]
Message-ID: <4D243A6A020000780002A658@vpn.id2.novell.com> (raw)
In-Reply-To: <C949DAD6.1102B%keir@xen.org>
>>> On 05.01.11 at 09:22, Keir Fraser <keir@xen.org> wrote:
> On 05/01/2011 08:17, "Jan Beulich" <JBeulich@novell.com> wrote:
>
>>>>> On 05.01.11 at 09:13, Keir Fraser <keir.fraser@eu.citrix.com> wrote:
>>> On 05/01/2011 07:59, "Jan Beulich" <JBeulich@novell.com> wrote:
>>>
>>>>>> Why would you allow this only if Dom0 has its vcpus pinned?
>>>>>
>>>>> It is meaningless if dom0 can't control all pcpus exactly. Only in case of
>>>>> dom0 vcpus pinned, it makes sense.
>>>>
>>>> Disagree. The user mode tool could set its own affinity (virtual and
>>>> physical) and then issue the MSR write. Please don't enforce
>>>> restrictions where not really needed (I actually suppose that the
>>>> restriction should be removed for MSR_IA32_THERM_CONTROL too).
>>>
>>> If so, it deserves a separate patch to strip out *all* the is_pinned checks
>>> at the same time.
>>
>> You certainly don't mean *all*, but yes, I'm intending to submit such
>> a patch.
>
> The ones in x86/traps.c (WRMSR emulation) and x86/domain.c
> (VCPUOP_get_physid) are both unnecessary, at least.
They aren't outright unnecessary I'd say, they just need some
relaxing (as the code makes sense also when the vCPU is
constrained to a single pCPU). That's the change I'm going to
send shortly.
Jan
next prev parent reply other threads:[~2011-01-05 8:31 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-01-04 3:04 [PATCH] Allow dom0 to write MSR IA32_ENERGY_PERF_BIAS Wei, Gang
2011-01-04 9:58 ` Jan Beulich
2011-01-05 2:08 ` Wei, Gang
2011-01-05 7:59 ` Jan Beulich
2011-01-05 8:13 ` Keir Fraser
2011-01-05 8:17 ` Jan Beulich
2011-01-05 8:22 ` Keir Fraser
2011-01-05 8:31 ` Jan Beulich [this message]
2011-01-05 8:55 ` Wei, Gang
2011-01-05 9:03 ` Jan Beulich
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=4D243A6A020000780002A658@vpn.id2.novell.com \
--to=jbeulich@novell.com \
--cc=gang.wei@intel.com \
--cc=keir@xen.org \
--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 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).