Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1762031AbZFKWeg (ORCPT ); Thu, 11 Jun 2009 18:34:36 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1757528AbZFKWe3 (ORCPT ); Thu, 11 Jun 2009 18:34:29 -0400 Received: from smtp1.linux-foundation.org ([140.211.169.13]:51674 "EHLO smtp1.linux-foundation.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755720AbZFKWe2 (ORCPT ); Thu, 11 Jun 2009 18:34:28 -0400 Date: Thu, 11 Jun 2009 15:32:55 -0700 From: Andrew Morton To: Tomaz Mertelj Cc: linux-kernel@vger.kernel.org, lm-sensors@lm-sensors.org, Harald Welte Subject: Re: [PATCH] hwmon: Add driver for VIA CPU core temperature Message-Id: <20090611153255.ba8d6c54.akpm@linux-foundation.org> In-Reply-To: References: <20090609083406.GE25316@prithivi.gnumonks.org> X-Mailer: Sylpheed version 2.2.4 (GTK+ 2.8.20; i486-pc-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1300 Lines: 47 On Wed, 10 Jun 2009 17:40:31 +0000 (UTC) Tomaz Mertelj wrote: > Harald Welte viatech.com> writes: > > > > > This is a driver for the on-die digital temperature sensor of > > VIA's recent CPU models. > > > > Signed-off-by: Harald Welte viatech.com> > > > > Harald, You carefully removed Harald from Cc: so he probably didn't read your email. > I tested it on 2.6.28.3 kernel on VIA VB7002 motherboard and it does not work > correctly. > > Output form sensors: > > via-cputemp-isa-0000 > Adapter: ISA adapter > Core 0: +0.0 C > > On the other hand > cat '/sys/class/hwmon/hwmon2/device/driver/via-cputemp.0/temp1_input' outputs > numbers between 25-27. > Thanks for testing it. Harald, please cc myself on updates to this patch. It has a few trivial coding-style glitches. Please use checkpatch. Please take a look at using hotcpu_notifier() rather than a bare register_hotcpu_notifier(). Many ifdefs should fall away as a result. -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/