Page MenuHomeFreeBSD

bump check for PMC architecture in hwpmc core
ClosedPublic

Authored by op on Jan 3 2017, 11:25 PM.
Tags
None
Referenced Files
Unknown Object (File)
Mon, Dec 30, 6:32 AM
Unknown Object (File)
Sun, Dec 8, 5:22 AM
Unknown Object (File)
Nov 20 2024, 7:36 AM
Unknown Object (File)
Nov 2 2024, 3:02 AM
Unknown Object (File)
Nov 1 2024, 6:08 AM
Unknown Object (File)
Oct 27 2024, 3:53 PM
Unknown Object (File)
Oct 27 2024, 3:53 PM
Unknown Object (File)
Oct 27 2024, 3:52 PM
Subscribers

Details

Summary

This fixes the hwpmcs on Intel i7-6700 CPU.

Before this fix on hwpmc module load, we got this error message:

[82] hwpc_core: unknown PMC architecture: 4
[82] hwpmc: SOFT/16/64/0x67<INT,USR,SYS,REA,WRI>

but with this patch:

[335] hwpmc: SOFT/16/64/0x67<INT,USR,SYS,REA,WRI> TSC/1/64/0x20<REA> IAP/4/48/0x3ff<INT,USR,SYS,EDG,THR,REA,WRI,INV,QUA,PRC> IAF/3/48/0x67<INT,USR,SYS,REA,WRI>

and the hwpmc is fully functional.

Obtained-from: opBSD

Test Plan

0. get a skylake cpu based system

  1. apply the patch
  2. recompile the hwpmc module
  3. kldload hwpmc
  4. pmcstat -T -S instructions

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

op retitled this revision from to bump check for PMC architecture check in hwpmc core.
op updated this object.
op edited the test plan for this revision. (Show Details)
op added reviewers: rrs, kib, jhb.
op set the repository for this revision to rS FreeBSD src repository - subversion.
op retitled this revision from bump check for PMC architecture check in hwpmc core to bump check for PMC architecture in hwpmc core.Jan 3 2017, 11:25 PM

(When the diff got a positive review, please commit them.)

This revision was automatically updated to reflect the committed changes.