Received: by 2002:ab2:6816:0:b0:1f9:5764:f03e with SMTP id t22csp2960518lqo; Tue, 21 May 2024 02:34:03 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCUsSBzPhcj9UYgO6KY4wTiVx8KQxkjUvhfe8kGbPnD0Kbi3qFcxWJDlXAoovvQkn3l3WPI9cFX4F+JhlGM1nBccBmF256FJFoKkEE8ZvA== X-Google-Smtp-Source: AGHT+IHmEXGjYXH7JILpNXhwDhMPVsp7e5QuoCpiUwLTj6azIbwPM/vVtEgrE94xWiad4hRRcR6b X-Received: by 2002:a17:902:b607:b0:1e5:c06b:3330 with SMTP id d9443c01a7336-1ef43d29b42mr299062875ad.24.1716284043290; Tue, 21 May 2024 02:34:03 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1716284043; cv=pass; d=google.com; s=arc-20160816; b=jFuPfyZItvrbAHi45yKVSFqQp2OxO4US/oXm6h9Rvx2ssCcJiLbPaqbCFYaLUZG1Ky Eb37GOXl59yKqPSMLBatSgu3qXJ4IgT/aDuO2qGnRQJIXgYW+66SR/tZfw5nBPwb4Vvw 42uNm3Uwzm6/oCDGo21UiXtWOTZIWjg9MOqo3diXbghwkTxZ/kQ28aoKprkDsti38VX+ vAf33QHu+EPtHQmBKsnUI7bvuzCQZMrHJDNzKCgXfPnq8EzWM7RXOj72bKvqcIr+NwbO /eoVAAV3VIIHzkhpYH55KlduBJx65cNK+L95vnIoBH0p/cEIbBHdjLza1f2OqEApLb7a HyVA== 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=aQIonFiyimr/vXfvpUVIhzyCeXGQF1p/LyUKhvHLSD0=; fh=rJX17Gvs3TH/FFoAsCJCprUtNYLJAkilGyyUeY8N5Ow=; b=S+lOQGpPMZ7AG8Z6PCN5yNlTCMkF45g+9q9BuH6q4IVY+f06f0/U+gsQ/ZDl1KOMot 7ZGFOIu+fewLGH54ldF+Zxi0alHhLdvawPk0/bmPx6qJFSM3sOYuuTwxG/Sn1TAphbLT /Se2PaHdLnvwYdaWgDy4lEri0cXSq2macT7PrUcAAzc3ROioYk+vYyezl0ZqPmLOnhxx ENq5kaXcQpHzol88wx86dGxiiXL5ZGxkkI+sJuyOS2nnV3g64LDf02bfXaKb+hy3nZSj ct8mqZQaP87/RxaGKwz4YcISE7NJGb9HxAkYs8jea5LqNWjYWzrXZ+QYbpOHt68tHTjB yjlA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=SaYLpm+n; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-184710-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-184710-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.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 d9443c01a7336-1f305b09199si26878625ad.573.2024.05.21.02.34.03 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 21 May 2024 02:34:03 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-184710-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=@kernel.org header.s=k20201202 header.b=SaYLpm+n; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-184710-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-184710-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 sv.mirrors.kernel.org (Postfix) with ESMTPS id 205C1281404 for ; Tue, 21 May 2024 09:34:02 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 27C3F6024A; Tue, 21 May 2024 09:33:57 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="SaYLpm+n" 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 4CAF63B1A1; Tue, 21 May 2024 09:33:56 +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=1716284036; cv=none; b=VSKlrluFk90AcBruIp0SP8UF43MKoHkCLZiRizIvkhVN7EwlNFh0Kjc05ZISvcb1Mm73AJCXQaQEFlJ7qGjOeIYAAe137TmHgUB9eBlr6C9YcJOi21csDvsybZEb3l+SQKO0eWnJi9YU46jfa5rIGgEfcKekinVxRf7PajFnyUk= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1716284036; c=relaxed/simple; bh=B1Gn79WQQ8yvHOCpRPqpniMSnY0uNccKCYimm+T2ocQ=; h=MIME-Version:From:Date:Message-ID:Subject:To:Cc:Content-Type; b=Jrsi+VD/chmdlpyNVrliUuvbCoGvv08iaj00jNLMILldP+MWVgqPMOBvUt0wc40KCBRmrHWG9Y34j9zlhe77KFYUODSBka0SIFCzL3z9IULTkUJ7GggZ2xlIfl3ES/7d4wDlnA7bzMmQJ1ub/L2vhN7fTvfDL4O8qSl4R37BZRQ= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=SaYLpm+n; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 2BE81C2BD11; Tue, 21 May 2024 09:33:56 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1716284036; bh=B1Gn79WQQ8yvHOCpRPqpniMSnY0uNccKCYimm+T2ocQ=; h=From:Date:Subject:To:Cc:From; b=SaYLpm+np8Eq2B3d/+pQETfG/1q3P1AwwEnZ25iIdqrosyjGHR8hrdBPWP/bhFEw8 4XOwzZpuDkQ97Gkblrkot8stwmLl2qwQBn0cTAi9aAtYk6yC4VxuYUJYxFl1mgT5qG wD5p6B4afSZ+8tgaXzVfxkjX82VmhTiZAtY4dB0cEHNWppdrrOrgCA4cVokFACPgke UkBWRFSV1WP2U8qFdYqkSfweaImc/vhnQTt8sMogc+LkN9xBOgbMLiKj8bQSHftYj6 mF/Bd6kIW2NdwDGuzr7cq1RForsvBEpyXwiBzRx1XE0DIilHBD/nfRJSDW8Hm5CoL/ fv7dlW2Vexavg== Received: by mail-oo1-f41.google.com with SMTP id 006d021491bc7-5b2e8d73bfcso387369eaf.1; Tue, 21 May 2024 02:33:56 -0700 (PDT) X-Forwarded-Encrypted: i=1; AJvYcCUiRzs5H/uCgaVovi4Tid2iXoF9GN031vQ6XKUbwsVMCwHEikdv2azjDOSBz9MEJ16KtZz1A3EGqwgUkJ87NMCNlz/3DK07lq3J8XN/ X-Gm-Message-State: AOJu0YzwWh9UuEamGuM4OGSqlkI8f7xfoQvtMUttvoTmNKD1jggaGzIU Pt5SOd+rtt3CijiAsaTkcFpf+U/oY3zaFBnyZa6OEhclCcSAPcvYc4ae6EW/g/Zj3Su5YwRCYRY oNgVRf3kcxHnCs6qEryjAlFp0In0= X-Received: by 2002:a4a:d10e:0:b0:5b2:7e47:e914 with SMTP id 006d021491bc7-5b2815e04cemr33416100eaf.0.1716284035446; Tue, 21 May 2024 02:33:55 -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: Tue, 21 May 2024 11:33:44 +0200 X-Gmail-Original-Message-ID: Message-ID: Subject: [GIT PULL] Thermal control fixes for v6.10-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.10-rc1-2 with top-most commit 8c69a777e480174b1fdd75dab5ad584454dd6555 thermal: core: Fix the handling of invalid trip points on top of commit f952b6c863090464c148066df9f46cb3edd603da Merge tag 'thermal-6.10-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm to receive thermal control fixes for 6.10-rc1. These fix the MediaTek lvts_thermal driver and the handling of trip points that start as invalid and are adjusted later by user space via sysfs. Specifics: - Fix and clean up the MediaTek lvts_thermal driver (Julien Panis). - Prevent invalid trip point handling from triggering spurious trip point crossing events and allow passive polling to stop when a passive trip point involved in it becomes invalid (Rafael Wysocki). Thanks! --------------- Julien Panis (3): thermal/drivers/mediatek/lvts_thermal: Check NULL ptr on lvts_data thermal/drivers/mediatek/lvts_thermal: Remove unused members from struct lvts_ctrl_data thermal/drivers/mediatek/lvts_thermal: Fix wrong lvts_ctrl index Rafael J. Wysocki (1): thermal: core: Fix the handling of invalid trip points --------------- drivers/thermal/mediatek/lvts_thermal.c | 15 +++++++++------ drivers/thermal/thermal_core.c | 9 ++++++++- drivers/thermal/thermal_trip.c | 18 ++++++++++++++++++ 3 files changed, 35 insertions(+), 7 deletions(-)