Received: by 2002:a05:7412:419a:b0:f3:1519:9f41 with SMTP id i26csp3931388rdh; Tue, 28 Nov 2023 07:31:17 -0800 (PST) X-Google-Smtp-Source: AGHT+IHwnQnUywM9VByHDJ/lO7zRHYce+mtsXWY7s2WGVGIWItbkpMfut4y3Y1zve+wwduUwpBFX X-Received: by 2002:a05:6a00:1387:b0:6cb:67c3:9c6d with SMTP id t7-20020a056a00138700b006cb67c39c6dmr17206003pfg.25.1701185477377; Tue, 28 Nov 2023 07:31:17 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1701185477; cv=none; d=google.com; s=arc-20160816; b=zT6JdqnGCA31/rXw4mnLcJ74pg4Lh2+FZbWVZ0Q5uPcCVVRmX41sel4RKfb7VH6FhN eG1I8ZXbLdoBLMnMqWrGOw4EdSsSZtqvacrNVPTxy4hMLXMciqBp2I3Fh0tl1wyKGXsv dZicP/I4E+/QMaiV2pDCR6O7Fx2KF9OrJH1ioDe0Ba49jqZFiQY+j/44v9JJ/bfyPjCY Jbxi03B2ETf7Z/IDQKYcGfawClLgZTuelkv6bPHdhSGaPW8Ch9Q1pRFhnvExdXokRlpW 6fwKBVxqr6iTzhiUAfmfFLvnWs4XS2WOh9M3PO7CMHrKoRAkL00qDXifVN9aXV1ZLJW4 mm5A== 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; bh=/EhBsWaaUDkN8iq88lEwgD8/S2X+EeH3eDCx7e2GWg8=; fh=s+3ccwKL/Xc2i8uH9tAeSOb9IGpvLhPrVmnBNs/vSzQ=; b=kNVd+QbKx5N1ZjtGF6Z0XUV2Ia1iinq2Le6rIFBZoBEXsXxYRbnNB4rkv4Uxy3hHo5 bSo7CoTro7O//uHw4RoeBqu3AP+79xPmod1910F0GFgg/LGQVJ+ykAl5Ss4bTA0OAcQG g2EQs5pofMIWG7JYCQrc42hZ46jlcxToA6PyfKXp6qTno4EOJJ3043/aeibdHRmQGF1K dp1Hj0vaq1TDJ0gL2IOXbbOnMYi3ye34759vmdqu7BADWDb7gUc5NLrjz/Nu57M0gosL gXMBVoelo61AzdBca2vzEX9VwJ/cZDs4Iw9RIJVh0qJvkaxgzfXDA0QQa8kteQnBbO+v ojQg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.33 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=arm.com Return-Path: Received: from lipwig.vger.email (lipwig.vger.email. [23.128.96.33]) by mx.google.com with ESMTPS id e10-20020aa798ca000000b006bf840df9bdsi11821121pfm.27.2023.11.28.07.31.16 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 28 Nov 2023 07:31:17 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.33 as permitted sender) client-ip=23.128.96.33; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.33 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=arm.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by lipwig.vger.email (Postfix) with ESMTP id D750D8063BF1; Tue, 28 Nov 2023 07:31:14 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at lipwig.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1346037AbjK1Pa6 (ORCPT + 99 others); Tue, 28 Nov 2023 10:30:58 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:38688 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1346002AbjK1Pa5 (ORCPT ); Tue, 28 Nov 2023 10:30:57 -0500 Received: from foss.arm.com (foss.arm.com [217.140.110.172]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 87E98D1; Tue, 28 Nov 2023 07:31:03 -0800 (PST) Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.121.207.14]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id 96A38C15; Tue, 28 Nov 2023 07:31:50 -0800 (PST) Received: from [10.57.2.117] (unknown [10.57.2.117]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id 1A24F3F6C4; Tue, 28 Nov 2023 07:31:01 -0800 (PST) Message-ID: <234a0b43-a1e7-4224-bb14-b3cda27370eb@arm.com> Date: Tue, 28 Nov 2023 15:32:01 +0000 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH 0/7] Minor cleanup for thermal gov power allocator Content-Language: en-US To: "Rafael J. Wysocki" Cc: linux-kernel@vger.kernel.org, daniel.lezcano@linaro.org, linux-pm@vger.kernel.org, rui.zhang@intel.com References: <20231025192225.468228-1-lukasz.luba@arm.com> <5fd9ce52-9216-47ae-9ed3-fabb0f3b02fd@arm.com> <49344fb7-78c0-4fc8-9687-22d039b5318f@arm.com> From: Lukasz Luba In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-0.8 required=5.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lipwig.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 (lipwig.vger.email [0.0.0.0]); Tue, 28 Nov 2023 07:31:15 -0800 (PST) On 11/28/23 15:17, Rafael J. Wysocki wrote: > On Fri, Nov 24, 2023 at 8:44 AM Lukasz Luba wrote: >> >> >> >> On 11/23/23 19:50, Rafael J. Wysocki wrote: >>> Hi Lukasz, >>> >>> On Thu, Nov 23, 2023 at 4:19 PM Lukasz Luba wrote: >>>> >>>> Hi Rafael, >>>> >>>> Gentle ping >>>> >>>> On 10/26/23 13:22, Lukasz Luba wrote: >>>>> >>>>> >>>>> On 10/26/23 09:54, Rafael J. Wysocki wrote: >>>>>> On Wed, Oct 25, 2023 at 9:21 PM Lukasz Luba wrote: >>>>>>> >>>>>>> Hi all, >>>>>>> >>>>>>> The patch set does some small clean up for Intelligent Power Allocator. >>>>>>> Those changes are not expected to alter the general functionality. >>>>>>> They just >>>>>>> improve the code reading. Only patch 3/7 might improve the use case for >>>>>>> binding the governor to thermal zone (very unlikely in real products, >>>>>>> but >>>>>>> it's needed for correctness). >>>>>>> >>>>>>> The changes are based on top of current PM thermal branch, so with the >>>>>>> new trip points. >>>>>>> >>>>>>> Regards, >>>>>>> Lukasz >>>>>>> >>>>>>> Lukasz Luba (7): >>>>>>> thermal: gov_power_allocator: Rename trip_max_desired_temperature >>>>>>> thermal: gov_power_allocator: Setup trip points earlier >>>>>>> thermal: gov_power_allocator: Check the cooling devices only for >>>>>>> trip_max >>>>>>> thermal: gov_power_allocator: Rearrange the order of variables >>>>>>> thermal: gov_power_allocator: Use shorter variable when possible >>>>>>> thermal: gov_power_allocator: Remove unneeded local variables >>>>>>> thermal: gov_power_allocator: Clean needed variables at the beginning >>>>>>> >>>>>>> drivers/thermal/gov_power_allocator.c | 123 ++++++++++++++------------ >>>>>>> 1 file changed, 64 insertions(+), 59 deletions(-) >>>>>>> >>>>>>> -- >>>>>> >>>>>> The series looks good to me overall, but I'd prefer to make these >>>>>> changes in the 6.8 cycle, because the 6.7 merge window is around the >>>>>> corner and there is quite a bit of thermal material in this cycle >>>>>> already. >>>>> >>>>> Thanks for having a look! Yes, I agree, we can wait after the >>>>> merge window. It just have to be cleaned one day a bit and I postponed >>>>> this a few times, so no rush ;) >>>> >>>> I've seen you've created the new pm/thermal. Could you consider to take >>>> those in, please? >>> >>> Sure, I'll get to them presumably tomorrow and if not then early next week. >> >> OK, thank you Rafael! > > I've queued up the whole lot for 6.8 and in the process I've edited > all of the changelogs and some subjects for clarity and English > grammar improvements. Thank you and I really appreciate the improvements!