Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp8174999rwd; Tue, 20 Jun 2023 11:10:32 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ72hFzKU9ymGRjJ0Z3WL1GITNCPolwf4SqsUIeiG9y0XOkny/R7SxcRnoNByjPAi/CxHeLm X-Received: by 2002:a9d:6c4e:0:b0:6b5:917e:de8 with SMTP id g14-20020a9d6c4e000000b006b5917e0de8mr3174666otq.30.1687284632018; Tue, 20 Jun 2023 11:10:32 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1687284631; cv=none; d=google.com; s=arc-20160816; b=DHS+yMqeZ+8yTa5XRMZ3U+3gVRNuvjkKr9e1u3oEkCCDakhtuqhku28tLEPeP3lBIg 3Mn5UD1EFNbdFlf9iGE6QlW3+Hy416PJO6cO8znYwjyRYWAEYQ3WNhiSp/o+vDu1SQPb qN+rkAHjSZH9PQw0CDowmPilbg+BpDuG2GRrRBuc8Ia+KNVdk8LkC0YPyXOi7G+Ym3Vr Wlqo/NjlnzmV7a82WadPewDGtwf0pjSInUohbT+7KmehR/a79hKvYJlK5WnM3oHwm2PA d2NwqwxWzszPuWBX09CZjXEvmjeo4HmQ7FcNYnHQvgIZkf/EsN6xknde6pckQ3dN97lB eqoQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:cc:to:subject :message-id:date:from:in-reply-to:references:mime-version; bh=4wTEhmPY44Wy3DN1UMjGf2t8wVIOo/5hqmEF+4ezq3U=; b=GC8swvMnivDJCjXUT2FWUobYuhkIfpNahohoQr7qDGCc1MCBi3Bls8jaxJo38SZ4en 8sTzEb/epcDGD4dmv3c2CxtYgssxqFVATk3fbr/VLpof7W9lIjvocD2ke1EPbnaBOzIG NVWxSS31UzIoKjVUpiR62DCWlcv2rCgpJCEL5WgxPT2cXWrBSxMRT9Ux8tMjXAOz7Bbr jkDxYcyeQTD/xjIZag7huUohL1rOHL3bp/vC9CVQ3j1vicIDgaTehxjZD39Ura/zzysC JQIQhRb83JfKZBFK+XEqaDP3o07BqOM33ZikLumAdfVYyN2zUx1QsSPn9Bt2DRgnPp6A urbw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id q24-20020a637518000000b00542924cbf75si2130548pgc.235.2023.06.20.11.10.17; Tue, 20 Jun 2023 11:10:31 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231197AbjFTRaN convert rfc822-to-8bit (ORCPT + 99 others); Tue, 20 Jun 2023 13:30:13 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34214 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229990AbjFTRaM (ORCPT ); Tue, 20 Jun 2023 13:30:12 -0400 Received: from mail-wr1-f41.google.com (mail-wr1-f41.google.com [209.85.221.41]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 5F3741703; Tue, 20 Jun 2023 10:30:10 -0700 (PDT) Received: by mail-wr1-f41.google.com with SMTP id ffacd0b85a97d-31114d47414so1075636f8f.1; Tue, 20 Jun 2023 10:30:10 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1687282209; x=1689874209; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=MAJD1CAE2NOLg5Z0/zR5WnQufrmFPLnVVORvNgNy9Sk=; b=C2eIMxgEqdr07OQLfA8Sr+GZ6cxGAEI+NPcVxYrwRplf3n4c5xdn5H5Z/BUw2Wg3zc hTN4mg0qdiuMgVyWI8zls2+pKTKU4s2evyMuCbEl+S73HpWKn4pdrKSVnVshwBq+pt6f LansT0gSYMRRfYtiEC0sCoCFEvKr//B/N00IRVYn5VFylxDc4mSrushh82/hbmHBs417 iPKg31Z35955+wvUh6S/gl6Fgcv3wY3vZjdKrB2eDfsYqkkZWvREiEP2K4YdLyn9/8It MdzkdgmTDbswtn8lmI9us4Bhv/cryQUrrIf/LV8wEDC4Y1Alcu8NbRvsKYtxRyD0oryY c4mA== X-Gm-Message-State: AC+VfDySmJmgyVIqHppu4mG/BNhvjib9PHjb6Kfc1Jv9edY1q7i6Bnnv eXJ88BVNGyIkWgkNnLrEL0u7hH7z9bJcuzIwivA= X-Received: by 2002:a5d:4b08:0:b0:307:5561:5eec with SMTP id v8-20020a5d4b08000000b0030755615eecmr11066378wrq.0.1687282208681; Tue, 20 Jun 2023 10:30:08 -0700 (PDT) MIME-Version: 1.0 References: <20230519032719.2581689-1-evalenti@kernel.org> <20230519032719.2581689-7-evalenti@kernel.org> In-Reply-To: <20230519032719.2581689-7-evalenti@kernel.org> From: "Rafael J. Wysocki" Date: Tue, 20 Jun 2023 19:29:57 +0200 Message-ID: Subject: Re: [PATCH 6/7] ythermal: core: report errors to governors To: Eduardo Valentin Cc: eduval@amazon.com, linux-pm@vger.kernel.org, "Rafael J. Wysocki" , Daniel Lezcano , Amit Kucheria , Zhang Rui , Jonathan Corbet , linux-doc@vger.kernel.org, linux-kernel@vger.kernel.org Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 8BIT X-Spam-Status: No, score=-1.4 required=5.0 tests=BAYES_00, FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM,HEADER_FROM_DIFFERENT_DOMAINS, RCVD_IN_DNSWL_NONE,RCVD_IN_MSPIKE_H2,SPF_HELO_NONE,SPF_PASS, T_SCC_BODY_TEXT_LINE autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, May 19, 2023 at 5:27 AM Eduardo Valentin wrote: > > From: Eduardo Valentin > > Currently the thermal governors are not allowed to > react on temperature error events as the thermal core > skips the handling and logs an error on kernel buffer. > This patch adds the opportunity to report the errors > when they happen to governors. > > Now, if a governor wants to react on temperature read > errors, they can implement the .check_error() callback. Explaining the use case for this would help a lot.