From owner-cvs-src@FreeBSD.ORG Mon Dec 3 18:21:15 2007 Return-Path: Delivered-To: cvs-src@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 59F3716A41A for ; Mon, 3 Dec 2007 18:21:15 +0000 (UTC) (envelope-from kip.macy@gmail.com) Received: from wa-out-1112.google.com (wa-out-1112.google.com [209.85.146.183]) by mx1.freebsd.org (Postfix) with ESMTP id 34E3313C467 for ; Mon, 3 Dec 2007 18:21:15 +0000 (UTC) (envelope-from kip.macy@gmail.com) Received: by wa-out-1112.google.com with SMTP id k17so5736356waf for ; Mon, 03 Dec 2007 10:21:14 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; bh=qWVgUUdoa6kBqQYtzztVO+JHMoOZS9pbhb/u2JwZxxA=; b=V6HNE/Q+9P9iIWPRulKv7xIIV7e0VXSsU6rqK9fFBu19un2zbrjVNPk4MMJyRhiMJqdEnOd8In77mClq9o8ltVOuQO1ZjsLmETy3HYnqt0iG2U0nK7FgSjnJBksNDTv9IjCbEO/gMTAq5sQgPtuCAb2Gm5z8V1UXyLLlGi3+nj8= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=lVKzCC5tc+6ihbBRY507LbfOliyOL7vLTGwRbu0EX4t6crFqXud+D67q37KLd45nghj2nYhnSoAyHhLpqdfmyCJSLW1hWCr4AjtaAttAqiw+eTZMe0eBtO+LRYY5p06gtGfParN8SHmyZAnnUrvXJ8gqJuvMGoDmZl8w/wiXMDw= Received: by 10.114.15.1 with SMTP id 1mr818648wao.1196706074073; Mon, 03 Dec 2007 10:21:14 -0800 (PST) Received: by 10.114.13.15 with HTTP; Mon, 3 Dec 2007 10:21:13 -0800 (PST) Message-ID: Date: Mon, 3 Dec 2007 10:21:13 -0800 From: "Kip Macy" To: "Joseph Koshy" In-Reply-To: <200712031050.lB3AowcL055057@repoman.freebsd.org> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <200712031050.lB3AowcL055057@repoman.freebsd.org> Cc: cvs-src@freebsd.org, src-committers@freebsd.org, cvs-all@freebsd.org Subject: Re: cvs commit: src/sys/dev/hwpmc 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: Mon, 03 Dec 2007 18:21:15 -0000 On Dec 3, 2007 2:50 AM, Joseph Koshy wrote: > jkoshy 2007-12-03 10:50:58 UTC > > FreeBSD src repository > > Modified files: (Branch: RELENG_7) > sys/dev/hwpmc hwpmc_x86.c > Log: > MFC r1.6: > "Revert revision 1.4. > > Intel CPUs with family 0x6, model 0xE and later (i.e., Intel Core(TM)) > have a PMC architecture that differs somewhat from previous CPUs in > family 0x6. Even though the basic programming model is similar, the > documented set of legal values that may be loaded into their PMC MSRs > differs from that of the previous PMCs in family 0x6 and reusing bit > values legal for the older PMCs could result in undefined behaviour in > the general case." Can you say a little more about what the differences are or where one could find a discussion of them without wading through different processor model revisions? Kris, SCC, and I have been obtaining sensible results using 0xE and 0xF for the small set of sampling operations that we use. -Kip