From: Andrew Cooper <andrew.cooper3@citrix.com>
To: Chao Peng <chao.p.peng@linux.intel.com>, xen-devel@lists.xen.org
Cc: Wei Liu <wei.liu2@citrix.com>,
JBeulich@suse.com, he.chen@linux.intel.com
Subject: Re: [PATCH] x86/psr: make opt_psr persistent
Date: Thu, 26 May 2016 11:44:15 +0100 [thread overview]
Message-ID: <5746D37F.9000607@citrix.com> (raw)
In-Reply-To: <1464228193-27130-1-git-send-email-chao.p.peng@linux.intel.com>
On 26/05/16 03:03, Chao Peng wrote:
> opt_psr is now not only used at booting time but also at runtime.
> More specifically, it is used to check CDP switch in psr_cpu_init()
> which can potentially be called in CPU hotplug case.
>
> Signed-off-by: Chao Peng <chao.p.peng@linux.intel.com>
Reviewed-by: Andrew Cooper <andrew.cooper3@citrix.com>
Wei: This should be taken for 4.7
~Andrew
> ---
> xen/arch/x86/psr.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/xen/arch/x86/psr.c b/xen/arch/x86/psr.c
> index f796552..0b5073c 100644
> --- a/xen/arch/x86/psr.c
> +++ b/xen/arch/x86/psr.c
> @@ -52,7 +52,7 @@ static unsigned long *__read_mostly cat_socket_enable;
> static struct psr_cat_socket_info *__read_mostly cat_socket_info;
> static unsigned long *__read_mostly cdp_socket_enable;
>
> -static unsigned int __initdata opt_psr;
> +static unsigned int opt_psr;
> static unsigned int __initdata opt_rmid_max = 255;
> static unsigned int __read_mostly opt_cos_max = 255;
> static uint64_t rmid_mask;
_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xen.org
http://lists.xen.org/xen-devel
next prev parent reply other threads:[~2016-05-26 10:44 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-05-26 2:03 [PATCH] x86/psr: make opt_psr persistent Chao Peng
2016-05-26 10:44 ` Andrew Cooper [this message]
2016-05-26 13:47 ` Wei Liu
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=5746D37F.9000607@citrix.com \
--to=andrew.cooper3@citrix.com \
--cc=JBeulich@suse.com \
--cc=chao.p.peng@linux.intel.com \
--cc=he.chen@linux.intel.com \
--cc=wei.liu2@citrix.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 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).