Received: by 2002:ab2:6203:0:b0:1f5:f2ab:c469 with SMTP id o3csp3097268lqt; Tue, 23 Apr 2024 10:10:02 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCV0iA8ewtXpW6r5r3PNREZbxoe/DGPJwulRNYTskiyc3Ta3HNOQ/PC2YAXLEAqJa+dvIf38y+ael1FniudirW4/QbeR32vj/C0SvxA9QA== X-Google-Smtp-Source: AGHT+IH99GnzYCZKImLuxhRd5yNnWftiz7K5x68IsqxoNhs1Xf7lTIe7xjf3JUpeLBNKR5JuBryY X-Received: by 2002:a17:907:72c3:b0:a58:82a4:3a2c with SMTP id du3-20020a17090772c300b00a5882a43a2cmr1588128ejc.13.1713892202453; Tue, 23 Apr 2024 10:10:02 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1713892202; cv=pass; d=google.com; s=arc-20160816; b=hTn093/9l7UH1SjSmuOqeeG9PQ3+MPXBhbv/Tr6OPT4VFiVUBbCR91rzA4K2u3ifzy H2kjpqcbNuckS7ksqqj47sF086zyIZaRPUaXu87j4BetjdzBSKFhSBFUdZlpiRtEV/be t6IpM0Q4jXGs5KrsLok8Oq+8M2Qes5apS6eIynUR2jdfTEhDIuHhDzOmT3BxcXWpX5Ro hJLmkaZGnXWNyaScXy/YepQIyIb5j/spOXq32wqmaOx5PrV3A0Qq/EA5OyXkJJ1opFYu 7X31ON2idgKyD2jMDp4wSlk8JAWKXLJGv55ytKgLuS7mVEFF9+XEOB33/4iiR4plXqlB Gptg== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:date:message-id:dkim-signature; bh=Et7uc9uB7/VGTIfESDPlqhtnlO3orPAse6rpYiRLH20=; fh=7ScwuEoqpr+ZNK4Z60w3i5AVwGdoOahnHf1ln+4gLMs=; b=HsrVxozvaj2UEQWf+HY5U4piRiyfY+aApSOF40YrWRoH60X/+JdFKIEQ+r8cyv/XZa +4FQ4Lo6duNWLgdJ2BADCtyTAOlC0nazyOIg1of0aGwswZCtL1L1odOj1/1XvqWSO3nL h4eN44X0Z5anPclYcu4wQ+TnIbU9GR/xS+VCHLOh3F5KBiwA8TlqCPdXH9ZAJJgfzcJE qR2JgQ/1VsQ8he8/ZSS9Cm1DMcOej8x3m6Bg9ZIkzUeOBAx8s68XsumMhSKCoUh6U3m+ wviF362pQxkB7UDgcpAjSzqXUP676+9tCrUThX2ylie0hYzfZS3xjf7h9F30Eh8hObnW OFJQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=eAv56pZz; arc=pass (i=1 spf=pass spfdomain=linaro.org dkim=pass dkdomain=linaro.org dmarc=pass fromdomain=linaro.org); spf=pass (google.com: domain of linux-kernel+bounces-155640-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-155640-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [147.75.80.249]) by mx.google.com with ESMTPS id fx9-20020a170906b74900b00a51b7582475si7178332ejb.1049.2024.04.23.10.10.02 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 23 Apr 2024 10:10:02 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-155640-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) client-ip=147.75.80.249; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=eAv56pZz; arc=pass (i=1 spf=pass spfdomain=linaro.org dkim=pass dkdomain=linaro.org dmarc=pass fromdomain=linaro.org); spf=pass (google.com: domain of linux-kernel+bounces-155640-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-155640-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by am.mirrors.kernel.org (Postfix) with ESMTPS id 30AB91F22B75 for ; Tue, 23 Apr 2024 17:10:02 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id EE2C8208A9; Tue, 23 Apr 2024 17:07:31 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="eAv56pZz" Received: from mail-wm1-f43.google.com (mail-wm1-f43.google.com [209.85.128.43]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id A87A58F5E for ; Tue, 23 Apr 2024 17:07:29 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.128.43 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1713892051; cv=none; b=P8fmV6HkKBloHBnSuPjJPSWyRUPIcA0HwXiXu8Mpor8F3b4TCrGy4bTO7PZqlipmu2mb8BpowrtukUN22donqEDjIGE8BzIzLMChFQE4ksSTV7RIYKQ1SF9IAFZsoLHO0Fkg4h67FES8w3TVbTjLW8hHkCUiLux4T5wLQe0zl8c= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1713892051; c=relaxed/simple; bh=OJsYByUD3LNRS3bWHtD41r+NIo7O/sk/Nor9aoUU1Yw=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=jJusM7HseTAFFRtk4i2jraDksOPGXSw2NdbTCTb9t5Q0fHHhzZSwx8sjpe+HxsxMToBVNCpNAgkAmp0m2dLgaTJw3Vr8Ugt8yYNSoi0LXWRj7FWtH10nYyE4Iexek2G4o2iYC4zwACk+EhFbntIUsz17GmJVCxT9aggQfAwRDWo= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org; spf=pass smtp.mailfrom=linaro.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b=eAv56pZz; arc=none smtp.client-ip=209.85.128.43 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linaro.org Received: by mail-wm1-f43.google.com with SMTP id 5b1f17b1804b1-41a5b68ed4fso19859995e9.0 for ; Tue, 23 Apr 2024 10:07:29 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1713892048; x=1714496848; 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=Et7uc9uB7/VGTIfESDPlqhtnlO3orPAse6rpYiRLH20=; b=eAv56pZzV87y094K8uk0AeO5ZeCnDs3UfQ1rioQmBcdObuNxtcsHAYuipJ0uo+A2TA hdnPXLW1XpW3U4fibww5IN4410S7hEZnAo8b/o4hENi5WQd/AaC3NC9rEzO/MoKhnso6 NQxZzoGaX2eNI0sdN+h+WVumWpz+M+bEC/ko8EQFS22qaaDed1+32dfhUHu9G42LYMHK 9p9HhEofwKn3aWEyKRdS3jPWJoky6e/48SUozJgmTiBXG7sJ8jxs+w9nNvfrwexx4hbI xgMv7ggiyjNl1ihZc1qbRkTcW2uaILlayfeu5H2jj9FueJOHoK5Hcjzr12zUkASVdiGj YFag== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1713892048; x=1714496848; 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=Et7uc9uB7/VGTIfESDPlqhtnlO3orPAse6rpYiRLH20=; b=LMrAKCtVPrMARzzz3JCvuxroIEjaT5CaGU3wxG3m53fP/4K1PQMvxiFQQhgNG8pDif GdQvUisYEJrqprTe0QqzKrRG6CG9gb0zrSUH9Ei2ia5/S2ds8aic15J77OsepdqdAT57 +e/WJAShq9CQfGZJub1ZIzW+OU9O6JYaMxlSbVZ7klF7B3ArP6eSJS4LtFZhY0XDxj/w N2FfHDIDsYU4Zr5KdfmnYjgez5nJFqBF6mNQzxevd2fvJ5lbd8T7bXVOVEkaZukyodpq z8QXe6GC30fPV2PgTqyRqY+Lu+WsYB1jnmc5XrQMRZKuShZ8AKuBuMaZ9SsiEkJJQCYZ wjBA== X-Gm-Message-State: AOJu0YyO28iqRIy4RQ6alNS2p4nfP8jsrkcmROAGd6D+LUO2Tzypm1PF TTux+8F9vAe2S9gT4GiRItBgHzotilJQ/VeVUfWscLtYcHrsqa1CqQYRjIQwWlU= X-Received: by 2002:a05:600c:4508:b0:418:a17e:cb47 with SMTP id t8-20020a05600c450800b00418a17ecb47mr10016949wmo.10.1713892048119; Tue, 23 Apr 2024 10:07:28 -0700 (PDT) Received: from [192.168.10.46] (146725694.box.freepro.com. [130.180.211.218]) by smtp.googlemail.com with ESMTPSA id g9-20020a05600c310900b0041aa79f27a0sm3735054wmo.38.2024.04.23.10.07.27 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 23 Apr 2024 10:07:27 -0700 (PDT) Message-ID: Date: Tue, 23 Apr 2024 19:07:27 +0200 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH v1 05/16] thermal: core: Introduce .manage() callback for thermal governors Content-Language: en-US To: "Rafael J. Wysocki" , Linux PM Cc: LKML , Lukasz Luba , Srinivas Pandruvada References: <13515747.uLZWGnKmhe@kreacher> <3242862.5fSG56mABF@kreacher> From: Daniel Lezcano In-Reply-To: <3242862.5fSG56mABF@kreacher> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit On 10/04/2024 18:08, Rafael J. Wysocki wrote: > From: Rafael J. Wysocki > > Introduce a new thermal governor callback called .manage() that will be > invoked once per thermal zone update after processing all of the trip > points in the core. > > This will allow governors that look at multiple trip points together > to check all of them in a consistent configuration, so they don't need > to play tricks with skipping .throttle() invocations that they are not > interested in and they can avoid carrying out the same computations for > multiple times in one cycle. > > Signed-off-by: Rafael J. Wysocki Acked-by: Daniel Lezcano -- Linaro.org │ Open source software for ARM SoCs Follow Linaro: Facebook | Twitter | Blog