From owner-cvs-src@FreeBSD.ORG Fri Aug 26 19:49:40 2005 Return-Path: X-Original-To: cvs-src@FreeBSD.org Delivered-To: cvs-src@FreeBSD.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 107B616A41F; Fri, 26 Aug 2005 19:49:40 +0000 (GMT) (envelope-from jkoshy@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9A15B43D8C; Fri, 26 Aug 2005 19:49:33 +0000 (GMT) (envelope-from jkoshy@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.13.1/8.13.1) with ESMTP id j7QJnWIL076492; Fri, 26 Aug 2005 19:49:32 GMT (envelope-from jkoshy@repoman.freebsd.org) Received: (from jkoshy@localhost) by repoman.freebsd.org (8.13.1/8.13.1/Submit) id j7QJnW5v076491; Fri, 26 Aug 2005 19:49:32 GMT (envelope-from jkoshy) Message-Id: <200508261949.j7QJnW5v076491@repoman.freebsd.org> From: Joseph Koshy Date: Fri, 26 Aug 2005 19:49:32 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: RELENG_6 Cc: Subject: cvs commit: src/sys/dev/hwpmc hwpmc_mod.c hwpmc_x86.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 26 Aug 2005 19:49:40 -0000 jkoshy 2005-08-26 19:49:32 UTC FreeBSD src repository Modified files: (Branch: RELENG_6) sys/dev/hwpmc hwpmc_mod.c hwpmc_x86.c Log: MFC: [ hwpmc_mod.c:1.14,1.15 ] - Print PMC capabilities at module load time. - Return EOPNOTSUPP instead of EINVAL if a PMC allocation request specifies a PMC capability (e.g., sampling) that is not supported by hardware. Return EINVAL early if the PMC class passed in is not recognized. [ hwpmc_x86.c:1.3 ] - On x86 processors, turn off 'INTERRUPT' capabilities on PMCs if the CPU does not have its local APIC enabled. Approved by: re (scottl) Revision Changes Path 1.10.2.4 +24 -4 src/sys/dev/hwpmc/hwpmc_mod.c 1.2.2.1 +13 -3 src/sys/dev/hwpmc/hwpmc_x86.c