Date: Tue, 13 Jul 2010 19:37:45 +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: <201007131938.o6DJc57h094571@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
gnn 2010-07-13 19:37:45 UTC
FreeBSD src repository
Modified files:
sys/dev/hwpmc hwpmc_core.c hwpmc_core.h
Log:
SVN rev 210012 on 2010-07-13 19:37:45Z by gnn
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
MFC after: 1 week
Revision Changes Path
1.11 +32 -13 src/sys/dev/hwpmc/hwpmc_core.c
1.3 +54 -0 src/sys/dev/hwpmc/hwpmc_core.h
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201007131938.o6DJc57h094571>
