Received: by 2002:a25:8b91:0:0:0:0:0 with SMTP id j17csp8107201ybl; Thu, 16 Jan 2020 10:45:04 -0800 (PST) X-Google-Smtp-Source: APXvYqwvTMiboOdbyokcRwGKVy7ElOmt+dy9G52rGdRP9F0xz63HvZiY64UhrlODD8PnxjLt1oov X-Received: by 2002:a05:6830:1bf2:: with SMTP id k18mr2869447otb.78.1579200304592; Thu, 16 Jan 2020 10:45:04 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1579200304; cv=none; d=google.com; s=arc-20160816; b=pkgAAE34uZwq/+/AaOfMHRk9qKSCpVBJy03/6a63hBAI5ZqkpkUAe5AXQ/DxwH9wFT fY1QKd9xpCrjz7W88bYsUyTVh+GS/ykQzJtuaN2c22idUcBhC0g6cZjTFpoBXHhh7Iq5 HRFyaPmq/6yPmgDawn/nZIFWICpo/mP/st2Va+RVmk5clRGMfGQ5hTT4Xe9HplnwLOmo PZa95v2T9hhVri2Tl62TavkhJ2UZ+jlrYKPtXUZuimNg/G9NPHujpme0VonkHmzuflK7 shNhLNVxH/0fT8wtBX+ABP13X8koMPLgIqOVsJbRmyELg6qRrf9JdQiCGeWYMzfLBht1 UmFg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date :dkim-signature:dkim-signature; bh=/7fhTR1f92cLpIrCbJ+2OWqkhpv1kl/VUQPVVPmZgEc=; b=fAHcqHspHf+BpafyUL+LjaDK81TNZsun02kxDACK3UBz69CYR3+9MOnLkqjhG2gYkQ 3MiVbcT/MOrI/wUT1p3PLmgfJDBANdMOaH0x9ZPx2SeJysbEFSItFNZV+Ql9tgvTr+0H DA8vN4yWcxtPsVo09w08NNu7D39PR/helOIBMA8k/2KNzFk8oGvDQ1l+j57PjUWas0Za s46FiJda1Ck/WdNmZwUy/0zOs0jsl1TbopMeBS+jEW93yUU6B+U5Usvsa3lrwdTGPQY9 lQ8sVT68txfE7qvQIwWqCSEpfQrpfT5hX+LAlDvPtVXIWFqCxcjkdg4ySQ98rMRB7bWi QwrA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@anarazel.de header.s=fm3 header.b=FeT3Zq8G; dkim=pass header.i=@messagingengine.com header.s=fm1 header.b=OGQecjOu; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id i20si13220571otk.270.2020.01.16.10.44.52; Thu, 16 Jan 2020 10:45:04 -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; dkim=pass header.i=@anarazel.de header.s=fm3 header.b=FeT3Zq8G; dkim=pass header.i=@messagingengine.com header.s=fm1 header.b=OGQecjOu; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2437005AbgAPSm5 (ORCPT + 99 others); Thu, 16 Jan 2020 13:42:57 -0500 Received: from wout4-smtp.messagingengine.com ([64.147.123.20]:44557 "EHLO wout4-smtp.messagingengine.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2388922AbgAPSmx (ORCPT ); Thu, 16 Jan 2020 13:42:53 -0500 Received: from compute5.internal (compute5.nyi.internal [10.202.2.45]) by mailout.west.internal (Postfix) with ESMTP id 8D4E6513; Thu, 16 Jan 2020 13:42:52 -0500 (EST) Received: from mailfrontend2 ([10.202.2.163]) by compute5.internal (MEProxy); Thu, 16 Jan 2020 13:42:52 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=anarazel.de; h= date:from:to:cc:subject:message-id:references:mime-version :content-type:in-reply-to; s=fm3; bh=/7fhTR1f92cLpIrCbJ+2OWqkhpv 1kl/VUQPVVPmZgEc=; b=FeT3Zq8GQ8qzz7uwZ61cvMkHaF09X3eo/FpFVoHqOD3 fD2mUOt9ZN1aIwAIlALjLeieBa4NJV38bhYqf5lHt8/P6R0YWsGiFcsCGp8bjSUR S5i+v2OLYpL3wN994Aa6eLnpfnxUUyTbZUvbUxqjSpfIq2LN8SjA06t3Aeurr63g DFh3EId6sc4pd3ofGp0hCm2iQuuNFaFlTuOgifAF1YWmWiy9SJpZUZ4uCL+LTFOX eJi4VkmRq21YTtPj0kWerE278gG75nGVd7DUOonrl86y4ie2zd97oESJkTDNTbbx ZKDLTeMCZqgrvK4sgURIYvh0qyZLvgJjbQD3n62OZ1Q== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-me-proxy :x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm1; bh=/7fhTR 1f92cLpIrCbJ+2OWqkhpv1kl/VUQPVVPmZgEc=; b=OGQecjOuzXXqPotapCj+I4 hCuvcE20Lyo2NHyxVzMaaw5u6fApAawM44/CZ8My+gEWIpAs+A1W7yTbIl7stc4U ISwGutrvWf/fY6Wmt+BLTxJ1+sYJIxqNYL8oYFngXv80cCUmI4Kgyktp6E0jpCpR la10h+G6XmMbRRwLVVdI+K608MXDXZR1CuY72vVELP2tkdq2bnqgTQFu+9eyv4ml TWU4fhudiNebOAXbnIIuo3/9sIsJT7wmpFBg//qGKmdnYKIMlN5gZmtAGuVO2V8U L/HMsBy9jcqt7dhf/7FTqH8wbhGNS9Se5wRDTTxSRZlT7FmI2E9/H6+Ubg5IZw1w == X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedugedrtdehgdduudegucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhepfffhvffukfhfgggtuggjsehttdertddttddvnecuhfhrohhmpeetnhgurhgv shcuhfhrvghunhguuceorghnughrvghssegrnhgrrhgriigvlhdruggvqeenucfkphepie ejrdduiedtrddvudejrddvhedtnecurfgrrhgrmhepmhgrihhlfhhrohhmpegrnhgurhgv shesrghnrghrrgiivghlrdguvgenucevlhhushhtvghrufhiiigvpedt X-ME-Proxy: Received: from intern.anarazel.de (c-67-160-217-250.hsd1.ca.comcast.net [67.160.217.250]) by mail.messagingengine.com (Postfix) with ESMTPA id A8DE13060840; Thu, 16 Jan 2020 13:42:51 -0500 (EST) Date: Thu, 16 Jan 2020 10:42:50 -0800 From: Andres Freund To: Srinivas Pandruvada Cc: Tushar Dave , Zhang Rui , linux-pm@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] thermal: intel_pch_thermal: Add PCI ids for Lewisburg PCH. Message-ID: <20200116184250.qlvc3ilx2b42czqk@alap3.anarazel.de> References: <20200115184415.1726953-1-andres@anarazel.de> <2a5e9df32e2df27297149a577512f6b1557de241.camel@linux.intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <2a5e9df32e2df27297149a577512f6b1557de241.camel@linux.intel.com> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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 Regards, Andres