Received: by 2002:a05:7412:d8a:b0:e2:908c:2ebd with SMTP id b10csp389349rdg; Thu, 12 Oct 2023 08:29:41 -0700 (PDT) X-Google-Smtp-Source: AGHT+IFh9xH/Q3uHxzsq8jrjiO7Llc3mYuHwBdCmb0At5+MjTXgZcb4A7gludgDGsa95dTS1492f X-Received: by 2002:a2e:b614:0:b0:2bc:f739:2eda with SMTP id r20-20020a2eb614000000b002bcf7392edamr21238926ljn.5.1697124581523; Thu, 12 Oct 2023 08:29:41 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1697124581; cv=none; d=google.com; s=arc-20160816; b=NOPsT4DDnDV0/GSNBcynXJauxBCxDGZpcF+kgKK2dwNcPgMS2QG1J1FFOcGZeMorPh T9X60dTW6gz6LqdUWfAYkNvIaXMbxVMXg72YDHLola6sKveJYF1BksFgXPhTKx/nZmiP evP3GnCjqey3daXZkJdh4mM9kjAYiwexHP2Aq2zBjRSPk9x5RXTyqi0/HJHFP7Lyetn9 x52hIZVITI0JXPoszKhoWIOAl4ECUDRhbGq/XZOf4ux6Mcd8JNToL3Yz6N84lLxZhl+Z YigLwYt4vaiv7oLkgVoKmBEa6S39w3piJH6XPGizKXV87CtjPWBj6vQw0ju8igiCSnTz GOiw== 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=BQ1+RhaoyXyyELCn9uQBRvQoNPlNs+ucZspdlusCgJA=; fh=lwSoWzxFgElz870zfiYjK9IUzI6DgmKcUjvGVkpbGwE=; b=lJdmVTN+N5CqoeottTGtG8aOcKgPlNqWnDp54JjVkUEYqrIcsyqyVHoFNxF+QE6tQW lvm+QQijWJ/f6l7+sIVG6gdsO9ts2lYIhANY2k6TOZh0RogXeDZxTOVq5wMaUjFstyHF wjHI89hCm6jnRIN4i8nufspkuL1UhJkpzwJ1CdzzhA7tTAHIQgmv+6O44efPxWlSWXG6 BHu/dDlM3rWdQTJlBxIwrjhQa3ss2X9ec0V85Zuqyvtkw0qsgXudTFLummf9HXddGFqu U70VVhg4qt1B/ETU4PaR8HJJKvXBZYY29eRsNnyJ7UbfkXj+4vH514oluvWaYONfHD6q Le6A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=T8bBA0TN; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.36 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 pete.vger.email (pete.vger.email. [23.128.96.36]) by mx.google.com with ESMTPS id z6-20020a2e8e86000000b002c01f4a1bddsi13139004ljk.244.2023.10.12.08.29.41 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 12 Oct 2023 08:29:41 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.36 as permitted sender) client-ip=23.128.96.36; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=T8bBA0TN; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.36 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by pete.vger.email (Postfix) with ESMTP id C920981C0C2D; Thu, 12 Oct 2023 08:29:37 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at pete.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1379348AbjJLP3S (ORCPT + 99 others); Thu, 12 Oct 2023 11:29:18 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56894 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231680AbjJLP3R (ORCPT ); Thu, 12 Oct 2023 11:29:17 -0400 Received: from mail-wm1-x32b.google.com (mail-wm1-x32b.google.com [IPv6:2a00:1450:4864:20::32b]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id F0408BE for ; Thu, 12 Oct 2023 08:29:15 -0700 (PDT) Received: by mail-wm1-x32b.google.com with SMTP id 5b1f17b1804b1-40566f89f6eso13509565e9.3 for ; Thu, 12 Oct 2023 08:29:15 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1697124554; x=1697729354; darn=vger.kernel.org; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=BQ1+RhaoyXyyELCn9uQBRvQoNPlNs+ucZspdlusCgJA=; b=T8bBA0TNmLgq4ZmM8DBvKJgf010upYZfUNa/EdQ4ApjSx3usAYTJGHA8J8Yoix+vLr 3AJ9pzvHgSkOWTIhPTO0YH7Kb9x8wJPhSEHJ8I2ITl49L4kZmMbYw7GFWNnj2N31Xa8T m5G1GsjJeo9DcoeeUWaMLgr9p7h3AVXi176KBX3Ddr2uIafQEhD3nXP29HDCDhbs/gIU lsh0c/CqZb4klAt+GW66vSEK9GL6YoVyyGe1BSSvYLafgnYwre5Z/6xqNv5OrN1xCTgN WtjRbf9+9ogL1+p079FSgQWZbwfGJf7TOz+ssTrRwmhNrZkreAwmkc2DPhGdjr1Tfqdv rklw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1697124554; x=1697729354; 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:subject:date:message-id:reply-to; bh=BQ1+RhaoyXyyELCn9uQBRvQoNPlNs+ucZspdlusCgJA=; b=tGUQY10JBQ8vQ7DOAX4PxjSUZi1Fe7fjcq6sgd8mX+SBG85Eugm52qQPScb0STIf0S VioEU2FbPEDw0IeY5oaSWwJnslB2d/upXF/sDSpq/0DS0V/3jAu/KqQ1fqiuOu7Dh1qM u58OOY8VGGEHCXPMjSUMD4bax46qNfDNPAZwsQ7AiCLUpuNvCAg30pjRgPrlGFQDqul1 nP0h2+63Jkr1l2pAI1sz/a5cykOEqxN91J9xh6deJhxDi5Iqg5JKk2c12cTTiE7vtm0p +BPreYZ1uP82qsiuIpZXh6zIaovBpIKkqN9p/e9or0Dh1V/4C572FuI/8Tp+aScheiGA rjCQ== X-Gm-Message-State: AOJu0Ywk4E92IIY4s05WNdC2KW2EJRHQqt0xahEL1L92rIW/IcSAIXgL TvB3wvSE2huqlEkeb/6yRl6h8w== X-Received: by 2002:a5d:65c4:0:b0:321:4c58:7722 with SMTP id e4-20020a5d65c4000000b003214c587722mr20763432wrw.69.1697124554395; Thu, 12 Oct 2023 08:29:14 -0700 (PDT) Received: from ?IPV6:2a05:6e02:1041:c10:c49e:e1a5:3210:b8c0? ([2a05:6e02:1041:c10:c49e:e1a5:3210:b8c0]) by smtp.googlemail.com with ESMTPSA id q15-20020a5d574f000000b00323384e04e8sm18610609wrw.111.2023.10.12.08.29.13 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 12 Oct 2023 08:29:13 -0700 (PDT) Message-ID: Date: Thu, 12 Oct 2023 17:29:12 +0200 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH v1 6/6] thermal: core: Pass trip pointer to governor throttle callback Content-Language: en-US To: "Rafael J. Wysocki" , Linux PM Cc: LKML , Srinivas Pandruvada , Zhang Rui , Lukasz Luba References: <13365827.uLZWGnKmhe@kreacher> <5877301.MhkbZ0Pkbq@kreacher> From: Daniel Lezcano In-Reply-To: <5877301.MhkbZ0Pkbq@kreacher> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-0.8 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on pete.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (pete.vger.email [0.0.0.0]); Thu, 12 Oct 2023 08:29:38 -0700 (PDT) On 06/10/2023 19:51, Rafael J. Wysocki wrote: > From: Rafael J. Wysocki > > Modify the governor .throttle() callback definition so that it takes a > trip pointer instead of a trip index as its second argument, adjust the > governors accordingly and update the core code invoking .throttle(). > > This causes the governors to become independent of the representation > of the list of trips in the thermal zone structure. > > This change is not expected to alter the general functionality. > > Signed-off-by: Rafael J. Wysocki > --- Reviewed-by: Daniel Lezcano -- Linaro.org │ Open source software for ARM SoCs Follow Linaro: Facebook | Twitter | Blog