From mboxrd@z Thu Jan 1 00:00:00 1970 From: Guenter Roeck Date: Tue, 23 Nov 2021 07:51:04 -0800 Subject: [PATCH v4 10/13] hwmon: peci: Add cputemp driver In-Reply-To: <20211123140706.2945700-11-iwona.winiarska@intel.com> References: <20211123140706.2945700-1-iwona.winiarska@intel.com> <20211123140706.2945700-11-iwona.winiarska@intel.com> Message-ID: <20211123155104.GB2184678@roeck-us.net> List-Id: To: linux-aspeed@lists.ozlabs.org MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit On Tue, Nov 23, 2021 at 03:07:03PM +0100, Iwona Winiarska wrote: > Add peci-cputemp driver for Digital Thermal Sensor (DTS) thermal > readings of the processor package and processor cores that are > accessible via the PECI interface. > > The main use case for the driver (and PECI interface) is out-of-band > management, where we're able to obtain the DTS readings from an external > entity connected with PECI, e.g. BMC on server platforms. > > Co-developed-by: Jae Hyun Yoo > Signed-off-by: Jae Hyun Yoo > Signed-off-by: Iwona Winiarska > Reviewed-by: Pierre-Louis Bossart Acked-by: Guenter Roeck From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id DF847C4332F for ; Tue, 23 Nov 2021 15:51:07 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S237417AbhKWPyO (ORCPT ); Tue, 23 Nov 2021 10:54:14 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:53774 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S237258AbhKWPyO (ORCPT ); Tue, 23 Nov 2021 10:54:14 -0500 Received: from mail-ot1-x332.google.com (mail-ot1-x332.google.com [IPv6:2607:f8b0:4864:20::332]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 485EAC061574; Tue, 23 Nov 2021 07:51:06 -0800 (PST) Received: by mail-ot1-x332.google.com with SMTP id b5-20020a9d60c5000000b0055c6349ff22so34341348otk.13; Tue, 23 Nov 2021 07:51:06 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=sender:date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to; bh=tJQKOiGB2vMuUqi1aD/KDeUab9z92lW/Lc4DaqZriqA=; b=f4kmgK0vVOxM7SUOOui9MCrPkzPqPGRFZjasT0mKmxH+SZ2MigxSi9obkrdIxo7jLy /7mWXJLAmnpXtrA3LJ9eyH8LSugnBNo3+nClOf7UiabcSD+YDAELoJVjX9yz3oQRnNnr FIjAUFb68dCPXF18UEP/k1DsHEte9I6kvSmnV+NWOW5VMUKtq+umbTtsLXr6mZ8bm7+Z 3IOA7DurRDMTl6QBVE8LOkG9QD3ez0kWGIKJ4xlq3OmNpQOvDaKPU+jdXmhfSP86mssb 1XmbZi52GRozESpCh9wtR9znEdP1RC9wBIPEbwFO4HtS3FU5LHrPQCWrqHzpHz293s9h Vpwg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:sender:date:from:to:cc:subject:message-id :references:mime-version:content-disposition:in-reply-to; bh=tJQKOiGB2vMuUqi1aD/KDeUab9z92lW/Lc4DaqZriqA=; b=JHl5aUc9t+/vK9AEbzombMk4dWJ0PbFdhQzoSWcoOwBIX2boUI6QL9ffdf9T1u8n1h bXp+PqnDLqIieckEyC3WD2bAvQGp2vq9MlFgmjqAzMWnaB/BXIPKU9EDm+JpOLRSw0Tp gFhbR5A/Cif99XFvMT/zN86zt1WNM54+pToQE1sMwa2omlU7bgbmELZox37YMqXeE2x4 RI0ooVEAi5a5hbrMuvOvntt6VI+a2M+oYYRinbgV7XpEeltChmWLlYNDzvQM2Zc411UX CxInoiBWNsslnbEbQaQH2z/FOJj2CffM6SekFPC9DoS+Grm0sQH4BUQtUaI0IoSypmhb uxUw== X-Gm-Message-State: AOAM530XRXrZCjt3R2tT7txZZkPT2XdNw1Q5obHmbX/S38PCMsktkQ4W 5LquiWZ+RZ5/XvnCFfyihr8= X-Google-Smtp-Source: ABdhPJyhyAw55KSiewZGLoxSdgQk1C3eR3BBScfSyS28Z3a9YLYF+FAAzifxgRGw/7mzEoByrErOFA== X-Received: by 2002:a05:6830:22d8:: with SMTP id q24mr5291559otc.170.1637682665727; Tue, 23 Nov 2021 07:51:05 -0800 (PST) Received: from server.roeck-us.net ([2600:1700:e321:62f0:329c:23ff:fee3:9d7c]) by smtp.gmail.com with ESMTPSA id s2sm2226111otr.69.2021.11.23.07.51.05 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 23 Nov 2021 07:51:05 -0800 (PST) Sender: Guenter Roeck Date: Tue, 23 Nov 2021 07:51:04 -0800 From: Guenter Roeck To: Iwona Winiarska Cc: linux-kernel@vger.kernel.org, openbmc@lists.ozlabs.org, Greg Kroah-Hartman , devicetree@vger.kernel.org, linux-aspeed@lists.ozlabs.org, linux-arm-kernel@lists.infradead.org, linux-hwmon@vger.kernel.org, linux-doc@vger.kernel.org, Rob Herring , Joel Stanley , Andrew Jeffery , Jean Delvare , Arnd Bergmann , Olof Johansson , Jonathan Corbet , Borislav Petkov , Pierre-Louis Bossart , Tony Luck , Andy Shevchenko , Dan Williams , Randy Dunlap , Zev Weiss , David Muller , Dave Hansen , Jae Hyun Yoo Subject: Re: [PATCH v4 10/13] hwmon: peci: Add cputemp driver Message-ID: <20211123155104.GB2184678@roeck-us.net> References: <20211123140706.2945700-1-iwona.winiarska@intel.com> <20211123140706.2945700-11-iwona.winiarska@intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20211123140706.2945700-11-iwona.winiarska@intel.com> Precedence: bulk List-ID: X-Mailing-List: linux-doc@vger.kernel.org On Tue, Nov 23, 2021 at 03:07:03PM +0100, Iwona Winiarska wrote: > Add peci-cputemp driver for Digital Thermal Sensor (DTS) thermal > readings of the processor package and processor cores that are > accessible via the PECI interface. > > The main use case for the driver (and PECI interface) is out-of-band > management, where we're able to obtain the DTS readings from an external > entity connected with PECI, e.g. BMC on server platforms. > > Co-developed-by: Jae Hyun Yoo > Signed-off-by: Jae Hyun Yoo > Signed-off-by: Iwona Winiarska > Reviewed-by: Pierre-Louis Bossart Acked-by: Guenter Roeck From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from lists.ozlabs.org (lists.ozlabs.org [112.213.38.117]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 1435AC433FE for ; Tue, 23 Nov 2021 15:51:56 +0000 (UTC) Received: from boromir.ozlabs.org (localhost [IPv6:::1]) by lists.ozlabs.org (Postfix) with ESMTP id 4Hz7tL5MZgz2yfm for ; Wed, 24 Nov 2021 02:51:54 +1100 (AEDT) Authentication-Results: lists.ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20210112 header.b=f4kmgK0v; dkim-atps=neutral Authentication-Results: lists.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=gmail.com (client-ip=2607:f8b0:4864:20::336; helo=mail-ot1-x336.google.com; envelope-from=groeck7@gmail.com; receiver=) Authentication-Results: lists.ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20210112 header.b=f4kmgK0v; dkim-atps=neutral Received: from mail-ot1-x336.google.com (mail-ot1-x336.google.com [IPv6:2607:f8b0:4864:20::336]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by lists.ozlabs.org (Postfix) with ESMTPS id 4Hz7sW13WHz2xr3; Wed, 24 Nov 2021 02:51:10 +1100 (AEDT) Received: by mail-ot1-x336.google.com with SMTP id 35-20020a9d08a6000000b00579cd5e605eso3732963otf.0; Tue, 23 Nov 2021 07:51:10 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=sender:date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to; bh=tJQKOiGB2vMuUqi1aD/KDeUab9z92lW/Lc4DaqZriqA=; b=f4kmgK0vVOxM7SUOOui9MCrPkzPqPGRFZjasT0mKmxH+SZ2MigxSi9obkrdIxo7jLy /7mWXJLAmnpXtrA3LJ9eyH8LSugnBNo3+nClOf7UiabcSD+YDAELoJVjX9yz3oQRnNnr FIjAUFb68dCPXF18UEP/k1DsHEte9I6kvSmnV+NWOW5VMUKtq+umbTtsLXr6mZ8bm7+Z 3IOA7DurRDMTl6QBVE8LOkG9QD3ez0kWGIKJ4xlq3OmNpQOvDaKPU+jdXmhfSP86mssb 1XmbZi52GRozESpCh9wtR9znEdP1RC9wBIPEbwFO4HtS3FU5LHrPQCWrqHzpHz293s9h Vpwg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:sender:date:from:to:cc:subject:message-id :references:mime-version:content-disposition:in-reply-to; bh=tJQKOiGB2vMuUqi1aD/KDeUab9z92lW/Lc4DaqZriqA=; b=c5gVXjxODC/er5CyHU5QEDuUumbD0mdFMxb7Zux4IicqT++fPSQivtFC/CNti9dMRF 6FUdQzVCUPN1PCOO6iOJyuOhK/3Nux/vTgIrJzBRY3vGsd+36bS03LNzkCa0xjYfKruS hhY7NTsIKNoniAoYaxLPrrVNOAeS2VfyR5+Sfmw8k4Ni7Qz61M1jdHs3xSVhJQw5jC/Q lu/8N0G6RcXbhRHktuR+xQkrbOPwK8d4pJoBfxCPCieVN0HXLGfKJe0ENtcJ8bGOGNhd Lcx5K9/4TU2UzFw/iNGGkNmdUNnICHNgddM4Pu2uLmgECEBijmdRRb14VjlgP9tUnC1c voBQ== X-Gm-Message-State: AOAM531KEL5ArmkvHVLLvlXl8DqzKUHustCqAtXCeRf2bpp1EXIyHQ2q eGvjNGK+0u6gzUIIElDbhzo= X-Google-Smtp-Source: ABdhPJyhyAw55KSiewZGLoxSdgQk1C3eR3BBScfSyS28Z3a9YLYF+FAAzifxgRGw/7mzEoByrErOFA== X-Received: by 2002:a05:6830:22d8:: with SMTP id q24mr5291559otc.170.1637682665727; Tue, 23 Nov 2021 07:51:05 -0800 (PST) Received: from server.roeck-us.net ([2600:1700:e321:62f0:329c:23ff:fee3:9d7c]) by smtp.gmail.com with ESMTPSA id s2sm2226111otr.69.2021.11.23.07.51.05 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 23 Nov 2021 07:51:05 -0800 (PST) Date: Tue, 23 Nov 2021 07:51:04 -0800 From: Guenter Roeck To: Iwona Winiarska Subject: Re: [PATCH v4 10/13] hwmon: peci: Add cputemp driver Message-ID: <20211123155104.GB2184678@roeck-us.net> References: <20211123140706.2945700-1-iwona.winiarska@intel.com> <20211123140706.2945700-11-iwona.winiarska@intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20211123140706.2945700-11-iwona.winiarska@intel.com> X-BeenThere: openbmc@lists.ozlabs.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Development list for OpenBMC List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: linux-aspeed@lists.ozlabs.org, linux-doc@vger.kernel.org, Dave Hansen , Zev Weiss , Jae Hyun Yoo , Jonathan Corbet , openbmc@lists.ozlabs.org, Pierre-Louis Bossart , devicetree@vger.kernel.org, Jean Delvare , Arnd Bergmann , Rob Herring , Borislav Petkov , Dan Williams , Andy Shevchenko , linux-arm-kernel@lists.infradead.org, linux-hwmon@vger.kernel.org, Tony Luck , Andrew Jeffery , Greg Kroah-Hartman , Randy Dunlap , linux-kernel@vger.kernel.org, Olof Johansson Errors-To: openbmc-bounces+openbmc=archiver.kernel.org@lists.ozlabs.org Sender: "openbmc" On Tue, Nov 23, 2021 at 03:07:03PM +0100, Iwona Winiarska wrote: > Add peci-cputemp driver for Digital Thermal Sensor (DTS) thermal > readings of the processor package and processor cores that are > accessible via the PECI interface. > > The main use case for the driver (and PECI interface) is out-of-band > management, where we're able to obtain the DTS readings from an external > entity connected with PECI, e.g. BMC on server platforms. > > Co-developed-by: Jae Hyun Yoo > Signed-off-by: Jae Hyun Yoo > Signed-off-by: Iwona Winiarska > Reviewed-by: Pierre-Louis Bossart Acked-by: Guenter Roeck From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 0D22CC433EF for ; Tue, 23 Nov 2021 15:52:48 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:In-Reply-To:MIME-Version:References: Message-ID:Subject:Cc:To:From:Date:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=mrA4FMJrvanUOwMBt8g8GTlJ/+LFPmHNFKq5l6G+CDA=; b=E4+eSBBhtEbeNA dAYxULD/X/iBadiNXhErrSzimHYe1no96s49B8kHOYhBp3k2G0YZisIbTPbsMwMmpYA4ZAww8y1cl f2Kz2zpU3eDYDnXetBbPdYvmOWt4oG/YHGMZx0TKHCt4PvWVU6F8Lia+UxSiqskJ2WWEKGSKa3egj bC2IzNw9ckqDd9dXvJHPXO8cbl40US2j5IXp5oKRvnQHHuZYk2KoAHeF3sXtFn//vQ1NyRY3H6lgs +BOcckyzRZS9b6j5R3ENDXuLEw0Rk64t2/NT0Ya/jknPjm21swkQO0BjGELhRDTIS94ZcI/aly0v0 61zX54VRUjCIBz+g4dtg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1mpY4c-002mOr-JQ; Tue, 23 Nov 2021 15:51:10 +0000 Received: from mail-ot1-x329.google.com ([2607:f8b0:4864:20::329]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1mpY4Y-002mNl-A6 for linux-arm-kernel@lists.infradead.org; Tue, 23 Nov 2021 15:51:07 +0000 Received: by mail-ot1-x329.google.com with SMTP id v15-20020a9d604f000000b0056cdb373b82so34341570otj.7 for ; Tue, 23 Nov 2021 07:51:06 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=sender:date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to; bh=tJQKOiGB2vMuUqi1aD/KDeUab9z92lW/Lc4DaqZriqA=; b=f4kmgK0vVOxM7SUOOui9MCrPkzPqPGRFZjasT0mKmxH+SZ2MigxSi9obkrdIxo7jLy /7mWXJLAmnpXtrA3LJ9eyH8LSugnBNo3+nClOf7UiabcSD+YDAELoJVjX9yz3oQRnNnr FIjAUFb68dCPXF18UEP/k1DsHEte9I6kvSmnV+NWOW5VMUKtq+umbTtsLXr6mZ8bm7+Z 3IOA7DurRDMTl6QBVE8LOkG9QD3ez0kWGIKJ4xlq3OmNpQOvDaKPU+jdXmhfSP86mssb 1XmbZi52GRozESpCh9wtR9znEdP1RC9wBIPEbwFO4HtS3FU5LHrPQCWrqHzpHz293s9h Vpwg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:sender:date:from:to:cc:subject:message-id :references:mime-version:content-disposition:in-reply-to; bh=tJQKOiGB2vMuUqi1aD/KDeUab9z92lW/Lc4DaqZriqA=; b=VqrprtNlxqNMCYCGodnSq2Fmm4ySrneJ32F3WLYTDw546Y52csyextIha5gx/gwAK3 wf5wymA9GHBgPyN1CstPo7NvrxHacBKSt/iBavuPdQaYdvNVmz61Ekq5KMhCX40/zBHp YwobqzPoA9uu7S2HTcHGNMXeliIbAFz1VixZn+s0a5N3n1+6nyl+Zmt6ZcnsXKPw+uiT cBACpeEWEqeODhrDA+7TRskGEL/+TyznnyVPl8jgjIAfcqOD9djgW4RxYMhfKtUeX8tW Txhw/LpZ8W1QUxjTRP3V1MQpZFxmi1IhIT5CwPfcwxC3Yh1pvB+G+BIj9TsLR9j58glD 5UDA== X-Gm-Message-State: AOAM530jTOSil3dywgxNvHzTwyZn3mq1vaYFW9g2+v93qrkiyNCFn5+w bF39Tu/yQ4lIWu0Op4+DpspFNXN87pc= X-Google-Smtp-Source: ABdhPJyhyAw55KSiewZGLoxSdgQk1C3eR3BBScfSyS28Z3a9YLYF+FAAzifxgRGw/7mzEoByrErOFA== X-Received: by 2002:a05:6830:22d8:: with SMTP id q24mr5291559otc.170.1637682665727; Tue, 23 Nov 2021 07:51:05 -0800 (PST) Received: from server.roeck-us.net ([2600:1700:e321:62f0:329c:23ff:fee3:9d7c]) by smtp.gmail.com with ESMTPSA id s2sm2226111otr.69.2021.11.23.07.51.05 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 23 Nov 2021 07:51:05 -0800 (PST) Date: Tue, 23 Nov 2021 07:51:04 -0800 From: Guenter Roeck To: Iwona Winiarska Cc: linux-kernel@vger.kernel.org, openbmc@lists.ozlabs.org, Greg Kroah-Hartman , devicetree@vger.kernel.org, linux-aspeed@lists.ozlabs.org, linux-arm-kernel@lists.infradead.org, linux-hwmon@vger.kernel.org, linux-doc@vger.kernel.org, Rob Herring , Joel Stanley , Andrew Jeffery , Jean Delvare , Arnd Bergmann , Olof Johansson , Jonathan Corbet , Borislav Petkov , Pierre-Louis Bossart , Tony Luck , Andy Shevchenko , Dan Williams , Randy Dunlap , Zev Weiss , David Muller , Dave Hansen , Jae Hyun Yoo Subject: Re: [PATCH v4 10/13] hwmon: peci: Add cputemp driver Message-ID: <20211123155104.GB2184678@roeck-us.net> References: <20211123140706.2945700-1-iwona.winiarska@intel.com> <20211123140706.2945700-11-iwona.winiarska@intel.com> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20211123140706.2945700-11-iwona.winiarska@intel.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20211123_075106_375202_E67850AA X-CRM114-Status: GOOD ( 12.61 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org On Tue, Nov 23, 2021 at 03:07:03PM +0100, Iwona Winiarska wrote: > Add peci-cputemp driver for Digital Thermal Sensor (DTS) thermal > readings of the processor package and processor cores that are > accessible via the PECI interface. > > The main use case for the driver (and PECI interface) is out-of-band > management, where we're able to obtain the DTS readings from an external > entity connected with PECI, e.g. BMC on server platforms. > > Co-developed-by: Jae Hyun Yoo > Signed-off-by: Jae Hyun Yoo > Signed-off-by: Iwona Winiarska > Reviewed-by: Pierre-Louis Bossart Acked-by: Guenter Roeck _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel