Received: by 2002:ab2:784b:0:b0:1fd:adc2:8405 with SMTP id m11csp264666lqp; Mon, 10 Jun 2024 03:33:24 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCVDl8fkRtKOlqc3dloSOmdPpi6i6A+6ukCLq0vRHMiuYlQSqHiKDooUMsuFp2MKjx7YWG6vQHykT2+Nj7H16lAFpbd7V0CEh62O5RYsDg== X-Google-Smtp-Source: AGHT+IGlWb6k5hulPp13TIDRjCGdaqKOv7L9fOGdzHOp1IXKTwemqQGSE5GvcpqCCCaFUKtwhd1D X-Received: by 2002:a17:90b:19c5:b0:2c2:e0f1:bb1 with SMTP id 98e67ed59e1d1-2c2e0f10e7dmr6780303a91.22.1718015604013; Mon, 10 Jun 2024 03:33:24 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1718015603; cv=pass; d=google.com; s=arc-20160816; b=HMS81pqAz53f8zGBz2Eohiu1RT1Pt06NbtMSsWGAgnInfTskMotN5A2SQIQfYG+lFF 7HBFnSsvZ2frt5nB/HlD1hV0qsBIvVVo7CeJJxKUBC3fmBEjw4CwGiarKFrIFm+nRjbD xpEBscjaIWzfmm0inrlRHzoMLVl4gcxhK79YNDijFHEwNNRdM9stBg2d1iF47bapHnMG HZsp3bLhGYeayPKJh7Ux6wb8S0/U+rWTwBFNMMyAGAYTmSi3P9YSdtOaT+1d7oBYaYkr Vf4cZ6LGzIXBBDxjhHpRN/QmPhj9ca5z2TEUVolMpZTflEWyzeuijqyTf/Sd0u/vrOrd 9w/Q== 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:content-language :references:cc:to:subject:user-agent:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:date:message-id:dkim-signature; bh=TDdtAXRXBuNi1V9L3rXEpKUonTyInwdTZxeIaRFlTPs=; fh=vAP3pW6OP7lJwOqTf5lF+PuTj4sO3l/u/lCK8fnc2kM=; b=knyE0LPnJLyFywfOYJRurfRWxPALCqbQKueHIcuHxF+65oxo94eJCQySDPoYoJkTwr 3uAXjQiwVSmaS0dSG7E3BX76Hm1gf8S+k9Ct0jAewMJDDLlSVUjrwZ/mvXFSwWFXAgFN HT6PLorv5zJzriIalfrnecV6UoKqNoSRuRBz7yqEfegV4I2e0pWGwFzlaC0yOqQ+gLFL WeJoyQHm6usTzI22+L52MA03/U/P5ATgyFi7EwdRD9Hwy+bfWBYhuH/lwwQqj7K4H0W8 K6nPDJxKveCJe573Oi6tpO98VeA4ZjvvLnrmkW4MOf9EmtojPAoHC58vkBrFCN2dZulL X8tQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=qjrlVTFi; 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-208022-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-208022-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [2604:1380:45e3:2400::1]) by mx.google.com with ESMTPS id 98e67ed59e1d1-2c2d10026d1si3436442a91.106.2024.06.10.03.33.23 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 10 Jun 2024 03:33:23 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-208022-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) client-ip=2604:1380:45e3:2400::1; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=qjrlVTFi; 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-208022-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-208022-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 sv.mirrors.kernel.org (Postfix) with ESMTPS id 6BF2C282864 for ; Mon, 10 Jun 2024 10:33:20 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 9536E78289; Mon, 10 Jun 2024 10:33:15 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="qjrlVTFi" Received: from mail-wr1-f52.google.com (mail-wr1-f52.google.com [209.85.221.52]) (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 2CAB952F6A for ; Mon, 10 Jun 2024 10:33:12 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.221.52 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1718015594; cv=none; b=JJx09CPlHjwerHsvzB0kYRkW1ivQgt6nemn4JIuzkE/YLKJ3F6yr7XwhZDSBLxyhVatXl4I+LnncP0RDQVFCtl7AidAUvfAyxC6FDGQX9GrdVWcS7uZNYVxVJ9WW9bwPtUJxTPSfV/znieYMpYMspMy1yG02NwqXVnM7XZvPJP8= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1718015594; c=relaxed/simple; bh=EkPIbkjarwpfgELEUyotr9GR0hLk3jsKg0qKrAx7zHc=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=GkezUFsAaTmncLRViIx8Axm+ZC2rBc9fTww/VV+qrh8Pz5V3GcGLbN+txu97wkO/8HkolDxyP0BQk8Kk69X/Huu8aRS7QE5BOMsPrUB53Ea4dTficAdTrZjWaxwFSTZZD1dtoxmY5OVAfBiI4O2stskhZdfj3Yvv5Ym4P0Iuelk= 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=qjrlVTFi; arc=none smtp.client-ip=209.85.221.52 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-f52.google.com with SMTP id ffacd0b85a97d-35f1c567ae4so1203579f8f.1 for ; Mon, 10 Jun 2024 03:33:12 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1718015591; x=1718620391; darn=vger.kernel.org; h=content-transfer-encoding:in-reply-to:from:content-language :references:cc:to:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=TDdtAXRXBuNi1V9L3rXEpKUonTyInwdTZxeIaRFlTPs=; b=qjrlVTFizKQwfJBqnaV2BBKTwS5o0ihKcNf67kDGOePNEp7UGQ2qp84crvQdgUnmDD oahDjRRbwMa12LYjjGYzHklqQVb+MkVlzEGkMvaPHKFpo7nL/pBhFj6qUlKKTUx9ZGpG UzJJLp69+iVA5/Zz8D0S0ne5GfZ60LhiOIklhHHp4CT2Xg0j5J3DAMSrFyfp1FjMLRL3 JyH/Gwvxt5oeta14GAHsTYERfTiZr6aaq8ktpLMV1fkHVu64oLVYNPYNv4EyVaSSMSSC jvlNLnuAQNnrBZxlMnBTdRDZ8hqAyLD0zASWIQcGGRspHc9ognt/38FocEkLTR0CQh5g NvEg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1718015591; x=1718620391; h=content-transfer-encoding:in-reply-to:from:content-language :references:cc:to:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=TDdtAXRXBuNi1V9L3rXEpKUonTyInwdTZxeIaRFlTPs=; b=dkrss68zNAvDqrrvSXB7awx3ZY6Yh+hek0AEotjxa3qIpym+ODMJV3kr3FTWRHv1Gf 2rw/Pb5buyrspK+ufm4VLWpmvmrmVMNvhE8WTx/iSUnNrD1sS8dFgH/ML0WBTlC2gXyH MPKv4XP6ho4r1tuaELndYFxDFcr7LqH1k+31tvkdar5UJysnIozzWEUfTRQgNUae0pO6 cAvJJIlasF3BQyNfOmvhbYHZ+VloNRWepbGFGjXJOZYMKOPiwDedJ5+XJsM5QLyUr8tO QjkCBViZS6IYSOUThMRbGiGTQ0AZcXuF/4PZI31Ix5GrsovxtZSKZeD5+x2dA1+nWsIx Gi3w== X-Gm-Message-State: AOJu0Yz4HwXwJJyb0sFFYDbc3uOP/i7A/QS68MKA8lU0QymrOmMkHWXh SE5OKgJ2Fbx0kcokvnLi3Rp5Vb65qyr6XopkrkKyvqKxUAgx3TxAjIc3zrNjssY= X-Received: by 2002:a5d:59a5:0:b0:35f:2947:e30a with SMTP id ffacd0b85a97d-35f2947e34bmr564545f8f.46.1718015591312; Mon, 10 Jun 2024 03:33:11 -0700 (PDT) Received: from ?IPV6:2a05:6e02:1041:c10:bb3:9a3a:605f:c4c3? ([2a05:6e02:1041:c10:bb3:9a3a:605f:c4c3]) by smtp.googlemail.com with ESMTPSA id ffacd0b85a97d-35f1f109346sm3913873f8f.27.2024.06.10.03.33.10 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 10 Jun 2024 03:33:10 -0700 (PDT) Message-ID: <901c5f6e-b873-4540-8238-2eb21b85689c@linaro.org> Date: Mon, 10 Jun 2024 12:33:10 +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 v2 6/8] thermal/debugfs: Compute maximum temperature for mitigation episode as a whole To: "Rafael J. Wysocki" , Linux PM Cc: LKML , "Rafael J. Wysocki" , Lukasz Luba References: <5794974.DvuYhMxLoT@kreacher> <2279190.iZASKD2KPV@kreacher> Content-Language: en-US From: Daniel Lezcano In-Reply-To: <2279190.iZASKD2KPV@kreacher> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit On 28/05/2024 16:58, Rafael J. Wysocki wrote: > From: Rafael J. Wysocki > > Notice that the maximum temperature above the trip point must be the > same for all of the trip points involved in a given mitigation episode, > so it need not be computerd for each of them separately. > > It is sufficient to compute the maximum temperature for the mitigation > episode as a whole and print it accordingly, so do that. > > Signed-off-by: Rafael J. Wysocki Indeed... :) Acked-by: Daniel Lezcano -- Linaro.org │ Open source software for ARM SoCs Follow Linaro: Facebook | Twitter | Blog