Skip to contentSkip to conversation

PC8 Residency on Broadwell hardware

DISCUSSION Andrew Cooper 3 participants 7 messages Sep 12, 2016 – Sep 18, 2016

lore
Share & tools
lore
#0 lore raw

Hello,

c/s 350bc1a9d4 "x86: support newer Intel CPU models" changed the set of MSRs read by Xeon Broadwell hardware (specifically, model 79 / 0x47).

Rereading the manual, it does indeed indicate that this MSR is available.

However, experimentally it is not. All Broadwell hardware XenServer has (both SDPs and production systems) reliably take a #GP fault when trying to read this MSR. Haswell hardware appears fine (and indeed, was reading that MSR before).

Intel: Please can you confirm whether the documentation is correct? If it is, do you have any idea why the MSR might not be available? I can't spot anything relevant in the platform errata documents.

Thanks,

~Andrew

_______________________________________________
Xen-devel mailing list
[email protected]
https://lists.xen.org/xen-devel

#1 lore raw
Quoted 6 lines
Quoted 1 line
Quoted 1 line · On 12.09.16 at 10:47, <[email protected]> wrote:

c/s 350bc1a9d4 "x86: support newer Intel CPU models" changed the set of MSRs read by Xeon Broadwell hardware (specifically, model 79 / 0x47).

Rereading the manual, it does indeed indicate that this MSR is available.

Quoted 8 lines

However, experimentally it is not. All Broadwell hardware XenServer has (both SDPs and production systems) reliably take a #GP fault when trying to read this MSR. Haswell hardware appears fine (and indeed, was reading that MSR before).

Intel: Please can you confirm whether the documentation is correct? If it is, do you have any idea why the MSR might not be available? I can't spot anything relevant in the platform errata documents.

And indeed I had requested this same information already well over a week ago, without having heard back.

Jan

_______________________________________________
Xen-devel mailing list
[email protected]
https://lists.xen.org/xen-devel

#2 lore raw

On Sep 12, 2016, at 2:00 AM, Jan Beulich <[email protected]<mailto:[email protected]>> wrote:

On 12.09.16 at 10:47, <[email protected]<mailto:[email protected]>> wrote:
c/s 350bc1a9d4 "x86: support newer Intel CPU models" changed the set of MSRs read by Xeon Broadwell hardware (specifically, model 79 / 0x47).

Rereading the manual, it does indeed indicate that this MSR is available.

However, experimentally it is not. All Broadwell hardware XenServer has (both SDPs and production systems) reliably take a #GP fault when trying to read this MSR. Haswell hardware appears fine (and indeed, was reading that MSR before).

Where did you find the info? I think you are talking about MSR_PKG_C8_RESIDENCY (630H).

The SDM says (35.13):

"Processors with signatures 06_3DH and 06_47H support the MSR interfaces listed in Table 35-18, Table 35-19, Table 35-20, Table 35-23, Table 35-27, Table 35-28, Table 35-32, and Table 35-33.”

Intel: Please can you confirm whether the documentation is correct? If it is, do you have any idea why the MSR might not be available? I can't spot anything relevant in the platform errata documents.

And indeed I had requested this same information already well over a week ago, without having heard back.

Sorry, it seems that the email was buried in the pile of the emails that I received while I was in Toronto.

Jan

---
Jun
Intel Open Source Technology Center

_______________________________________________
Xen-devel mailing list
[email protected]
https://lists.xen.org/xen-devel

#3 lore raw
Quoted 1 line
Quoted 1 line
Quoted 1 line · On 12.09.16 at 19:28, <[email protected]> wrote:

Please try to get quoting right - your response was rather hard to follow.

Quoted 7 lines

On Sep 12, 2016, at 2:00 AM, Jan Beulich <[email protected]<mailto:[email protected]>> wrote:

On 12.09.16 at 10:47, <[email protected]<mailto:[email protected]>> wrote:
c/s 350bc1a9d4 "x86: support newer Intel CPU models" changed the set of MSRs read by Xeon Broadwell hardware (specifically, model 79 / 0x47).

I think this was misleading: 79 == 0x4f. Andrew, can you confirm in your case please?

Quoted 9 lines

Rereading the manual, it does indeed indicate that this MSR is available.

However, experimentally it is not. All Broadwell hardware XenServer has (both SDPs and production systems) reliably take a #GP fault when trying to read this MSR. Haswell hardware appears fine (and indeed, was reading that MSR before).

Where did you find the info? I think you are talking about MSR_PKG_C8_RESIDENCY (630H).

Yes.

Quoted 5 lines

The SDM says (35.13):

"Processors with signatures 06_3DH and 06_47H support the MSR interfaces listed in Table 35-18, Table 35-19, Table 35-20, Table 35-23, Table 35-27, Table 35-28, Table 35-32, and Table 35-33.”

Model 0x4f is what we're talking about, and table 35-36 has the information on MSR_PKG_C8_RESIDENCY (630H).

Jan

_______________________________________________
Xen-devel mailing list
[email protected]
https://lists.xen.org/xen-devel

#4 lore raw
Quoted 7 lines · Jan Beulich
Quoted 1 line
Quoted 1 line
Quoted 1 line · On 12.09.16 at 19:28, <[email protected]> wrote:

Please try to get quoting right - your response was rather hard to follow.

Quoted 3 lines

On Sep 12, 2016, at 2:00 AM, Jan Beulich <[email protected]<mailto:[email protected]>> wrote:

Quoted 6 lines
Quoted 4 lines

On 12.09.16 at 10:47, <[email protected]<mailto:[email protected]>> wrote:
c/s 350bc1a9d4 "x86: support newer Intel CPU models" changed the set of MSRs read by Xeon Broadwell hardware (specifically, model 79 / 0x47).

