From owner-cvs-src-old@FreeBSD.ORG Thu Aug 5 20:03:17 2010 Return-Path: Delivered-To: cvs-src-old@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 831AC106574F for ; Thu, 5 Aug 2010 20:03:17 +0000 (UTC) (envelope-from gnn@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id 700768FC21 for ; Thu, 5 Aug 2010 20:03:17 +0000 (UTC) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.4/8.14.4) with ESMTP id o75K3HYe042014 for ; Thu, 5 Aug 2010 20:03:17 GMT (envelope-from gnn@repoman.freebsd.org) Received: (from svn2cvs@localhost) by repoman.freebsd.org (8.14.4/8.14.4/Submit) id o75K3Heq042013 for cvs-src-old@freebsd.org; Thu, 5 Aug 2010 20:03:17 GMT (envelope-from gnn@repoman.freebsd.org) Message-Id: <201008052003.o75K3Heq042013@repoman.freebsd.org> X-Authentication-Warning: repoman.freebsd.org: svn2cvs set sender to gnn@repoman.freebsd.org using -f From: "George V. Neville-Neil" Date: Thu, 5 Aug 2010 20:02:59 +0000 (UTC) To: cvs-src-old@freebsd.org X-FreeBSD-CVS-Branch: RELENG_8 Subject: cvs commit: src/sys/dev/hwpmc hwpmc_core.c hwpmc_core.h X-BeenThere: cvs-src-old@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: **OBSOLETE** CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 05 Aug 2010 20:03:17 -0000 gnn 2010-08-05 20:02:59 UTC FreeBSD src repository Modified files: (Branch: RELENG_8) sys/dev/hwpmc hwpmc_core.c hwpmc_core.h Log: SVN rev 210893 on 2010-08-05 20:02:59Z by gnn MFC: 210621 Make sure that we clear the correct bits when we turn off a PMC. It was possible that we could have turned a bit on but never cleared it. Extend the calls to rdmsr() to all necessary functions, not just those which previously caused a panic. Pointed out by: jhb@ Revision Changes Path 1.4.4.8 +28 -21 src/sys/dev/hwpmc/hwpmc_core.c 1.1.4.4 +6 -0 src/sys/dev/hwpmc/hwpmc_core.h