* [PATCH] x86/psr: make opt_psr persistent
@ 2016-05-26 2:03 Chao Peng
2016-05-26 10:44 ` Andrew Cooper
0 siblings, 1 reply; 3+ messages in thread
From: Chao Peng @ 2016-05-26 2:03 UTC (permalink / raw)
To: xen-devel; +Cc: andrew.cooper3, JBeulich, he.chen
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>
---
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;
--
1.9.1
_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xen.org
http://lists.xen.org/xen-devel
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [PATCH] x86/psr: make opt_psr persistent
2016-05-26 2:03 [PATCH] x86/psr: make opt_psr persistent Chao Peng
@ 2016-05-26 10:44 ` Andrew Cooper
2016-05-26 13:47 ` Wei Liu
0 siblings, 1 reply; 3+ messages in thread
From: Andrew Cooper @ 2016-05-26 10:44 UTC (permalink / raw)
To: Chao Peng, xen-devel; +Cc: Wei Liu, JBeulich, he.chen
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
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH] x86/psr: make opt_psr persistent
2016-05-26 10:44 ` Andrew Cooper
@ 2016-05-26 13:47 ` Wei Liu
0 siblings, 0 replies; 3+ messages in thread
From: Wei Liu @ 2016-05-26 13:47 UTC (permalink / raw)
To: Andrew Cooper; +Cc: Chao Peng, he.chen, Wei Liu, JBeulich, xen-devel
On Thu, May 26, 2016 at 11:44:15AM +0100, Andrew Cooper wrote:
> 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
>
Release-acked-by: Wei Liu <wei.liu2@citrix.com>
> ~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
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2016-05-26 13:47 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-05-26 2:03 [PATCH] x86/psr: make opt_psr persistent Chao Peng
2016-05-26 10:44 ` Andrew Cooper
2016-05-26 13:47 ` Wei Liu
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).