Date: Tue, 20 Jul 2010 17:57:03 +0000 (UTC) From: "George V. Neville-Neil" <gnn@FreeBSD.org> To: cvs-src-old@freebsd.org Subject: cvs commit: src/sys/dev/hwpmc hwpmc_core.c hwpmc_core.h Message-ID: <201007211826.o6LIQbS5098134@repoman.freebsd.org>
index | next in thread | raw e-mail
gnn 2010-07-20 17:57:03 UTC
FreeBSD src repository
Modified files: (Branch: RELENG_7)
sys/dev/hwpmc hwpmc_core.c hwpmc_core.h
Log:
SVN rev 210301 on 2010-07-20 17:57:03Z by gnn
MFC r210012:
Fix a panic brought about by writing an MSR without a proper mask.
All of the necessary wrmsr calls are now preceded by a rdmsr
and we leave the reserved bits alone.
Document the bits in the relevant registers for future reference.
Tested by: mdf
Revision Changes Path
1.4.2.7 +32 -13 src/sys/dev/hwpmc/hwpmc_core.c
1.1.2.3 +54 -0 src/sys/dev/hwpmc/hwpmc_core.h
help
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201007211826.o6LIQbS5098134>
