From owner-freebsd-current@FreeBSD.ORG Thu Mar 12 17:49:28 2009 Return-Path: Delivered-To: freebsd-current@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 9969A1065674; Thu, 12 Mar 2009 17:49:28 +0000 (UTC) (envelope-from nork@FreeBSD.org) Received: from sakura.ninth-nine.com (unknown [IPv6:2001:2f0:104:80a0:230:48ff:fe41:2455]) by mx1.freebsd.org (Postfix) with ESMTP id F238C8FC1A; Thu, 12 Mar 2009 17:49:27 +0000 (UTC) (envelope-from nork@FreeBSD.org) Received: from nadesico.ninth-nine.com (nadesico.ninth-nine.com [219.127.74.122]) by sakura.ninth-nine.com (8.14.1/8.14.1/NinthNine) with SMTP id n2CHnDDe058934; Fri, 13 Mar 2009 02:49:17 +0900 (JST) (envelope-from nork@FreeBSD.org) Date: Fri, 13 Mar 2009 02:49:13 +0900 From: Norikatsu Shigemura To: Kurt Jaeger Message-Id: <20090313024913.79d43002.nork@FreeBSD.org> In-Reply-To: <20090309194455.GA27326@home.opsec.eu> References: <20090301181631.d2e3c89e.nork@FreeBSD.org> <554FEBB3-CB69-4502-9728-C4735B29F784@FreeBSD.org> <20090301234328.9aa4237c.nork@FreeBSD.org> <69C4F850-1DCC-4E15-84E7-1B0E7C656CE6@FreeBSD.org> <20090302003904.12d683c1.nork@FreeBSD.org> <87F4F8E8-CB5A-476D-A57B-A3EBF44272EF@FreeBSD.org> <20090310020627.4482190d.nork@FreeBSD.org> <20090309194455.GA27326@home.opsec.eu> X-Mailer: Sylpheed 2.6.0 (GTK+ 2.14.7; i386-portbld-freebsd8.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-2.0.2 (sakura.ninth-nine.com [219.127.74.121]); Fri, 13 Mar 2009 02:49:17 +0900 (JST) Cc: freebsd-current@FreeBSD.org, Norikatsu Shigemura Subject: Re: ktemp(8) on Phenom II X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 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: Thu, 12 Mar 2009 17:49:29 -0000 Hi Kurt! On Mon, 9 Mar 2009 20:44:55 +0100 Kurt Jaeger wrote: > > 1. Add support 10th generation CPU. I confirmed on Phenom II. > > And maybe 11th is same. Sorry, my Puma note became hardware > > trouble. So I don't confirm on it. > I have an quad-core CPU, see below. Your patch works, but > only displays values for the first two CPUs. I re-read AMD's documents. We can get only 1 data as CurTmp: current temperature, not by-cores from F3xA4 Reported Temperature Control Register. So, in fact, dev.cpu.0.temperature == dev.cpu.1.temperature.