From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from foss.arm.com (foss.arm.com [217.140.110.172]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 4C99D481B5; Fri, 5 Apr 2024 07:35:52 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=217.140.110.172 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1712302554; cv=none; b=WXfPgVj+ZfRTN/4j8UaD0bKpiaKpsz8bI1CjU9q5Tg1bnvvj/tWYKA9lKC9QE1OxChtajg0fZOpkHcE9pKMX8ZF9aciLkabsUkI95GG5axbqSX4s24fAMTaDlPzuFlq3Lq1LNb6zFCNHxZdpWzPYTJK+BSaJjB1Jyp0rQUg/GBE= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1712302554; c=relaxed/simple; bh=KMKzpMcRFQlWChDCPVjmGk8tQMq9E4Qn6CQPXuiAy9s=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=LFltD4PkDjBnREyKfs9n9pcodiCfo83F5fzeDda0HQxdtmCDTL6Y69/qsY0W4jd8OCOLOtVx6RimJNtmMTDE5R/DHdT//W8Dqc3v4EINyZlZhU7FV9A9+Xvy8q7It9XWKzYM7IAtiEEF8UzDLuVOhil1CmMqm6s516nZ0WtPKnw= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=arm.com; spf=pass smtp.mailfrom=arm.com; arc=none smtp.client-ip=217.140.110.172 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=arm.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=arm.com 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 784F1FEC; Fri, 5 Apr 2024 00:36:16 -0700 (PDT) Received: from [10.57.74.176] (unknown [10.57.74.176]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id C4DD53F64C; Fri, 5 Apr 2024 00:35:44 -0700 (PDT) Message-ID: Date: Fri, 5 Apr 2024 08:35:46 +0100 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 v3 6/6] thermal: core: Relocate critical and hot trip handling Content-Language: en-US To: "Rafael J. Wysocki" Cc: LKML , Srinivas Pandruvada , Daniel Lezcano , AngeloGioacchino Del Regno , "Rafael J. Wysocki" , Linux PM References: <4558251.LvFx2qVVIh@kreacher> <3556878.iIbC2pHGDl@kreacher> From: Lukasz Luba In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Hi Rafael, On 4/4/24 10:03, Rafael J. Wysocki wrote: > On Tue, Apr 2, 2024 at 9:04 PM Rafael J. Wysocki wrote: >> >> From: Rafael J. Wysocki >> >> Modify handle_thermal_trip() to call handle_critical_trips() only after >> finding that the trip temperature has been crossed on the way up and >> remove the redundant temperature check from the latter. >> >> Signed-off-by: Rafael J. Wysocki > > This change is premature, as it will cause handle_non_critical_trips() > to be called for hot/critical trips which is questionable, so I'm > withdrawing it for now. > > The rest of the series is still applicable, though. > > Could you explain your concerns about this, please? Is about the extra execution time for the non-critical trip, while we are in section of handling critical ASAP? (also it would require that extra sorting there IMO) Regards, Lukasz