Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Does PCM support Kabylake CPUs (e.g. Intel i5-7300HQ) ? #22

Closed
anurag-daware opened this issue Mar 31, 2017 · 4 comments
Closed

Does PCM support Kabylake CPUs (e.g. Intel i5-7300HQ) ? #22

anurag-daware opened this issue Mar 31, 2017 · 4 comments
Assignees
Labels

Comments

@anurag-daware
Copy link
Contributor

D:\CEC\PCM>pcm.exe
DEBUG: Setting Ctrl+C done.

Processor Counter Monitor (2017-03-24 23:15:23 +0100 ID=ea6ef86)

Error: unsupported processor. Only Intel(R) processors are supported (Atom(R) and microarchitecture codename Nehalem/Nehalem-EP, Atom(tm), Westmere/Clarkdale, Sandy Bridge, Westmere-EP, Sandy Bridge-EP/Jaketown, Nehalem-EX, Westmere-EX, Ivy Bridge, Haswell, Broadwell, Ivy Bridge-EP/EN/EX/Ivytown, Haswell-EP/EN/EX, Broadwell-EP/EX, Broadwell-DE, Knights Landing, Skylake). CPU model number: 158 Brand: "Intel(R) Core(TM) i5-7300HQ CPU @ 2.50GHz"
Access to Processor Counter Monitor has denied (no MSR or PCI CFG space access).

@opcm opcm self-assigned this Mar 31, 2017
@opcm opcm added the bug label Mar 31, 2017
@opcm opcm added this to the April2017 milestone Mar 31, 2017
@opcm
Copy link
Contributor

opcm commented Mar 31, 2017

thanks for reporting this issue. Kabylake has the same performance events as Skylake. As a temp workaround please change the Skylake id in cpucounter.h to 158.
SKL = 94, -> SKL = 158,

@anurag-daware
Copy link
Contributor Author

Thanks for the reply.
I have 1 question about pcm-msr utility, not sure where should I ask this so asking here -
Its description says - MSR read/write utility
But how should I provide MSR address and read it? e.g. I want to read 3F8h
In usage -
Usage pcm-msr.exe [-w value] [-c core] [-d] msr

Reads specified msr (model specific register)
-w value : write the value before reading
-c core : perform msr read/write on specified core (default is 0)
-d : output all numbers in dec (default is hex)
Where is the read option with input to give MSR address?
Thanks

@opcm
Copy link
Contributor

opcm commented Mar 31, 2017

pcm-msr.exe 0x3F8

@opcm
Copy link
Contributor

opcm commented Apr 1, 2017

Fix merged

@opcm opcm closed this as completed Apr 1, 2017
mjguzik pushed a commit to mjguzik/pcm that referenced this issue Aug 26, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants