* [PATCH] VPMU: add lost Intel processor
@ 2015-06-03 11:44 Dietmar Hahn
2015-06-03 12:23 ` Jan Beulich
2015-06-08 10:05 ` [PATCH v2] " Alan Robinson
0 siblings, 2 replies; 5+ messages in thread
From: Dietmar Hahn @ 2015-06-03 11:44 UTC (permalink / raw)
To: xen-devel; +Cc: Boris Ostrovsky, kevin.tian, JBeulich
Hi,
it seems somewhere the Intel processor
cpu family : 6
model : 47
model name : Intel(R) Xeon(R) CPU E7- 8837 @ 2.67GHz
got lost.
Dietmar.
Signed-off-by: Dietmar Hahn <dietmar.hahn@ts.fujitsu.com>
diff --git a/xen/arch/x86/hvm/vmx/vpmu_core2.c b/xen/arch/x86/hvm/vmx/vpmu_core2.c
index 8ad522a..bbe6197 100644
--- a/xen/arch/x86/hvm/vmx/vpmu_core2.c
+++ b/xen/arch/x86/hvm/vmx/vpmu_core2.c
@@ -849,6 +849,7 @@ int vmx_vpmu_initialise(struct vcpu *v, unsigned int vpmu_flags)
case 0x25: /* 32 nm nehalem, "Clarkdale", "Arrandale" */
case 0x2c: /* 32 nm nehalem, "Gulftown", "Westmere-EP" */
case 0x27: /* 32 nm Westmere-EX */
+ case 0x2f: /* 32 nm Westmere-EX */
case 0x3a: /* IvyBridge */
case 0x3e: /* IvyBridge EP */
--
Company details: http://ts.fujitsu.com/imprint.html
^ permalink raw reply related [flat|nested] 5+ messages in thread
* Re: [PATCH] VPMU: add lost Intel processor
2015-06-03 11:44 [PATCH] VPMU: add lost Intel processor Dietmar Hahn
@ 2015-06-03 12:23 ` Jan Beulich
2015-06-08 10:05 ` [PATCH v2] " Alan Robinson
1 sibling, 0 replies; 5+ messages in thread
From: Jan Beulich @ 2015-06-03 12:23 UTC (permalink / raw)
To: Dietmar Hahn; +Cc: kevin.tian, Boris Ostrovsky, xen-devel
>>> On 03.06.15 at 13:44, <dietmar.hahn@ts.fujitsu.com> wrote:
> --- a/xen/arch/x86/hvm/vmx/vpmu_core2.c
> +++ b/xen/arch/x86/hvm/vmx/vpmu_core2.c
> @@ -849,6 +849,7 @@ int vmx_vpmu_initialise(struct vcpu *v, unsigned int vpmu_flags)
> case 0x25: /* 32 nm nehalem, "Clarkdale", "Arrandale" */
> case 0x2c: /* 32 nm nehalem, "Gulftown", "Westmere-EP" */
> case 0x27: /* 32 nm Westmere-EX */
> + case 0x2f: /* 32 nm Westmere-EX */
Hmm, 0x27 isn't Westmere - commit 6d112f2b50 ("x86/vPMU: change
Intel model numbers from decimal to hex") translated 47 to 0x27. So
the correct fix is to replace that entry.
Jan
^ permalink raw reply [flat|nested] 5+ messages in thread
* [PATCH v2] VPMU: add lost Intel processor
2015-06-03 11:44 [PATCH] VPMU: add lost Intel processor Dietmar Hahn
2015-06-03 12:23 ` Jan Beulich
@ 2015-06-08 10:05 ` Alan Robinson
2015-06-08 13:43 ` Konrad Rzeszutek Wilk
2015-06-11 7:49 ` Tian, Kevin
1 sibling, 2 replies; 5+ messages in thread
From: Alan Robinson @ 2015-06-08 10:05 UTC (permalink / raw)
To: xen-devel
Cc: Alan Robinson, boris.ostrovsky, Dietmar Hahn, kevin.tian, JBeulich
From: Alan Robinson <Alan.Robinson@ts.fujitsu.com>
commit 6d112f2b50 ("x86/vPMU: change Intel model numbers from decimal
to hex") translated 47 to 0x27, now corrected to 0x2f.
Signed-off-by: Alan Robinson <Alan.Robinson@ts.fujitsu.com>
Signed-off-by: Dietmar Hahn <Dietmar.Hahn@ts.fujitsu.com>
---
Changed since v1:
(after talking to Dietmar, he's away from his email for a while)
* removed non existent model number 0x27 as suggested by Jan Beulich
* included reference to when the problem was introduced (also from Jan)
xen/arch/x86/hvm/vmx/vpmu_core2.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/xen/arch/x86/hvm/vmx/vpmu_core2.c b/xen/arch/x86/hvm/vmx/vpmu_core2.c
index 8ad522a..311f35f 100644
--- a/xen/arch/x86/hvm/vmx/vpmu_core2.c
+++ b/xen/arch/x86/hvm/vmx/vpmu_core2.c
@@ -848,7 +848,7 @@ int vmx_vpmu_initialise(struct vcpu *v, unsigned int vpmu_flags)
/* Westmere: */
case 0x25: /* 32 nm nehalem, "Clarkdale", "Arrandale" */
case 0x2c: /* 32 nm nehalem, "Gulftown", "Westmere-EP" */
- case 0x27: /* 32 nm Westmere-EX */
+ case 0x2f: /* 32 nm Westmere-EX */
case 0x3a: /* IvyBridge */
case 0x3e: /* IvyBridge EP */
--
2.2.0
^ permalink raw reply related [flat|nested] 5+ messages in thread
* Re: [PATCH v2] VPMU: add lost Intel processor
2015-06-08 10:05 ` [PATCH v2] " Alan Robinson
@ 2015-06-08 13:43 ` Konrad Rzeszutek Wilk
2015-06-11 7:49 ` Tian, Kevin
1 sibling, 0 replies; 5+ messages in thread
From: Konrad Rzeszutek Wilk @ 2015-06-08 13:43 UTC (permalink / raw)
To: Alan Robinson
Cc: boris.ostrovsky, JBeulich, kevin.tian, Dietmar Hahn, xen-devel
On Mon, Jun 08, 2015 at 12:05:02PM +0200, Alan Robinson wrote:
> From: Alan Robinson <Alan.Robinson@ts.fujitsu.com>
>
> commit 6d112f2b50 ("x86/vPMU: change Intel model numbers from decimal
> to hex") translated 47 to 0x27, now corrected to 0x2f.
>
> Signed-off-by: Alan Robinson <Alan.Robinson@ts.fujitsu.com>
> Signed-off-by: Dietmar Hahn <Dietmar.Hahn@ts.fujitsu.com>
Reviewed-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
>
> ---
> Changed since v1:
> (after talking to Dietmar, he's away from his email for a while)
> * removed non existent model number 0x27 as suggested by Jan Beulich
> * included reference to when the problem was introduced (also from Jan)
>
> xen/arch/x86/hvm/vmx/vpmu_core2.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/xen/arch/x86/hvm/vmx/vpmu_core2.c b/xen/arch/x86/hvm/vmx/vpmu_core2.c
> index 8ad522a..311f35f 100644
> --- a/xen/arch/x86/hvm/vmx/vpmu_core2.c
> +++ b/xen/arch/x86/hvm/vmx/vpmu_core2.c
> @@ -848,7 +848,7 @@ int vmx_vpmu_initialise(struct vcpu *v, unsigned int vpmu_flags)
> /* Westmere: */
> case 0x25: /* 32 nm nehalem, "Clarkdale", "Arrandale" */
> case 0x2c: /* 32 nm nehalem, "Gulftown", "Westmere-EP" */
> - case 0x27: /* 32 nm Westmere-EX */
> + case 0x2f: /* 32 nm Westmere-EX */
>
> case 0x3a: /* IvyBridge */
> case 0x3e: /* IvyBridge EP */
> --
> 2.2.0
>
>
> _______________________________________________
> Xen-devel mailing list
> Xen-devel@lists.xen.org
> http://lists.xen.org/xen-devel
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [PATCH v2] VPMU: add lost Intel processor
2015-06-08 10:05 ` [PATCH v2] " Alan Robinson
2015-06-08 13:43 ` Konrad Rzeszutek Wilk
@ 2015-06-11 7:49 ` Tian, Kevin
1 sibling, 0 replies; 5+ messages in thread
From: Tian, Kevin @ 2015-06-11 7:49 UTC (permalink / raw)
To: Alan Robinson, xen-devel; +Cc: boris.ostrovsky, Dietmar Hahn, JBeulich
> From: Alan Robinson [mailto:alan.robinson@ts.fujitsu.com]
> Sent: Monday, June 08, 2015 6:05 PM
>
> From: Alan Robinson <Alan.Robinson@ts.fujitsu.com>
>
> commit 6d112f2b50 ("x86/vPMU: change Intel model numbers from decimal
> to hex") translated 47 to 0x27, now corrected to 0x2f.
>
> Signed-off-by: Alan Robinson <Alan.Robinson@ts.fujitsu.com>
> Signed-off-by: Dietmar Hahn <Dietmar.Hahn@ts.fujitsu.com>
Acked-by: Kevin Tian <kevin.tian@intel.com>
>
> ---
> Changed since v1:
> (after talking to Dietmar, he's away from his email for a while)
> * removed non existent model number 0x27 as suggested by Jan Beulich
> * included reference to when the problem was introduced (also from Jan)
>
> xen/arch/x86/hvm/vmx/vpmu_core2.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/xen/arch/x86/hvm/vmx/vpmu_core2.c
> b/xen/arch/x86/hvm/vmx/vpmu_core2.c
> index 8ad522a..311f35f 100644
> --- a/xen/arch/x86/hvm/vmx/vpmu_core2.c
> +++ b/xen/arch/x86/hvm/vmx/vpmu_core2.c
> @@ -848,7 +848,7 @@ int vmx_vpmu_initialise(struct vcpu *v, unsigned int vpmu_flags)
> /* Westmere: */
> case 0x25: /* 32 nm nehalem, "Clarkdale", "Arrandale" */
> case 0x2c: /* 32 nm nehalem, "Gulftown", "Westmere-EP" */
> - case 0x27: /* 32 nm Westmere-EX */
> + case 0x2f: /* 32 nm Westmere-EX */
>
> case 0x3a: /* IvyBridge */
> case 0x3e: /* IvyBridge EP */
> --
> 2.2.0
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2015-06-11 7:49 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-06-03 11:44 [PATCH] VPMU: add lost Intel processor Dietmar Hahn
2015-06-03 12:23 ` Jan Beulich
2015-06-08 10:05 ` [PATCH v2] " Alan Robinson
2015-06-08 13:43 ` Konrad Rzeszutek Wilk
2015-06-11 7:49 ` Tian, Kevin
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.