Received: by 2002:ab2:784b:0:b0:1fd:adc2:8405 with SMTP id m11csp232516lqp; Mon, 10 Jun 2024 02:12:56 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCX1s6CnqwSqjHS0SQ6oj9+aCbXVGwp1JSFwiJ0ga2aut2Bp/uydm8z9JDJ5vbuWdYbkSmgC8Yl9teh44KtXGN1gkqyeKb3bA+ol6AraZg== X-Google-Smtp-Source: AGHT+IE74H/ZmKPAXS/DndRLoocOKsl1wmpOcQ4D5baTX+i10QV9ZsObP9e0kUyQilIJUIA3lyWY X-Received: by 2002:a17:906:6c95:b0:a6e:c5b0:b64b with SMTP id a640c23a62f3a-a6ec5b0b711mr398552466b.16.1718010775940; Mon, 10 Jun 2024 02:12:55 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1718010775; cv=pass; d=google.com; s=arc-20160816; b=0lhl3uvALYharhWbs9io3eEa6NnpDCcSqH5MjWoPYRgLtOtp+aGWUKjRLdmqXF9nS5 vVSIusP0b7tumGwOcxzdjqVPgFtj7kbonAAvtGmE+P2qgE1zVzhWPgu5uaifBp4bwMLd JzOXu4cqLGdEtPFEtq1UQisHmYOv+Lf9OhFm0qxypHcBXj1eomGsBy7tkEH+3N6Tff1T hIycAGq/DipPDF2Sp00ZVd637xsmL4mxpo8Otl4wLS0h8zSfLMOM4xhZYfNHAzkXTwLZ D1SCKN/l11ic+W2yn05z1M24hbpl3UfiSCjc4eiPmqRh4tOVJuMzGXphj01THz0w2x6g ub7A== 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=VvSu55HWnwB5FrLzdsKEOL90pn7dtAat3/WOLZaHz4c=; fh=vAP3pW6OP7lJwOqTf5lF+PuTj4sO3l/u/lCK8fnc2kM=; b=ItB93SU5ykRQDd6lPkqC9Dc0OpEdC7VqR5X2TTFjV2jv8OTBO+V/+hs57DUTuMKNho 5DqUjkQAEtW6fvTYEuxZjjV/HcE0sifT2bX6M5Ln5cX08mXpaBhyv4Yh5PRs1drd97Cv BNtcYh98ISYDmZI2DHaqMgqddrWHwY7bSYhna1jY00ubWFbfj7QDn+cbLJBnmUyO/ct+ XCfzVJLBcgMdWPH8EOWu4T6I60pFjT7MqIEPgtj21rf6Gadhp/mEIzP33ZEXEq6UXcLf 3YIhIMoEg6e6p1tTybyv/vQKbVHBCA5UC8D3hoGE3E1UZDrr3Qow1X2fraFf1pyjq9/5 qexQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=QsO458Bh; 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-207903-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-207903-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [147.75.80.249]) by mx.google.com with ESMTPS id a640c23a62f3a-a6f1a4e5acasi128510766b.593.2024.06.10.02.12.55 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 10 Jun 2024 02:12:55 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-207903-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) client-ip=147.75.80.249; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=QsO458Bh; 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-207903-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-207903-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 am.mirrors.kernel.org (Postfix) with ESMTPS id A4E031F24D59 for ; Mon, 10 Jun 2024 09:03:34 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id E0961824A7; Mon, 10 Jun 2024 08:59:22 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="QsO458Bh" Received: from mail-wm1-f51.google.com (mail-wm1-f51.google.com [209.85.128.51]) (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 6406681ACB for ; Mon, 10 Jun 2024 08:59:20 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.128.51 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1718009962; cv=none; b=HWkvL5jZ7jzI3vktwYB3fRFo+NTwt4/4O0tDnXIoHpBhR25Iq7javgmZhDVgPd5H3sSNlocrH1OrLsVd2r4flNJ35sSVY8Obsh6HNQL3TniM1e53aMbsJhqAkqejZzyYFRVIlPW3Ti4WmYEnQyrquvGJgAsLfurwDhmDICNISDI= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1718009962; c=relaxed/simple; bh=vHneDFUBNs0GqnfTI6Q7Qcn+foJQXhLeHMKZSlyD3T8=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=J48lcHPydaOSrCwkQjo7qQV5/tlnXhgZQpuKAU1oP/peXluX2L1S0jFsS4y3dMnmOHkL4HQWFb6Uq+T2p4hm257isoI1aGChpp5K/Q/kWgD1HmXd2Z/opZTPzSlkPMLHLkPjDXwAd5IljTUdHYMjELZz4tJCfNRC6xntRa4ayl4= 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=QsO458Bh; arc=none smtp.client-ip=209.85.128.51 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-wm1-f51.google.com with SMTP id 5b1f17b1804b1-42165f6645fso22039065e9.2 for ; Mon, 10 Jun 2024 01:59:20 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1718009959; x=1718614759; 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=VvSu55HWnwB5FrLzdsKEOL90pn7dtAat3/WOLZaHz4c=; b=QsO458BhIkRDEeNxOpbXcA/hsD4PLvekklndhhaGCcmfSH5pNZ0l7F1edVIYHcYi2/ b5SKvI8+Td75JjUkC62tFgdbhPhukYnZyBs2YVtTftdMErC5mFvp4yT4bU/wlLK58bgf XGLPn00idANzRESNoWr/gyrzqr7n4Soy1RiDC5tZ+Aju22/bHSqlryHL2y/mAvnDcLsO hbaVU2j61i+amhv0QvDbNpX6QgynLm/gZiVTegOI7zQl6VCDL07De47d13oV8MpKxSSm eeUW0TbyEKZu1p7fh4iDK83dRF8xCSFTwqCzP0c84MFsmT6/g6VEiSjhi208kWg1LFiF uQuA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1718009959; x=1718614759; 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=VvSu55HWnwB5FrLzdsKEOL90pn7dtAat3/WOLZaHz4c=; b=lYsUo1Y1/lQ1AryHu1iz8KhrmPoMI5TOXrKCbDjU6esN2C6dS0gbfKhy0Xz61X2q4a JjF7iZj9jqEg5A9sXbzX8waOScBwGbh4cIAbkfJarQpUDAwv2ACRHnWckdhouvrBoBJ7 mqCGRc/2HNc+fiTDyqdX0DtNH5B9lOz4z4nFAU3BiaXlb7he6cXwiCSHMkFgJDHiGvtH nJFbDkhywl9ZdBIwQjQTnzaycEegWXK7ED4icPB/e0IvMnKV/eKulyeHeb7vGX7xLGzQ ++ATZ71u4V9cSQmAu/8vEmmynNdQxNzRz9jgbG4AwBH+x+7K6nBMEhjLAqp+zoHnmGhp GM1g== X-Gm-Message-State: AOJu0YzlG7ynbjqgGHds9qr6Kc2kN6mEIUEsCNIMsvqHJMXSf2JgocAf L2rkGnd1z407j7263x14Hen/DCzA2+Y5P/iaZ3p3GtrMPU9hFQVlrr+CoGlRukQ= X-Received: by 2002:a05:600c:a01:b0:421:6475:abee with SMTP id 5b1f17b1804b1-42164a038b6mr68198995e9.23.1718009958670; Mon, 10 Jun 2024 01:59:18 -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 5b1f17b1804b1-4215c2cd247sm138237425e9.40.2024.06.10.01.59.18 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 10 Jun 2024 01:59:18 -0700 (PDT) Message-ID: Date: Mon, 10 Jun 2024 10:59:17 +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 5/8] thermal/debugfs: Adjust check for trips without statistics in tze_seq_show() To: "Rafael J. Wysocki" , Linux PM Cc: LKML , "Rafael J. Wysocki" , Lukasz Luba References: <5794974.DvuYhMxLoT@kreacher> <8389302.T7Z3S40VBb@kreacher> Content-Language: en-US From: Daniel Lezcano In-Reply-To: <8389302.T7Z3S40VBb@kreacher> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit On 28/05/2024 16:57, Rafael J. Wysocki wrote: > From: Rafael J. Wysocki > > Initialize the trip_temp field in struct trip_stats to > THERMAL_TEMP_INVALID and adjust the check for trips without > statistics in tze_seq_show() to look at that field instead of > comparing min and max. > > This will mostly be useful to simplify subsequent changes. > > No intentional functional impact. > > Signed-off-by: Rafael J. Wysocki > --- Acked-by: Daniel Lezcano -- Linaro.org │ Open source software for ARM SoCs Follow Linaro: Facebook | Twitter | Blog