]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Add stepping to the kern.hwpmc.cpuid string on x86.
authormav <mav@FreeBSD.org>
Tue, 14 Jul 2020 18:11:05 +0000 (18:11 +0000)
committermav <mav@FreeBSD.org>
Tue, 14 Jul 2020 18:11:05 +0000 (18:11 +0000)
commit8b798d17300a142e2c01967df1792e073fca905a
treed1b169f3061906b412060708a4c3e7de0438dad2
parent00fc01fa980d371192559bfff83c026134956aca
Add stepping to the kern.hwpmc.cpuid string on x86.

It follows the equivalent Linux change to be able to differentiate
skylakex and cascadelakex, sharing the same model but not stepping.

This fixes skylakex handling broken by r363144.

MFC after: 6 days
lib/libpmc/libpmc_pmu_util.c
sys/dev/hwpmc/hwpmc_amd.c
sys/dev/hwpmc/hwpmc_intel.c