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