Received: by 2002:a05:7412:d024:b0:f9:90c9:de9f with SMTP id bd36csp31424rdb; Wed, 20 Dec 2023 05:37:42 -0800 (PST) X-Google-Smtp-Source: AGHT+IF5y0vGAH0wLTQcBsvqQDxi4+fSFagI1TGlngQtUMzY5kGnyHDVrtrJXz8Xd7737bpIJmUH X-Received: by 2002:a05:6214:301a:b0:67f:43dd:4687 with SMTP id ke26-20020a056214301a00b0067f43dd4687mr6203869qvb.1.1703079462313; Wed, 20 Dec 2023 05:37:42 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1703079462; cv=none; d=google.com; s=arc-20160816; b=kh+sybda/u8AOIJjUFjBIj7xtYr9Z12WqQ5GB99f2bhABSUJ7X72VD2jjBfiZpZBdc 1kThaM+Za4W8nFyG2iqMtoI3kqf/pI7f+wbTOEy4RrlRFR7YTmyDNcuZhPx4CFj83s/e xI2qajr/8Cue9P0yzOA20oGbNPan1q0c1T7irKYl8ven/AyJKbgssHuJ9FBKodPyNxqE 9KVT7JUTFKTJtLPkjjY5jOjtoqGICdp09rdIjGVGwHObRDlw6ltg6iGvM/WsKYssklPJ fANM0IOupEnOc9ylxiH0GjuyRf+HQi5Op3z+Xw6hLaVfdFHXoUj7guJJM0lR4J7OXKJT xv8A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:list-unsubscribe:list-subscribe :list-id:precedence; bh=zi2/E2JPV+E9OtEb+OM3gBdNSO0WpJsVMVo8MT1752Q=; fh=EIKFy6x+hwaRABYFmepWnwTqymuItZSTXOPQQKUx7yE=; b=KczmQFl275n0JQYvDmjN8NPLXQhb8KpzZsFKTfob3n0Fk9zWbmS+DMBwlLs7ypaTm2 4yUV+XydLG3Rn/Qh8Er1t4iVeo83amqCVxPRlMnF+wSdoUDRWzPr6Y2GL3eqg8vjyUra /vBlViw8nrwEdIYSEbASzw0woR0dUpFriCKKVMr/KOpeXcEWCRXGZBHtDH6aQXVb+N9w ixBJ67ys5W4LKkDrOgZhF6Avd1gBQ0SUUmCMKe+OQoCQhCqQswUAQxd3FoUNtZ7tD6Jm PeVdhsvmyv/zyGeBK65e0LJW055SJWHw42Dm7fuXVmeDgg1mbxbqXpOG8PipHhrdahvw sucg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel+bounces-6969-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-6969-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [147.75.199.223]) by mx.google.com with ESMTPS id t20-20020a0cde14000000b0067aa42b58a3si806281qvk.497.2023.12.20.05.37.42 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 20 Dec 2023 05:37:42 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-6969-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) client-ip=147.75.199.223; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel+bounces-6969-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-6969-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.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 ny.mirrors.kernel.org (Postfix) with ESMTPS id 13A011C20CBA for ; Wed, 20 Dec 2023 13:37:42 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 8B3EE347B0; Wed, 20 Dec 2023 13:37:33 +0000 (UTC) X-Original-To: linux-kernel@vger.kernel.org Received: from mail-oo1-f48.google.com (mail-oo1-f48.google.com [209.85.161.48]) (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 C712436AED; Wed, 20 Dec 2023 13:37:31 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dmarc=fail (p=none dis=none) header.from=kernel.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Received: by mail-oo1-f48.google.com with SMTP id 006d021491bc7-590a21e977aso149511eaf.1; Wed, 20 Dec 2023 05:37:31 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1703079451; x=1703684251; 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=zi2/E2JPV+E9OtEb+OM3gBdNSO0WpJsVMVo8MT1752Q=; b=XYJGNkpURqgyWzOqZIQhyj9nWiIgxi+/VN3Ib+Kiu9sUvsjDhRwrkLpVwu8l68nqwP YgnrB5OUqoI4p8qHXLTzSS4NEHWCdAbuRonBOfiDhpXB4eVNow9YJ8XBD8JNncqMZ8Cu gCs+9Ono9T+Lmb28MCNuCLF0UXROIAQ9pP1tJSIOkMKq/zCbThu4fKd0rqhcPC8h4V0n wAPhqLjqHNnCe80p6XuiYdyTF07i5evaTmfvVMs21QMnZEFoV2FnCE7CaM1cfW3JkfRd +9q2JNN83XNCWKQLta6S0ZSBx3Fht98YeMj8n30+ZUmQkxESFS5cWs7lTnmLp8Y70i0P cFOA== X-Gm-Message-State: AOJu0YzFhjA3yyqGFGhxSM30Gtki9cTqLpNxL2qNs9RCMCxmfr6lcmAi d1CB1DPJ+xffGKTtVf3MKxa+/p6OOZesRmNMYhU= X-Received: by 2002:a05:6820:258a:b0:593:e53b:2df1 with SMTP id cs10-20020a056820258a00b00593e53b2df1mr4441366oob.1.1703079450842; Wed, 20 Dec 2023 05:37:30 -0800 (PST) Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 References: <20231212134844.1213381-1-lukasz.luba@arm.com> In-Reply-To: From: "Rafael J. Wysocki" Date: Wed, 20 Dec 2023 14:37:19 +0100 Message-ID: Subject: Re: [PATCH v2 0/8] Add callback for cooling list update to speed-up IPA To: Lukasz Luba Cc: daniel.lezcano@linaro.org, rafael@kernel.org, linux-pm@vger.kernel.org, rui.zhang@intel.com, linux-kernel@vger.kernel.org Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Wed, Dec 20, 2023 at 1:53=E2=80=AFPM Lukasz Luba w= rote: > > Hi Daniel, Rafael, > > On 12/12/23 13:48, Lukasz Luba wrote: > > Hi all, > > > > The patch set a new callback for thermal governors and implementation f= or > > Intelligent Power Allocator. > > > > The goal is to move some heavy operarions like the memory allocations a= nd heavy > > computations (multiplications) out of throttle() callback hot path. > > > > The new callback is generic enough to handle other imporants update eve= nts. > > It re-uses existing thermal_notify_event definitions. > > > > In addition there are some small clean-ups for IPA code. > > > > changes: > > v2: > > - change callback name to update_tz() and add parameter (Rafael) > > - added new event to trigger this callback - instance 'weight' update > > > > Regards, > > Lukasz > > > > Lukasz Luba (8): > > thermal: core: Add governor callback for thermal zone change > > thermal: gov_power_allocator: Refactor check_power_actors() > > thermal: gov_power_allocator: Move memory allocation out of throttle= () > > thermal: gov_power_allocator: Simplify checks for valid power actor > > thermal: gov_power_allocator: Refactor checks in divvy_up_power() > > thermal/sysfs: Update instance->weight under tz lock > > thermal/sysfs: Update governors when the 'weight' has changed > > thermal: gov_power_allocator: Support new update callback of weights > > > > drivers/thermal/gov_power_allocator.c | 216 ++++++++++++++++++-------= - > > drivers/thermal/thermal_core.c | 13 ++ > > drivers/thermal/thermal_sysfs.c | 15 ++ > > include/linux/thermal.h | 6 + > > 4 files changed, 182 insertions(+), 68 deletions(-) > > > > I know it's a bit late in time period... > You probably missed that patch set in your mailbox. > This patch set can probably just wait to the next window, or > should I resend it later in 2024? Not really, I was about to comment one the first patch. I'll do that shortly.