From owner-freebsd-embedded@FreeBSD.ORG Thu Feb 18 05:09:22 2010 Return-Path: Delivered-To: embedded@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 03DEC106566C; Thu, 18 Feb 2010 05:09:22 +0000 (UTC) (envelope-from imp@bsdimp.com) Received: from harmony.bsdimp.com (bsdimp.com [199.45.160.85]) by mx1.freebsd.org (Postfix) with ESMTP id B9C5A8FC13; Thu, 18 Feb 2010 05:09:21 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by harmony.bsdimp.com (8.14.3/8.14.1) with ESMTP id o1I54T0U059598; Wed, 17 Feb 2010 22:04:29 -0700 (MST) (envelope-from imp@bsdimp.com) Date: Wed, 17 Feb 2010 22:04:44 -0700 (MST) Message-Id: <20100217.220444.705053590986461614.imp@bsdimp.com> To: gnn@neville-neil.com From: "M. Warner Losh" In-Reply-To: <42B59FCC-7A59-4383-BE4E-366B80B504BF@neville-neil.com> References: <42B59FCC-7A59-4383-BE4E-366B80B504BF@neville-neil.com> X-Mailer: Mew version 6.3 on Emacs 22.3 / Mule 5.0 (SAKAKI) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Cc: jkoshy@FreeBSD.org, embedded@FreeBSD.org, fabient@FreeBSD.org Subject: Re: First cut at hwpmc support on MIPS X-BeenThere: freebsd-embedded@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Dedicated and Embedded Systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 18 Feb 2010 05:09:22 -0000 In message: <42B59FCC-7A59-4383-BE4E-366B80B504BF@neville-neil.com> George Neville-Neil writes: : Hi, : : I've got this running on my RouterStation Pro, which is a MIPS 24K (32bit) CPU. : Please review and let me know if you have comments. I'd like to commit this : in a week or so. : : Best, : George : : http://people.freebsd.org/~gnn/mipshwpmc_1.diff These counters are for the MIPS 24K. Other counters exist on other MIPS processors, so I'd think that you'd want to have at least the name be something less generic. I hate to complain about the name, but I know that the Octeon counters are on the roadmap for some work that is likely going to happen. Plus I think Randal was making noises that he or one of the RMI guys was going to do something similar for the XLR CPU. Warner