From: Doug Goldstein <cardoe@cardoe.com>
To: Boris Ostrovsky <boris.ostrovsky@oracle.com>, xen-devel@lists.xen.org
Cc: Kevin Tian <kevin.tian@intel.com>, Keir Fraser <keir@xen.org>,
Jan Beulich <jbeulich@suse.com>,
Jun Nakajima <jun.nakajima@intel.com>,
Andrew Cooper <andrew.cooper3@citrix.com>,
Aravind Gopalakrishnan <Aravind.Gopalakrishnan@amd.com>,
Suravee Suthikulpanit <suravee.suthikulpanit@amd.com>
Subject: Re: [PATCH 1/2] xenoprof: fix up ability to disable it
Date: Mon, 8 Feb 2016 22:05:02 -0600 [thread overview]
Message-ID: <56B9656E.9050407@cardoe.com> (raw)
In-Reply-To: <56B8C122.1060207@oracle.com>
[-- Attachment #1.1: Type: text/plain, Size: 1664 bytes --]
On 2/8/16 10:24 AM, Boris Ostrovsky wrote:
>
>
> On 02/08/2016 11:04 AM, Doug Goldstein wrote:
>> Allow Xenoprof to be fully disabled when toggling the option off.
>>
>> CC: Keir Fraser <keir@xen.org>
>> CC: Jan Beulich <jbeulich@suse.com>
>> CC: Andrew Cooper <andrew.cooper3@citrix.com>
>> CC: Boris Ostrovsky <boris.ostrovsky@oracle.com>
>> CC: Suravee Suthikulpanit <suravee.suthikulpanit@amd.com>
>> CC: Aravind Gopalakrishnan <Aravind.Gopalakrishnan@amd.com>
>> CC: Jun Nakajima <jun.nakajima@intel.com>
>> CC: Kevin Tian <kevin.tian@intel.com>
>> Signed-off-by: Doug Goldstein <cardoe@cardoe.com>
>
>
>> @@ -2666,10 +2669,11 @@ static int vmx_msr_write_intercept(unsigned
>> int msr, uint64_t msr_content)
>> goto gp_fault;
>> break;
>> default:
>> - if ( passive_domain_do_wrmsr(msr, msr_content) )
>> + if ( IS_ENABLED(CONFIG_XENOPROF) &&
>> + passive_domain_do_wrmsr(msr, msr_content) )
>> return X86EMUL_OKAY;
>> - if ( wrmsr_viridian_regs(msr, msr_content) )
>> + if ( wrmsr_viridian_regs(msr, msr_content) )
>> break;
>
> Looks like a stray change.
>
> Other than that,
>
> Reviewed-by: Boris Ostrovsky <boris.ostrovsky@oracle.com>
>
> While at it --- I think we should put VPMU code under CONFIG option too,
> especially given its support status. I can do that (unless Doug wants to).
>
> -boris
Boris,
I forgot to answer the VPMU part. If you have the bandwidth to do that
I'll happily test it. Otherwise I'm not sure when I'll have a chance to
wrap it with Kconfig.
--
Doug Goldstein
[-- Attachment #1.2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 959 bytes --]
[-- Attachment #2: Type: text/plain, Size: 126 bytes --]
_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xen.org
http://lists.xen.org/xen-devel
next prev parent reply other threads:[~2016-02-09 4:05 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-02-08 16:04 [PATCH 1/2] xenoprof: fix up ability to disable it Doug Goldstein
2016-02-08 16:04 ` [PATCH 2/2] build: convert xenoprof to Kconfig Doug Goldstein
2016-02-08 16:14 ` Andrew Cooper
2016-02-08 16:24 ` [PATCH 1/2] xenoprof: fix up ability to disable it Boris Ostrovsky
2016-02-09 3:01 ` Doug Goldstein
2016-02-09 4:05 ` Doug Goldstein [this message]
2016-02-09 13:34 ` Boris Ostrovsky
2016-02-08 16:25 ` Andrew Cooper
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=56B9656E.9050407@cardoe.com \
--to=cardoe@cardoe.com \
--cc=Aravind.Gopalakrishnan@amd.com \
--cc=andrew.cooper3@citrix.com \
--cc=boris.ostrovsky@oracle.com \
--cc=jbeulich@suse.com \
--cc=jun.nakajima@intel.com \
--cc=keir@xen.org \
--cc=kevin.tian@intel.com \
--cc=suravee.suthikulpanit@amd.com \
--cc=xen-devel@lists.xen.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.