Received: by 2002:a05:6500:1b45:b0:1f5:f2ab:c469 with SMTP id cz5csp606667lqb; Wed, 17 Apr 2024 06:13:54 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCXt89/KbkjRIw/rBlqhet9/d9CMwIAadwa5A7oB2fuogLZTZpoZcw6jFOJ99wH5TyIB3waKGE2ytfjhU1mvrZkqFOch/0eBpFCIAf2eyg== X-Google-Smtp-Source: AGHT+IHTEuHjpyJIjhiXWdYE+pJR4jerqjIDuFFl7+swnfv/TU8Xxcq4afgml75WTlfkIN9GQPZn X-Received: by 2002:a05:6214:10ca:b0:69b:798b:e9c6 with SMTP id r10-20020a05621410ca00b0069b798be9c6mr7712580qvs.42.1713359633638; Wed, 17 Apr 2024 06:13:53 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1713359633; cv=pass; d=google.com; s=arc-20160816; b=VUJAL2gUEgD0jREYoZBT55LcGwdqwM8p24hjc8bKenI8HqrGLbCMgbJkmYjy5xlnIE giUbjAcg3KzKAESY+BGJ5VidqlUZ8bJsjIN2lgRaf20+q7Ghq+p7fhCF5F22ZJgD0XeF cLtPYxyEhZSVIB3LfUvgs/r7bGeABRumavAPn7OWsE/3Ggn7pw6TY2SRcGwvGTnpL7vZ aIHsjypjPIJRbLBf0pXjr7s2b2xXbklffTy0JvfA3/7LAIEnK8lm0hWlxAC1vahKfvO3 Uepq/SWPr0kFkp7SbETKSXod3sosI2bRuWWcMxcBovNWQY26dF0QDTnzlOaHezv+6Dwk xcEA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:message-id:date:subject:cc:to :from:dkim-signature; bh=/UItrVhtEpZok9gejkBmtkpTQ00qFXhKxDfhAeFE0uY=; fh=HP39+yda0QHsXMT3XaLy3KM419Yj59UqEZWQZo+gOsI=; b=LYcGFJqeU101frkFV8EeE/VlOa3Uh0Osxd2wIIM2fvEH8ir/JryR+lrUzzWyFhXckT RrHMtu0QlHSNKeSPFFQIiV3gJE8w4cWk4Tfpps2bh3auAtboyYYpKC7TsbYazfsyt7CK DVmQrhF9a7vPh/DbVseM19Z9fvh829/NSrr0DrI02xkbxAEu80nedn4o3RAKqqOt+3p3 4VK00MbTJCh4p2UUOqRwcU6GErC+FLecX/tq11HZ4BdMYK1uNZHc73DLoAB0ml9aUKfk 4GPUVL6rYaGVCkW3ZHu5UWGlQhutZDXEm5VF+QA6xVqR/Y9XRkQ7/lR2RBCDbFogVzFm 53Gg==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=fail header.i=@rjwysocki.net header.s=dkim header.b=j+dTTMg3; arc=pass (i=1 spf=pass spfdomain=rjwysocki.net); spf=pass (google.com: domain of linux-kernel+bounces-148525-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-148525-linux.lists.archive=gmail.com@vger.kernel.org" Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [2604:1380:45d1:ec00::1]) by mx.google.com with ESMTPS id x17-20020ad440d1000000b0069b6b410474si9406467qvp.126.2024.04.17.06.13.53 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 17 Apr 2024 06:13:53 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-148525-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) client-ip=2604:1380:45d1:ec00::1; Authentication-Results: mx.google.com; dkim=fail header.i=@rjwysocki.net header.s=dkim header.b=j+dTTMg3; arc=pass (i=1 spf=pass spfdomain=rjwysocki.net); spf=pass (google.com: domain of linux-kernel+bounces-148525-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-148525-linux.lists.archive=gmail.com@vger.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 601621C21816 for ; Wed, 17 Apr 2024 13:13:53 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 999E71411D8; Wed, 17 Apr 2024 13:12:11 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=fail reason="signature verification failed" (2048-bit key) header.d=rjwysocki.net header.i=@rjwysocki.net header.b="j+dTTMg3" Received: from cloudserver094114.home.pl (cloudserver094114.home.pl [79.96.170.134]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id C69BF13FD84; Wed, 17 Apr 2024 13:12:08 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=79.96.170.134 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1713359530; cv=none; b=HxWHL3WXvVHUdb6Ft34bgsL+EgBnF+TmSJwdiAUwNEhtF2eOC+78Eyu0yshyTk6h6nRVcYxxTSRA1bYABWnLol4R3ysbHHm8J6vZkw7nW5T7zg8i1NZJH8Trctc9sm5Ya52esY879hfGcJk7CtLDiEkTZiCGSN3wtPk1QworxnI= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1713359530; c=relaxed/simple; bh=/UItrVhtEpZok9gejkBmtkpTQ00qFXhKxDfhAeFE0uY=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version:Content-Type; b=HDJmyYnD7GltG0pKu84PMcy5M3bQDfgbo2eT9gkM/Jp5edqA59Ee+8XVw3OEsKygRL8T8HKQ94iwNth3OWKYBihzqWyZSKWAZ79MqCJQeFVWUjedCUt33iKc8/Hz2DJ5zR4+ynY2jHhG/0QSU1ykWxhWegu1ZOptlKX7uHr5rl8= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=rjwysocki.net; spf=pass smtp.mailfrom=rjwysocki.net; dkim=fail (2048-bit key) header.d=rjwysocki.net header.i=@rjwysocki.net header.b=j+dTTMg3 reason="signature verification failed"; arc=none smtp.client-ip=79.96.170.134 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=rjwysocki.net Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=rjwysocki.net Received: from localhost (127.0.0.1) (HELO v370.home.net.pl) by /usr/run/smtp (/usr/run/postfix/private/idea_relay_lmtp) via UNIX with SMTP (IdeaSmtpServer 6.0.0) id 8cabd5d5eb81c915; Wed, 17 Apr 2024 15:12:01 +0200 Received: from kreacher.localnet (unknown [195.136.19.94]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by cloudserver094114.home.pl (Postfix) with ESMTPSA id A0AA366D262; Wed, 17 Apr 2024 15:12:00 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=rjwysocki.net; s=dkim; t=1713359521; bh=/UItrVhtEpZok9gejkBmtkpTQ00qFXhKxDfhAeFE0uY=; h=From:To:Cc:Subject:Date; b=j+dTTMg3Jk9GehRhmNnzIHQYWX/2Ok+girx82EponB1Jxpssn/TXRDoxYiLSlXD8y zktJGY6o5yvq2F41LUxJgh8lCV3mL/GvQktrcudPNi89AuEw5Yo1wouBOdFjuQma3s 5Sa6on6zei6eadF1i96MtPzrquJIa3qn6GscJ7LCBRs8HF6dobnO7d2WW8B8ZGDF93 2rCrCK5wtj150GZex4pD8U5/kUxnScJlalq8+agwuOGw2d8QHgjBupcIykihqgEVWR A+wJYvNvSo2sqlbxz5Ufd9o6/YhB0+LpH54fbWpwexzd86GP/Bk+M5D90g71o5rUnA T0sm7rKjxLNkw== From: "Rafael J. Wysocki" To: Linux PM Cc: LKML , "Rafael J. Wysocki" , Lukasz Luba , Daniel Lezcano Subject: [PATCH v1 0/3] thermal/debugfs: Fix and clean up trip point statistics updates Date: Wed, 17 Apr 2024 15:07:19 +0200 Message-ID: <4918025.31r3eYUQgx@kreacher> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="UTF-8" X-CLIENT-IP: 195.136.19.94 X-CLIENT-HOSTNAME: 195.136.19.94 X-VADE-SPAMSTATE: clean X-VADE-SPAMCAUSE: gggruggvucftvghtrhhoucdtuddrgedvledrudejkedgiedvucetufdoteggodetrfdotffvucfrrhhofhhilhgvmecujffqoffgrffnpdggtffipffknecuuegrihhlohhuthemucduhedtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenucfjughrpefhvfevufffkfgggfgtsehtufertddttdejnecuhfhrohhmpedftfgrfhgrvghlucflrdcuhgihshhotghkihdfuceorhhjfiesrhhjfiihshhotghkihdrnhgvtheqnecuggftrfgrthhtvghrnhepgeffhfdujeelhfdtgeffkeetudfhtefhhfeiteethfekvefgvdfgfeeikeeigfehnecuffhomhgrihhnpehkvghrnhgvlhdrohhrghenucfkphepudelhedrudefiedrudelrdelgeenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepihhnvghtpeduleehrddufeeirdduledrleegpdhhvghlohepkhhrvggrtghhvghrrdhlohgtrghlnhgvthdpmhgrihhlfhhrohhmpedftfgrfhgrvghlucflrdcuhgihshhotghkihdfuceorhhjfiesrhhjfiihshhotghkihdrnhgvtheqpdhnsggprhgtphhtthhopeehpdhrtghpthhtoheplhhinhhugidqphhmsehvghgvrhdrkhgvrhhnvghlrdhorhhgpdhrtghpthhtoheplhhinhhugidqkhgvrhhnvghlsehvghgvrhdrkhgvrhhnvghlrdhorhhgpdhrtghpthhtoheprhgrfhgrvghlsehkvghrnhgvlhdrohhrghdprhgtphhtthhopehluhhkrghsiidrlhhusggrsegrrhhmrdgtohhmpdhr tghpthhtohepuggrnhhivghlrdhlvgiitggrnhhosehlihhnrghrohdrohhrgh X-DCC--Metrics: v370.home.net.pl 1024; Body=5 Fuz1=5 Fuz2=5 Hi Everyone, The first patch in this series addresses the problem of updating trip point statistics prematurely for trip points that have just been crossed on the way down (please see the patch changelog for details). The way it does that renders the following cleanup patch inapplicable: https://lore.kernel.org/linux-pm/2321994.ElGaqSPkdT@kreacher/ The remaining two patches in the series are cleanups on top of the first one. This series is based on an older patch series posted last week: https://lore.kernel.org/linux-pm/13515747.uLZWGnKmhe@kreacher/ but it can be trivially rebased on top of the current linux-next. Thanks!