cvs commit: src/sys/dev/hwpmc hwpmc_x86.c
kris at FreeBSD.org
Thu Nov 29 00:49:44 PST 2007
Joseph Koshy wrote:
> jkoshy 2007-11-29 06:43:59 UTC
> FreeBSD src repository
> Modified files:
> sys/dev/hwpmc hwpmc_x86.c
> Revert revision 1.4.
> Intel CPUs with family 0x6, model 0xE and later (i.e., Intel Core(TM))
> have a PMC architecture that differs somewhat from previous CPUs in
> family 0x6. Even though the basic programming model is similar, the
> documented set of legal values that may be loaded into their PMC MSRs
> differs from that of the previous PMCs in family 0x6 and reusing bit
> values valid for the older PMCs could result in undefined behaviour in
> the general case.
> Revision Changes Path
> 1.6 +1 -1 src/sys/dev/hwpmc/hwpmc_x86.c
What is your expected timeline for fixing this and the other missing CPU
family support (Intel Woodcrest, etc)? It's a serious limitation to not
be able to run hwpmc on modern CPUs, and I argue that a partial
implementation is much better than no implementation.
More information about the cvs-src