Received: by 2002:a05:6358:e9c4:b0:b2:91dc:71ab with SMTP id hc4csp1912271rwb; Fri, 5 Aug 2022 09:46:16 -0700 (PDT) X-Google-Smtp-Source: AA6agR4naVrWnP3jDBqIWnCvpxqdnW5kMSVEqCMRgaLpufxPNEuLzNj5uChyWCA4tIdvF+kDvP7R X-Received: by 2002:a17:902:f688:b0:16f:4b4:fc18 with SMTP id l8-20020a170902f68800b0016f04b4fc18mr7369333plg.49.1659717976415; Fri, 05 Aug 2022 09:46:16 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1659717976; cv=none; d=google.com; s=arc-20160816; b=dsVFuceLi2vkQzmXCep48v5JyPJEJRVPEXGwrUZPWTGjpPeTBfJFw2p87XmQGlDpk6 qJ4CiK0s68+9uAy7ZbsDzJ4XuPGIHtzH3kuleKQgBGQTNSbTRp4Shs1K3EtEqNWJRQ+D dPi4kLDyQWcztkefKaqSaxIqt8SdbRJesZTyuBO8yCE9WXtha0jdIN1nGqEtfNQEE3Qq kwsAvs1nHgw/s76BURs4b+jofVN8xrhyICix1wlu12N6T336stdIgS7sUIt3bAdvYekK EuZHHrvK9F13kjZ6KeilYo8zz1/rGOCjci4LUi3idhiNfrC/ED7t0ckcUJCL4dBB7uiL uOGw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :references:cc:to:content-language:subject:user-agent:mime-version :date:message-id:dkim-signature; bh=Jfp/EtpEG6qo6OMuAe522j8e+zV5R8oPt8iblzqNd7c=; b=UIHTJc8GfA4+GwDawvJGiyjUEReu7j0uKksZjexJwjuIJCqNNQFOUQ/16b+DqKecWB 9reRaBmGFsGU8BODOSaO2CLrjLpf4ucVt0AkhHt1OiKw6P5fds/ZxhcRHkQIDKr2utMq aBqnUFlMqkxECT56jASDvvpyhbwTymP0uVuOFpaT9knU8Ov4nwcmfE0zdkzlc3IlRquO UlYQDtPjIhLiMqN7rfmttyjI8OcYpN1SYpUxZXHkdiBPbHIqaPnswqUA263xcAGRXUBq 3aSY/35pZC3JDkWlceCV1l1bxDsckDs9pq0XV/TcEPiMvSYkFY8z3zkv1W/jBFe/yTG0 9vEQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b="y2imUW//"; 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=linaro.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id c8-20020a631c08000000b0041cccdead49si3244865pgc.278.2022.08.05.09.46.00; Fri, 05 Aug 2022 09:46:16 -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; dkim=pass header.i=@linaro.org header.s=google header.b="y2imUW//"; 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=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S240845AbiHEQh0 (ORCPT + 99 others); Fri, 5 Aug 2022 12:37:26 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:38428 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236448AbiHEQhZ (ORCPT ); Fri, 5 Aug 2022 12:37:25 -0400 Received: from mail-wr1-x432.google.com (mail-wr1-x432.google.com [IPv6:2a00:1450:4864:20::432]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id DA42917AA6 for ; Fri, 5 Aug 2022 09:37:23 -0700 (PDT) Received: by mail-wr1-x432.google.com with SMTP id p10so3813814wru.8 for ; Fri, 05 Aug 2022 09:37:23 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :from:to:cc; bh=Jfp/EtpEG6qo6OMuAe522j8e+zV5R8oPt8iblzqNd7c=; b=y2imUW//ZeRpPSmlTXLHDXgNAORsIqksqVSBuH+RhwuIlSjr1Kla2tBW4afOpEEoZk PIOA5q/PfeQWfgZXvwEh27bVxYwZTFghX9DLkBUe+IL/ipypUrAAzfjhIodqlyKTrNQz BKDOFUxEHPDYtdNYcVBXWDSc4A88Mutrb79Kmo6GkE6UzQEjctQMcogwUeyNYEnbro7c cyfSlj+G4z9+nMcVjenpoIjqFMIJyxa0jbaPrjoyujN7fewi7pFnwG+neoMDppor3TTw JebM1SKhf9kcWZRI9WfrVG5UWyUejEqwN26wDBBghgRuBwi40R8U8YVqSyvWj7FTVfBL bR0w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc; bh=Jfp/EtpEG6qo6OMuAe522j8e+zV5R8oPt8iblzqNd7c=; b=hhhlAzs3cQDg8N0G8XYmYbwyNWE6lT5350UyEleeqRPu/ZpalepuqhVUysOhH512Wx rd/4lJy82h0StyKzbSW4J9/sIVhj4tMYaqz6iz490qlhGR5WwgLr+voy/UbVRFJHYPJo /0rqHrg0lXX1e806xRaQUWPYv8FZ+sV2TR4smLrJadms3EXmR48VxRhPc4wsXCswIVS8 EL8EkXUAA7kSa5lpTAY8D1WKsnyNeqDJ1qcA3P6EsVXmUEucz4rx/ghF0YhUhIIiUAnI J7ONXfCc39yB22uo+JSAVq8RDZ5M05v8dJ12wWRamrijfSaKxUTF9dmy7rUOL3d3Vcaa d6bg== X-Gm-Message-State: ACgBeo1wCYF+5CamIQZx+wSz21I36TDxJ5toHMBZtWpmqDYeu8eNYleO 0VL9aHIEA8AAXlgTxLhENLcG2Q== X-Received: by 2002:a5d:5848:0:b0:221:6d80:ced8 with SMTP id i8-20020a5d5848000000b002216d80ced8mr2405988wrf.705.1659717442338; Fri, 05 Aug 2022 09:37:22 -0700 (PDT) Received: from ?IPV6:2a05:6e02:1041:c10:aef0:8606:da6b:79ef? ([2a05:6e02:1041:c10:aef0:8606:da6b:79ef]) by smtp.googlemail.com with ESMTPSA id j42-20020a05600c1c2a00b003a30c3d0c9csm10528223wms.8.2022.08.05.09.37.21 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Fri, 05 Aug 2022 09:37:22 -0700 (PDT) Message-ID: Date: Fri, 5 Aug 2022 18:37:21 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.11.0 Subject: Re: [PATCH 1/5] thermal/core: Rearm the monitoring only one time Content-Language: en-US To: "Rafael J. Wysocki" Cc: "Zhang, Rui" , Linux PM , Linux Kernel Mailing List , Amit Kucheria References: <20220805153834.2510142-1-daniel.lezcano@linaro.org> From: Daniel Lezcano In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham 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 Hi Rafael, On 05/08/2022 18:29, Rafael J. Wysocki wrote: > On Fri, Aug 5, 2022 at 5:38 PM Daniel Lezcano wrote: >> >> The current code calls monitor_thermal_zone() inside the >> handle_thermal_trip() function. But this one is called in a loop for >> each trip point which means the monitoring is rearmed several times >> for nothing (assuming there could be several passive and active trip >> points). >> >> Move the monitor_thermal_zone() function out of the >> handle_thermal_trip() function and after the thermal trip loop, so the >> timer will be disabled or rearmed one time. >> >> Signed-off-by: Daniel Lezcano > > Does this series depend on any other? > > You've been sending quite a lot of material lately and it is not > always easy to tell what the dependencies between the different patch > series are. Yes I understand. This series does not depend on any other. It is not related to any pending changes. It may have trivial conflicts with the other 26 patches series but it would be the case for any submissions posted by someone else anyway. -- Linaro.org │ Open source software for ARM SoCs Follow Linaro: Facebook | Twitter | Blog