Received: by 2002:a89:48b:0:b0:1f5:f2ab:c469 with SMTP id a11csp351853lqd; Wed, 24 Apr 2024 04:37:10 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCVd5lX6wKpOaHGPCPqchv/hQ9mOycQePsGUWpoppkbZ6Zfshxc5GYQ32iEdAoEzDv1kku6XaGLwXQ1nCaWGHlA+06+hhpEkUPb3mdxshw== X-Google-Smtp-Source: AGHT+IEyD0Bw6rOOmzP9iASTXByUYtdKsg6Vp6cEnMXvhTwfmq9+LlNqA3VvQvQPKsSbcfks6jXO X-Received: by 2002:a9d:76c9:0:b0:6eb:86c4:eeb5 with SMTP id p9-20020a9d76c9000000b006eb86c4eeb5mr2587007otl.23.1713958630532; Wed, 24 Apr 2024 04:37:10 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1713958630; cv=pass; d=google.com; s=arc-20160816; b=nlbk9rNcIVpGZO9z01PaIEv5HLmvr2PqgppCHA2XE4RSkhUWh8hww45N/r8Ty9I6fn HQEF3osNdHTH+wt1P/0mYHCKlNV25l+58hFfGSZfWaVZPfKfPXVnE5AYFg+Ge1w8CnrW cLLKL5g5FRd6ejAEkZlwAkFz8DH4GHJk0RmV9HW8dG85uiciubD7faMAP6ak3udXeN8C HYlXHMQ4O89LGlqATWs70gPXRYfOVUBDvxkeAyp4LyHNy7qsfXa1ndBTK88FkFQml9GT NrIIIok4imAUDMzqngVFTGX8diy3EL2Y9QRerPgAaUewoO1niUvFbirhXbJNZYbUznoZ e4uA== 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=k25tPjMFnxZGYgnKJKp0dkB0J/d5Y8BkULxm1XocePE=; fh=LO9K3Vb/xRSMXM8bx8cPtjWRmxvi1YxRZ3sVJnNFMPE=; b=PFgu7zgOF0OQR/0ZRnHikxbv8pO42Ls2CeQnAf/SaDx9arqKNT65lIB/pnWeSMwlOw LkioghaxvTIa10mSxGRot9rZbidgxs4uFlCSHsL270tdmcXrymhMAzOFkXZzskAK8hBo N7f+WdJ8C7x8aZWv6r5LgF4aHqKCJMuUvIHMmb+WaYnPYWioZLM0RJIbjnNnBMQED+Qr 634w+MMndcK0dh5RnfqtVzLmbocPpsbLNQ5jF9Zw7yu3NkyfUg0gQT5/GVFMclcgt10b noc3i+qOBoDWnxYIyI7ohiNyarGJ6RU9uhBuGwmjojCLRs/Dv4mB3VUKJRrwsrbOustA o9Lw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=dyjNgCLI; 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-156804-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-156804-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [147.75.48.161]) by mx.google.com with ESMTPS id m12-20020a6562cc000000b005dc6d16aba7si11250270pgv.344.2024.04.24.04.37.09 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 24 Apr 2024 04:37:10 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-156804-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) client-ip=147.75.48.161; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=dyjNgCLI; 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-156804-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-156804-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 sy.mirrors.kernel.org (Postfix) with ESMTPS id CF70AB23B86 for ; Wed, 24 Apr 2024 11:34:48 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id E9FE215A4AF; Wed, 24 Apr 2024 11:34:39 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="dyjNgCLI" Received: from mail-wr1-f44.google.com (mail-wr1-f44.google.com [209.85.221.44]) (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 7F51A15A488 for ; Wed, 24 Apr 2024 11:34:37 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.221.44 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1713958479; cv=none; b=YvSRCphP4hXhm01dk8Vo5BpyP7mDZGw2JnY0OivgYbcz8lXoctwAziYkWJH3uvNcPbL/dr7w8fJFXrVtzgiCOeAmy6tqok1Ab3Tou856CwsJHqv+Lkex0oS/Kph/y0OSQJuT/REC53q/kv+po3yQdK0vAHhy2qx7oDg5VMcty5I= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1713958479; c=relaxed/simple; bh=YcUfxhUcQApT1mNwyIlAfJBq0C+KxLwY6/CxV7Yz34E=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=l1XX+syIjRPrOqqgavUMg/21cc3E7//cQwvzT1zjnfXMl1sfmM5nDLADgViz346YP6juNpLmsOTMsUmXiTw/PiRIzXyv0wPRvIDWYJNXcC7p23DADPx5lPdiJhzvOWVWCJrsTd8k644hvVVI6NWH/NwWUV+91NOBK1Ba9U7aek4= 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=dyjNgCLI; arc=none smtp.client-ip=209.85.221.44 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-wr1-f44.google.com with SMTP id ffacd0b85a97d-34be34b3296so88187f8f.1 for ; Wed, 24 Apr 2024 04:34:37 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1713958476; x=1714563276; 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=k25tPjMFnxZGYgnKJKp0dkB0J/d5Y8BkULxm1XocePE=; b=dyjNgCLI+8hS8qaZyK26/0ZFyeQ+xfIIbktz7Em+kwHxKinVXEZaki3lbDs9vN09RC bBjCXHvKVSIgLIRNdL+jSSA+N+98qhJcgC20Pn8a6Vxrm8wUaw/Lfl31dvkdvpQZJ41p V/j1nvSuAsuIdBxgWjWAmK7MlpSzDFur6m6nv/ExOPOskb4N+pskqD7uzJxgMInQUioo BdCe67LvXk8hngA+tfbJNb3IA73R6B2w4DazvbHU+f66eJyvYaiB2RYsxzxcjMciuTAR FDZ0aDLhpxyM4YHkp921wVLMvrRqpWzyEUrN00knLwx6+gQibRdF9PsrqP2WSCadJRNf dAQQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1713958476; x=1714563276; 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=k25tPjMFnxZGYgnKJKp0dkB0J/d5Y8BkULxm1XocePE=; b=mfXu39QC/TLp5LoDLp0pL2IiJhDND+4s82+4ruCzrhQGmIzCvb0MpaUPhqH7aTMqmG kXbHmeZd9BeZzcaRZ/Sxw82nlV37S0Tdh4SIA1TEWaW2ShNc8T10/Id3jPfQqTqROM56 kVRfUS7iLUsDX+q5uNvGgDOmdGGh+W/U8xBeZqtGT462mmjZmMmy6/Zg7AhvoA+DBtPK 2v1bYmaQlgldDFq+qIiUckXR5NdBRmPW1rLLvj2K9+Zg+504W3vlFwrhfKGRCvlVUmtS ttudGU1ixeePD678pg3dT9WzRd3pf2OX7PFWj/3y9Fo2K4uO7qRaZCNGZHOJb5Yn4YTq ipmw== X-Forwarded-Encrypted: i=1; AJvYcCWDS1JCEavYTGkydMqDeQfFWjhmmjj69ZnRieCOZU6uV1ghUPpV1MR0y+zY3Hp0otPMLNtFgq9OWSTCkjXVT/ll0XgBN8RmOuYlc0Zl X-Gm-Message-State: AOJu0Yw7bte7SGcZrnwciU+ngBBLTIg4JlNmuhPNoCXgKOOnvXFmdBwe VR29gtlzZtRgpbWZBxx16H6R1VvfQ8+RTPnngVEUtT3E+ctqCxmmTSaIR6ZR7qBHJU0ubxRl8Lz h X-Received: by 2002:a5d:6709:0:b0:341:d3b0:ae7d with SMTP id o9-20020a5d6709000000b00341d3b0ae7dmr1725373wru.45.1713958475772; Wed, 24 Apr 2024 04:34:35 -0700 (PDT) Received: from [192.168.10.46] (146725694.box.freepro.com. [130.180.211.218]) by smtp.googlemail.com with ESMTPSA id ea7-20020a0560000ec700b0033e91509224sm17003566wrb.22.2024.04.24.04.34.35 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 24 Apr 2024 04:34:35 -0700 (PDT) Message-ID: <917f9bec-80f3-4d10-9781-7b27f361101d@linaro.org> Date: Wed, 24 Apr 2024 13:34:34 +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 14/16] thermal: gov_user_space: Use .trip_crossed() instead of .throttle() Content-Language: en-US To: Srinivas Pandruvada , "Rafael J. Wysocki" Cc: Linux PM , LKML , Lukasz Luba References: <13515747.uLZWGnKmhe@kreacher> <15186663.tv2OnDr8pf@kreacher> From: Daniel Lezcano In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit On 24/04/2024 13:32, Srinivas Pandruvada wrote: > > On 4/24/24 02:14, Daniel Lezcano wrote: >> On Wed, Apr 10, 2024 at 07:03:10PM +0200, Rafael J. Wysocki wrote: >>> From: Rafael J. Wysocki >>> >>> Notifying user space about trip points that have not been crossed is >>> not particuarly useful, so modity the User Space governor to use the >>> .trip_crossed() callback, which is only invoked for trips that have been >>> crossed, instead of .throttle() that is invoked for all trips in a >>> thermal zone every time the zone is updated. >>> >>> Signed-off-by: Rafael J. Wysocki >>> --- >> Acked-by: Daniel Lezcano >> >> I would also consider removing this governor which is pointless now >> that we >> have the netlink notification mechanism > > That is a good goal, But, not there yet to deprecate. What can be done to deprecate it ? -- Linaro.org │ Open source software for ARM SoCs Follow Linaro: Facebook | Twitter | Blog