Received: by 2002:a89:413:0:b0:1fd:dba5:e537 with SMTP id m19csp810216lqs; Fri, 14 Jun 2024 06:29:15 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCXH29Dee8WYcL0ohX4jIjQOEjL/AfwVTNa1rQq8g8QCASkj4lJor7PJFSSmyWJylgUykN3WEMQtPNt8TeroNIK/uXzqnckRYaxrJsU8hg== X-Google-Smtp-Source: AGHT+IEvh8op6c/f7UQcq9nnJmbhsbSbGGMOJHPM+uzTLL292W0kJkuPpNShk6Ro34L2rBt59fl5 X-Received: by 2002:a05:6808:1a13:b0:3d2:1ce6:1ef5 with SMTP id 5614622812f47-3d24e8f1f7fmr3243839b6e.26.1718371754964; Fri, 14 Jun 2024 06:29:14 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1718371754; cv=pass; d=google.com; s=arc-20160816; b=TO0eDLccnc/u42GA9GMfYxM3zeBozWFBCpwnSioaqAhusTEsN/ZdWXGNxzq+/O4FbY 4yWnMymLTE3EaGlmwZDkJIQjM7H39s4FH0oVtfpGc9OPC2zl7QKeMbXFb9dbz80wQdMh eMVVIELw7eb8ZiaAeOE1aqKE2bJt0SP0sTCKBCWTYr5UwQF1leIvYbRJ2F3eENsNqNs9 zA5YVweoDND4SCyERM0R2iodSQ/+j7KpoLy+cN0osiVeqy2gGY2eICKezE09ZVDmrUtu MVqg2FLyESfq4CPLDhMe4toH8TrffFX5pdD5GVypFC+30lUsA9XCzbgyTmBl/W+Fpzbe oX4Q== ARC-Message-Signature: i=2; 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:dkim-signature; bh=3uLOY71WeU0doU8Tm4l48SayALexzn/DuAT1Vn4Exoo=; fh=JC53JMCvacKCi1AYEXh6oHgHmwKoutxPivNpq1/WK98=; b=DRfEpdif4XPTY5AdFAOxFJE8TS5Sp6lbUH1b+0UN4NdCoT6Q+mtgJow62I4uVUvwfZ fV2y9oRNpEaY47mNo3Lyyl8Cw1BlqbjGdOV72j7TjQ1ETLb88Z4x77O1tnjYJQ4ud0cM Ng1gsobKDGVPAkPFeozvc3TGwgRzG+2fMzOcrYE1KJAKTAVjKQNuU0DliPe5I8vSOBvd +2/34Oy5KF4+Ld/OK/jvbEkSrd7ReO1gBanPaHcwqzRgswste9h0czja8nUodljE7YJ/ B6i53ntHzhjtjvkEqzTJzuQnCLhJ4ecYYqyCgcqKUuBAn7Zy6aYItEuyg1RdduQjYiA7 7zow==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=pYboIbQb; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-214941-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-214941-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 d75a77b69052e-441f2eab10dsi40573301cf.317.2024.06.14.06.29.14 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 14 Jun 2024 06:29:14 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-214941-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=pass header.i=@kernel.org header.s=k20201202 header.b=pYboIbQb; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-214941-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-214941-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 A82BB1C22159 for ; Fri, 14 Jun 2024 13:29:14 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 383F419AA6D; Fri, 14 Jun 2024 13:29:07 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="pYboIbQb" Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (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 582FD146D77; Fri, 14 Jun 2024 13:29:06 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1718371746; cv=none; b=aRcOvr/xXZBkeNLdVL6z3Hia8kukExVklS5MgpQ52VEGVzBmg6W3FlgInI7MaNKOnrE0KGRPmkeEzTDVTRR8SelCP5R6hUe8yJ7hIaS0F0AdsfwVGljA3FUP7sBtnLFKWq97lVlt7SX/FUTco92+aU1/kxtajL25O/zodRiGEDQ= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1718371746; c=relaxed/simple; bh=R/dEK7erKuj5WmnEEvNZpMkqO7j2Mv4fvD8O9G4QDGQ=; h=MIME-Version:From:Date:Message-ID:Subject:To:Cc:Content-Type; b=s4gUbfSVUuiVtFrwyyjGLRrkjnqtXLJ+v4Xhs2NTwjVQIBgAaZe/WfQZvYAOjSDBWsoBkY15q7lCMQ3KsJszv25FcGqJ6ndUFCVW0xnDUcQp8o2dBMVA4swc88wepuH/LN5xnhIr+5Y2Zyz30WUfiz1z4uXIQxv85kNR/L5Ldrc= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=pYboIbQb; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id DBBC4C2BD10; Fri, 14 Jun 2024 13:29:05 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1718371745; bh=R/dEK7erKuj5WmnEEvNZpMkqO7j2Mv4fvD8O9G4QDGQ=; h=From:Date:Subject:To:Cc:From; b=pYboIbQbG3OBCvt4pItZwDvVRCiww1Ma63fV32uXxj9eTOBrLKIoACCw58M9uFNCE ZlmOnwGCGQEqhaiGYDibYR4rTBj0qOxju3Z/bwlK6+nFeYRNXPyYaAs5oNrGaaW9kW Gte/rRGOfk9Iem8xg9HpjqSAI+nkMUzFd/NbwSVCpeZ1dOpQcmBWJ7gErzH4C+/73c 9krUAp21mZldORxfZkN8D9AdCOnnVXdWskBdHisKkqkebaY++HXFQGVaLbGcLmewwO v1EjcK4M0ui9o6mye+sDoWU5tApaOogy5dh1Em8+fWVBM/iFMe0ljtglfLcMpRXUF9 O/BJVtXrJoKxg== Received: by mail-oi1-f177.google.com with SMTP id 5614622812f47-3d21c5b48f5so332710b6e.0; Fri, 14 Jun 2024 06:29:05 -0700 (PDT) X-Forwarded-Encrypted: i=1; AJvYcCUzwCJHj827BiDJMgqYkZBkdJfFUW56IpzqUUdE+/RB9Y7NbTayNY5adTThdxfocjkudfyNY8mTh9EwRsWH3IHCNClb5saG2G6BfUgwSAkXJsxgL3e1Ze6zu8t9JBu86tHhsC41Rw116Q== X-Gm-Message-State: AOJu0YzHQgKLjCeEtxBKX/UbOTcNwDY2IMcxtKJb6xwuzT6hC+U0RIjd uAzHB2Q2cJIS8y8Nbhr4KXC9JM2Tz3vuMRNyKsKp/lqNUR5pAQC8XFN9SqS615/plJtZ6yJQ7LY rDnEqHqq+nMTPQ7+otsZhmgsQehc= X-Received: by 2002:a05:6870:e8c3:b0:254:ac99:1151 with SMTP id 586e51a60fabf-258428f79c4mr2819192fac.2.1718371745087; Fri, 14 Jun 2024 06:29:05 -0700 (PDT) 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: Fri, 14 Jun 2024 15:28:53 +0200 X-Gmail-Original-Message-ID: Message-ID: Subject: [GIT PULL] Thermal control fixes for v6.10-rc4 To: Linus Torvalds Cc: Linux PM , Linux Kernel Mailing List , ACPI Devel Maling 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.10-rc4 with top-most commit b6846826982b9f2f2ad0e79540521b517469ee92 thermal: gov_step_wise: Restore passive polling management on top of commit ae2170d6ea96e652c7fb5689f1980986bf48b7b8 thermal: trip: Trigger trip down notifications when trips involved in mitigation become invalid to receive thermal control fixes for 6.10-rc4. These fix three issues introduced recently, two related to defects in ACPI tables supplied by the platform firmware and one cause by a thermal core change that went too far: - Prevent the thermal core from failing the registration of a cooling device if its .get_cur_state() reports an incorrect state to start with which may happen for fans handled through firmware-supplied AML in ACPI tables. - Make the ACPI thermal zone driver initialize all trip points with temperature of 0 centigrade and below as invalid because such trip point temperatures do not make sense on systems with ACPI thermal control and they cause performance regressions due to permanent thermal mitigations to occur. - Restore passive polling management in the Step-Wise thermal governor that uses it to ensure that all cooling devices used for thermal mitigation will go back to their initial states eventually. Thanks! --------------- Rafael J. Wysocki (3): thermal: core: Do not fail cdev registration because of invalid initial state thermal: ACPI: Invalidate trip points with temperature of 0 or below thermal: gov_step_wise: Restore passive polling management --------------- drivers/acpi/thermal.c | 8 +++++++- drivers/thermal/gov_step_wise.c | 17 +++++++++++++++++ drivers/thermal/thermal_core.c | 13 +++++++++++-- 3 files changed, 35 insertions(+), 3 deletions(-)