From owner-freebsd-current@FreeBSD.ORG Tue Jan 29 08:29:52 2013 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 7C86E95E; Tue, 29 Jan 2013 08:29:52 +0000 (UTC) (envelope-from hiren.panchasara@gmail.com) Received: from mail-ea0-f180.google.com (mail-ea0-f180.google.com [209.85.215.180]) by mx1.freebsd.org (Postfix) with ESMTP id C3986F7E; Tue, 29 Jan 2013 08:29:51 +0000 (UTC) Received: by mail-ea0-f180.google.com with SMTP id c1so74168eaa.11 for ; Tue, 29 Jan 2013 00:29:50 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:x-received:in-reply-to:references:date:message-id :subject:from:to:cc:content-type; bh=T/t4n35ymz7NFShGWKXa7miSuM2RG4+cFwK9Deb2poQ=; b=d+yRBaFBVoBpScxITIrMKHwTFvoZ1CrTTece+LKKUUJqyan6pj7lhy+PGrFx2RfdFO GGqqyreXB2dGihkvrMnaRbdJMe/1wTObCF8Yu8+Ize9Yyh4bpzOnJfqsgBT9V0YYFDlw O86V4roeg0EmaXkuw7Q1usK01LYcAZncXgiMwwgg2oPqUnaGVw9rCTCgBlnp98+inn8s o+fzCv+QwXWNwB8QYOQSHOv/0ub77gVsU6pGwXBz7smcovVUszWMGN06FXM+yX7Xi17h eY807sE0YzzRpKu7AvzOgrVDAzKLLw0O92N+uL+UxTB/V+hdUaBfB+lSeubusg0K/zhj 5SJg== MIME-Version: 1.0 X-Received: by 10.14.174.198 with SMTP id x46mr952830eel.23.1359448190707; Tue, 29 Jan 2013 00:29:50 -0800 (PST) Received: by 10.14.29.78 with HTTP; Tue, 29 Jan 2013 00:29:50 -0800 (PST) In-Reply-To: References: Date: Tue, 29 Jan 2013 00:29:50 -0800 Message-ID: Subject: Re: hwpmc support for Ivy Bridge Xeon From: hiren panchasara To: freebsd-current Content-Type: text/plain; charset=UTF-8 Cc: Jim Harris , Fabien Thomas X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 29 Jan 2013 08:29:52 -0000 On Mon, Jan 28, 2013 at 7:27 PM, hiren panchasara wrote: > On Sat, Jan 26, 2013 at 1:58 AM, hiren panchasara > wrote: >> I've tried to update hwpmc by adding support for xeon class of Ivy >> bridge processors. >> >> Thanks Jim for pointing me to the correct document. (325462-045US Jan 2013) >> >> I do not have a reference machine to test with. Any help in that >> regard would be appreciated. > > Got a machine with ivy bridge xeon. Will test my changes and update here soon. > > Hiren It seems to be working fine: Here is o/p of "pmccontrol -L" listing all the event counters: http://www.strugglingcoder.info/patches/hwpmc_ibx_pmccontrol.txt And below is the o/p of pmctest.py script: http://www.strugglingcoder.info/patches/hwpmc_ibx_pmctest.txt cheers, Hiren >> >> Here are the diffs against head (245927): >> http://www.strugglingcoder.info/patches/hwpmc_ibx.txt >> >> Thanks, >> Hiren