Received: by 2002:a05:7412:8d09:b0:fa:4c10:6cad with SMTP id bj9csp403832rdb; Tue, 16 Jan 2024 04:11:05 -0800 (PST) X-Google-Smtp-Source: AGHT+IGa0CnchCDs4Ujn1W8llvU3Yh1hsFzhE5zSSHWdWghBumk8HqWnws5il1pjz1QFRyTxy6ZE X-Received: by 2002:ae9:e714:0:b0:783:34c3:c2cb with SMTP id m20-20020ae9e714000000b0078334c3c2cbmr6168109qka.153.1705407065547; Tue, 16 Jan 2024 04:11:05 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1705407065; cv=none; d=google.com; s=arc-20160816; b=cISJg58SqT7WYyR8gZJ+kQwCOzB3NUSzObb4TGvpoHw6WhX5uLNMfz95yYocwu2kWs Tqk5PBm/S+AFPEVPs6bAobaff6rkioXq9yqfHa+O6kEJt7Cft3jtBE8mR8Z8gmXMY2OG xjxASbK+vaTYNA2KpeQ+XWQ1L/MnLof3eA0KaDJ6XgeyQ+lngv+ZM7DJXZ5gkQaAiBWb FqJVlHNM6bvtJZJceLY2RcWQ6c142CBXhURJK1nN6+GUK3LpcjBgF9LKp5Ebc5Nl9ki+ FqQSde36UWluQ3JvQk9jApmbGOK43ApsEM5LIsfNBfcqUZj50R/nb+8K+S6HaXqHDGCZ 6caQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=cc:to:subject:message-id:date:from:mime-version:list-unsubscribe :list-subscribe:list-id:precedence; bh=GJxJbQrhjLUsbQrSI34rLi8y9pfUfCcNo/+s+asS57g=; fh=6Me49luj5DGK5FqukYSrWRpM+LZAZ1M2lYd466JwYyY=; b=a6rOOYy/9idiRdUJy2kYoGzzz9oLccSXhk4M9fGxjvxSATR8CHxralfpqvA/+eadL6 ad+IOVptUknzxlP9Uq9H6nnSjE3Peg8MnsLLzOEEoV9QX6lpKQC+8fjnvmCoOi+2Ihje B2rl8t415uOXX2fuR3Dx/5ID5E+hYtWIe5bp8Sp0UY9D/LZPAB+iojxXkBHiy6Sf9zIZ nR33Wi25kdGV5umuUeycqkA6+VObkyJtKqxIz1WBrMl1Fby2qgTN1ylupw2FRGzCRv2j 0gfGumtJ3vraPqwxF8UolMlTmEkkdKRb+JCT5KUuTR9Gb999lhlqPT4D9CS22h6o9Gzp LXOg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel+bounces-27367-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-27367-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=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 c25-20020a05620a269900b0078114cc3893si10369843qkp.37.2024.01.16.04.11.05 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 16 Jan 2024 04:11:05 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-27367-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; spf=pass (google.com: domain of linux-kernel+bounces-27367-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-27367-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=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 167CE1C22477 for ; Tue, 16 Jan 2024 12:11:05 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 2BF021B97C; Tue, 16 Jan 2024 12:10:57 +0000 (UTC) Received: from mail-ot1-f41.google.com (mail-ot1-f41.google.com [209.85.210.41]) (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 6354C1B961; Tue, 16 Jan 2024 12:10:55 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dmarc=fail (p=none dis=none) header.from=kernel.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Received: by mail-ot1-f41.google.com with SMTP id 46e09a7af769-6ddf73f0799so1097692a34.1; Tue, 16 Jan 2024 04:10:55 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1705407054; x=1706011854; h=cc:to:subject:message-id:date:from:mime-version:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=GJxJbQrhjLUsbQrSI34rLi8y9pfUfCcNo/+s+asS57g=; b=GW41LcoF8wHyTdvLPOSBH2IOx/bZ7n9rnFuprV7FQfxNJs2+zKQwfS4sZxpSCjh/Es 8ORBtB6PuiGOY7z3KJwYyXL/vBYZmSgExUAJVKVMNEMhbInMR87BEZ1jAg2Y9ru2cLlC eQRCHYBjxZuSXHs8j7Eq5J+WgVTxHNe3nYtjX4kON5iNPZgdkYObkR0SKtzkwCwljlVY l/12XpM5Uwp8+/5ZZ7fcFgLlb4Lj55UYtZgApgbwUT8DAQKALHBh3tX43sKiX2GM1S7S 9GSkFfBtIUpanplnHAWMdzFUsXYzBhYVprQXPJiANw0xitIWWJQWg4NbSZbXswfM/fee iNxA== X-Gm-Message-State: AOJu0YzT/+uQpenalY274kfCnUuGYBt4DG0NwQ9QJPsv4gxqzZPFVED5 TuoLVUH/TUmkccAMP5Q24XBPfeH498nYfll+uEQ= X-Received: by 2002:a4a:dd8f:0:b0:598:b2d7:2499 with SMTP id h15-20020a4add8f000000b00598b2d72499mr10076731oov.0.1705407054402; Tue, 16 Jan 2024 04:10:54 -0800 (PST) Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 From: "Rafael J. Wysocki" Date: Tue, 16 Jan 2024 13:10:43 +0100 Message-ID: Subject: [GIT PULL] More thermal control updates for v6.8-rc1 To: Linus Torvalds Cc: Linux PM , Linux Kernel Mailing List , Daniel Lezcano Content-Type: text/plain; charset="UTF-8" Hi Linus, Please pull from the tag git://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm.git \ thermal-6.8-rc1-2 with top-most commit dd75558b2d0b5e2b36ec0ef7e494d2763517d801 Merge branches 'thermal-core' and 'thermal-intel' on top of commit 17e8b76491b007698cf63bc10093bc8991e45001 Merge branch 'thermal-intel' to receive more thermal control updates for 6.8-rc1. These add support for debugfs-based diagnostics to the thermal core, simplify the thermal netlink API, fix system-wide PM support in the Intel HFI driver and clean up some code. Specifics: - Add debugfs-based diagnostics support to the thermal core (Daniel Lezcano, Dan Carpenter). - Fix a power allocator thermal governor issue preventing it from resetting cooling devices sometimes (Di Shen). - Simplify the thermal netlink API and clean up related code (Rafael J. Wysocki). - Make the Intel HFI driver support hibernation and deep suspend properly (Ricardo Neri). Thanks! --------------- Christophe JAILLET (1): thermal: core: Use kstrdup_const() during cooling device registration Dan Carpenter (1): thermal/debugfs: Unlock on error path in thermal_debug_tz_trip_up() Daniel Lezcano (2): thermal/debugfs: Add thermal cooling device debugfs information thermal/debugfs: Add thermal debugfs information for mitigation episodes Di Shen (1): thermal: gov_power_allocator: avoid inability to reset a cdev Rafael J. Wysocki (6): thermal: netlink: Pass pointers to thermal_notify_tz_trip_change() thermal: netlink: Pass pointers to thermal_notify_tz_trip_up/down() thermal: netlink: Drop thermal_notify_tz_trip_add/delete() thermal: netlink: Pass thermal zone pointer to notify routines thermal: netlink: Rework notify API for cooling devices thermal: helpers: Rearrange thermal_cdev_set_cur_state() Ricardo Neri (1): thermal: intel: hfi: Add syscore callbacks for system-wide PM --------------- drivers/thermal/Kconfig | 7 + drivers/thermal/Makefile | 2 + drivers/thermal/gov_power_allocator.c | 2 +- drivers/thermal/intel/intel_hfi.c | 28 ++ drivers/thermal/thermal_core.c | 38 +- drivers/thermal/thermal_core.h | 1 + drivers/thermal/thermal_debugfs.c | 839 ++++++++++++++++++++++++++++++++++ drivers/thermal/thermal_debugfs.h | 28 ++ drivers/thermal/thermal_helpers.c | 21 +- drivers/thermal/thermal_netlink.c | 95 ++-- drivers/thermal/thermal_netlink.h | 75 ++- drivers/thermal/thermal_trip.c | 8 +- include/linux/thermal.h | 9 +- 13 files changed, 1026 insertions(+), 127 deletions(-)