I think this was misleading: 79 == 0x4f. Andrew, can you confirm in your case please?

Very sorry for the confusion. Yes, I was talking about model 0x4f.

Quoted 11 lines
Quoted 9 lines

Rereading the manual, it does indeed indicate that this MSR is available.

However, experimentally it is not. All Broadwell hardware XenServer has (both SDPs and production systems) reliably take a #GP fault when trying to read this MSR. Haswell hardware appears fine (and indeed, was reading that MSR before).

Where did you find the info? I think you are talking about MSR_PKG_C8_RESIDENCY (630H).

Yes.

Quoted 7 lines
Quoted 5 lines

The SDM says (35.13):

"Processors with signatures 06_3DH and 06_47H support the MSR interfaces listed in Table 35-18, Table 35-19, Table 35-20, Table 35-23, Table 35-27, Table 35-28, Table 35-32, and Table 35-33.”

Model 0x4f is what we're talking about, and table 35-36 has the information on MSR_PKG_C8_RESIDENCY (630H).

Correct.

~Andrew

_______________________________________________
Xen-devel mailing list
[email protected]
https://lists.xen.org/xen-devel

#5 lore raw
Quoted 36 lines · Andrew Cooper
Quoted 7 lines · Jan Beulich
Quoted 1 line
Quoted 1 line
Quoted 1 line · On 12.09.16 at 19:28, <[email protected]> wrote:

Please try to get quoting right - your response was rather hard to follow.

Quoted 3 lines

On Sep 12, 2016, at 2:00 AM, Jan Beulich <[email protected]<mailto:[email protected]>> wrote:

Quoted 6 lines
Quoted 4 lines

On 12.09.16 at 10:47, <[email protected]<mailto:[email protected]>> wrote:
c/s 350bc1a9d4 "x86: support newer Intel CPU models" changed the set of MSRs read by Xeon Broadwell hardware (specifically, model 79 / 0x47).

I think this was misleading: 79 == 0x4f. Andrew, can you confirm in your case please?

Very sorry for the confusion. Yes, I was talking about model 0x4f.

Quoted 16 lines
Quoted 9 lines

Rereading the manual, it does indeed indicate that this MSR is available.

However, experimentally it is not. All Broadwell hardware XenServer has (both SDPs and production systems) reliably take a #GP fault when trying to read this MSR. Haswell hardware appears fine (and indeed, was reading that MSR before).

Where did you find the info? I think you are talking about MSR_PKG_C8_RESIDENCY (630H).

Yes.

Quoted 5 lines

The SDM says (35.13):

"Processors with signatures 06_3DH and 06_47H support the MSR interfaces listed in Table 35-18, Table 35-19, Table 35-20, Table 35-23, Table 35-27, Table 35-28, Table 35-32, and Table 35-33.”

Quoted 6 lines
Quoted 2 lines

Model 0x4f is what we're talking about, and table 35-36 has the information on MSR_PKG_C8_RESIDENCY (630H).

Correct.

~Andrew

OK. We are taking a look at that now. Thanks for the report.

---
Jun
Intel Open Source Technology Center
_______________________________________________
Xen-devel mailing list
[email protected]
https://lists.xen.org/xen-devel

#6 lore raw
Quoted 40 lines · Jun
Quoted 37 lines · Andrew Cooper
Quoted 7 lines · Jan Beulich
Quoted 1 line
Quoted 1 line
Quoted 1 line · On 12.09.16 at 19:28, <[email protected]> wrote:

Please try to get quoting right - your response was rather hard to follow.

Quoted 3 lines

On Sep 12, 2016, at 2:00 AM, Jan Beulich <[email protected]<mailto:[email protected]>> wrote:

Quoted 6 lines
Quoted 4 lines

On 12.09.16 at 10:47, <[email protected]<mailto:[email protected]>> wrote:
c/s 350bc1a9d4 "x86: support newer Intel CPU models" changed the set of MSRs read by Xeon Broadwell hardware (specifically, model 79 / 0x47).

I think this was misleading: 79 == 0x4f. Andrew, can you confirm in your case please?

Very sorry for the confusion. Yes, I was talking about model 0x4f.

Quoted 16 lines
Quoted 9 lines

Rereading the manual, it does indeed indicate that this MSR is available.

However, experimentally it is not. All Broadwell hardware XenServer has (both SDPs and production systems) reliably take a #GP fault when trying to read this MSR. Haswell hardware appears fine (and indeed, was reading that MSR before).

Where did you find the info? I think you are talking about MSR_PKG_C8_RESIDENCY (630H).

Yes.

Quoted 5 lines

The SDM says (35.13):

"Processors with signatures 06_3DH and 06_47H support the MSR interfaces listed in Table 35-18, Table 35-19, Table 35-20, Table 35-23, Table 35-27, Table 35-28, Table 35-32, and Table 35-33.”

Quoted 9 lines
Quoted 6 lines
Quoted 2 lines

Model 0x4f is what we're talking about, and table 35-36 has the information on MSR_PKG_C8_RESIDENCY (630H).

Correct.

~Andrew

OK. We are taking a look at that now. Thanks for the report.

We’ll remove the following MSRs from the table 35-36 in the next release:
MSR_PKG_C8_RESIDENCY, MSR_PKG_C9_RESIDENCY and MSR_PKG_C10_RESIDENCY

Thank you for reporting this.
---
Jun
Intel Open Source Technology Center
_______________________________________________
Xen-devel mailing list
[email protected]
https://lists.xen.org/xen-devel