Received: by 2002:a25:8b91:0:0:0:0:0 with SMTP id j17csp8363759ybl; Thu, 16 Jan 2020 15:23:55 -0800 (PST) X-Google-Smtp-Source: APXvYqw5imj0qv5YZ1VpvsR8tMm3NQ6P4kVbRZWaPlzUK0WdYQzO3ouS5NS9SJlwWCh/FNfZQhjK X-Received: by 2002:a9d:d06:: with SMTP id 6mr1264237oti.176.1579217035659; Thu, 16 Jan 2020 15:23:55 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1579217035; cv=none; d=google.com; s=arc-20160816; b=Ww6/UgXCcNho1N/ixUqUP+tdQxbAE8tZIkknfegdvRiaxIpn0tQnzqREz8v4hjWVBm 8Z1bMpL52F4TMz3iQUKQVPiWh80yhsEMSZ0I0wsYupW69wJQuAuzwB/zshwoosefzOpj Y7fwkktYTwV+aZCMuRk9PVFgjEr6tfkNGDqdPTGx7z2il1lmzTfIROaGiAOa/+zqSDpU XJeBgUeYkPdWEoE7pbb0SCdxCKAUg+rUJODhk4ZtBQENLBvLnVL58E2BV183fuBHQRok i4od8M0FIEbhEDPuJi/c4zJ6LVZQAAM1VuNjjR4wOSWVVAKKnbZlaeI5tpb0siAr0xA7 6S/w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :user-agent:references:in-reply-to:date:cc:to:from:subject :message-id; bh=Az0jsljFgLOdq3dTYZCyAL88odP0Kju0o5Kb6CQi9So=; b=XjCyMcBvB7y/LKHdJ2r+GcskUXjVDWX26ZaZdYyMzKcenkzs4ay+qf3SJ8bOApshjJ De03zdZM3eaT8rsZ7Bx3LaS+YITO62hYF6BlDFx1h63QGJ7AzgikPjoSbuDMO/x0eRnF MjdIYnkRkE9dpaCaA8+2jH1zYYQ04PpnWZh7vZMeUyxJzrco5B4dqTo9ou7Wm/R4+ArJ rXssbjlJWQKOQiRpGQj2NDPSYMResl/CgZT0Pwm/lK6KZQzEMYzVS4rfqdMiC9Jzl0C1 IegKXlNPuYKkZLjtjq4avyuzTaQwKMW+U2AWlzXV6kpoekaN9aCzCMHlkcvMA4C8VikC eDDg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id y65si13102495oia.162.2020.01.16.15.23.44; Thu, 16 Jan 2020 15:23:55 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729037AbgAPTlf (ORCPT + 99 others); Thu, 16 Jan 2020 14:41:35 -0500 Received: from mga04.intel.com ([192.55.52.120]:2591 "EHLO mga04.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727023AbgAPTlf (ORCPT ); Thu, 16 Jan 2020 14:41:35 -0500 X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga004.jf.intel.com ([10.7.209.38]) by fmsmga104.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 16 Jan 2020 11:41:34 -0800 X-IronPort-AV: E=Sophos;i="5.70,327,1574150400"; d="scan'208";a="373433720" Received: from pkriegsm-mobl.amr.corp.intel.com ([10.251.131.105]) by orsmga004-auth.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 16 Jan 2020 11:41:34 -0800 Message-ID: <2de70e961f24592d2d157b8586526df2eaf0ae6e.camel@linux.intel.com> Subject: Re: [PATCH] thermal: intel_pch_thermal: Add PCI ids for Lewisburg PCH. From: Srinivas Pandruvada To: Andres Freund Cc: Tushar Dave , Zhang Rui , linux-pm@vger.kernel.org, linux-kernel@vger.kernel.org Date: Thu, 16 Jan 2020 11:41:34 -0800 In-Reply-To: <20200116184250.qlvc3ilx2b42czqk@alap3.anarazel.de> References: <20200115184415.1726953-1-andres@anarazel.de> <2a5e9df32e2df27297149a577512f6b1557de241.camel@linux.intel.com> <20200116184250.qlvc3ilx2b42czqk@alap3.anarazel.de> Content-Type: text/plain; charset="UTF-8" User-Agent: Evolution 3.34.1-2 MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, 2020-01-16 at 10:42 -0800, Andres Freund wrote: > Hi, > > On 2020-01-16 05:53:13 -0800, Srinivas Pandruvada wrote: > > On Wed, 2020-01-15 at 10:44 -0800, Andres Freund wrote: > > > I noticed that I couldn't read the PCH temperature on my > > > workstation > > > (C620 series chipset, w/ 2x Xeon Gold 5215 CPUs) directly, but > > > had to > > > go > > > through IPMI. Looking at the data sheet, it looks to me like the > > > existing intel PCH thermal driver should work without changes for > > > Lewisburg. > > Does the temperature reading match with what you read via IPMI? > > It does: > > root@awork3:~# ipmitool sdr|grep ^PCH > PCH Temp | 58 degrees C | ok > > andres@awork3:~$ cat /sys/class/thermal/thermal_zone0/type > pch_lewisburg > andres@awork3:~$ cat /sys/class/thermal/thermal_zone0/temp > 58000 > > And if I generate some load, it rises for both: > root@awork3:~# ipmitool sdr|grep ^PCH > PCH Temp | 60 degrees C | ok > andres@awork3:~$ cat /sys/class/thermal/thermal_zone0/temp > 60000 > Thanks for the test. Rui can add his ACK. Thanks, Srinivas