[Bug 238310] [PMC] Add Baytrail cpuid to pmc

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Mon Jun 3 13:28:54 UTC 2019


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=238310

            Bug ID: 238310
           Summary: [PMC] Add Baytrail cpuid to pmc
           Product: Base System
           Version: 11.2-RELEASE
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: kern
          Assignee: bugs at FreeBSD.org
          Reporter: nicolas.masse at stormshield.eu

Created attachment 204804
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=204804&action=edit
add baytrail id

When trying to use pmc on a baytrail cpu, the dmesg contains the following
message:
pmc: Unknown Intel CPU.

Since Baytrail cpu seems to be based on the Silvermont micro-architecture, I
just add the necessary id to make it recognized as such. Then, the message
became:
hwpmc: SOFT/16/64/0x67<INT,USR,SYS,REA,WRI> TSC/1/64/0x20<REA>
IAP/2/40/0x3ff<INT,USR,SYS,EDG,THR,REA,WRI,INV,QUA,PRC>
IAF/3/40/0x67<INT,USR,SYS,REA,WRI>

Using pmcstat to get the values of differents counters seems to work as
expected.

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-bugs mailing list