[Bug 207068] hwpmc wrap around/sign extension

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Fri Feb 12 07:27:34 UTC 2016


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

--- Comment #11 from commit-hook at freebsd.org ---
A commit references this bug:

Author: kib
Date: Fri Feb 12 07:27:24 UTC 2016
New revision: 295560
URL: https://svnweb.freebsd.org/changeset/base/295560

Log:
  If full width writes to the performance monitoring counters are
  supported, use full-width aliases MSRs for writes.  This fixes the
  "[pmc,X] negative increment" assertion on the context switch when
  clipped counter value is sign-extended.

  Add definitions for the MSR IA32_PERF_CAPABILITIES needed to detect
  the feature.

  PR:   207068
  Submitted by: joss.upton at yahoo.com
  MFC after:    2 weeks

Changes:
  head/sys/dev/hwpmc/hwpmc_core.c
  head/sys/dev/hwpmc/hwpmc_core.h

-- 
You are receiving this mail because:
You are on the CC list for the bug.


More information about the freebsd-amd64 mailing list