From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-15.6 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_PULL_REQUEST, MAILING_LIST_MULTI,MENTIONS_GIT_HOSTING,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED, USER_AGENT_SANE_1 autolearn=unavailable autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 2309CC433E1 for ; Mon, 3 Aug 2020 21:44:25 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 2F209208C7 for ; Mon, 3 Aug 2020 21:44:25 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="jn/+eZrV" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728814AbgHCVoY (ORCPT ); Mon, 3 Aug 2020 17:44:24 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43720 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728038AbgHCVoX (ORCPT ); Mon, 3 Aug 2020 17:44:23 -0400 Received: from mail-wm1-x343.google.com (mail-wm1-x343.google.com [IPv6:2a00:1450:4864:20::343]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id F2D42C061756 for ; Mon, 3 Aug 2020 14:44:22 -0700 (PDT) Received: by mail-wm1-x343.google.com with SMTP id x5so878192wmi.2 for ; Mon, 03 Aug 2020 14:44:22 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=to:cc:from:subject:message-id:date:user-agent:mime-version :content-language:content-transfer-encoding; bh=yCdHtgnMm63zVeGJziowVfsBeAvNYTRHKplgeoaFkb4=; b=jn/+eZrVkmkqTrg1LaN5e3FXF4+keQy4miRQb/FqHHnTqrTqQRQjKi92ZHc346xB9/ I8EovWTH3ibpATtjRqMu9XEuMm7XyvV8UrE0w3NYYabzVth281jSiZbfry2NtqOO49lO ChzCmLcDZX7foL062faWavR4CX+R3SmRRLlhre898HMuHg4VHTqbfYvpACLUHdAHTyJJ S6W8VYSU7Ea1kHLNNw58paQ3OVAji8HppEuuvzOIblXbqfSWO7K4Pp0esGYrIN2vUEfz jRMY5L0D+1SYYMsoXCSzAgCtdu71JTZPAzF2oxEQM3pDZTPpoVdxvD13R+KcMjhVkjod v5GQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:to:cc:from:subject:message-id:date:user-agent :mime-version:content-language:content-transfer-encoding; bh=yCdHtgnMm63zVeGJziowVfsBeAvNYTRHKplgeoaFkb4=; b=ZKzU/KGyBc9VCxDNzCMZmfEpcVRzD0Q6p0ovMuqV2qcEDPW8iN6neEPmwz32RLbVaO svfVo4x3jcHyphM5gfF7DD4ZOm8J4OynCd8pWOaOHKkQHH/OD4A98mXgGoYAMk2CInZH aZg1/JpEJZP3l262GuydMlmp0rD+9L5P95MvEQMq5Rf+B6F19SzzLWHdpZ5Vqvh/RWoV BNl5eciiSZO5igjpDNxlB0j8+kEzsmkpim4MP7PYhe01cyiwgxSvtXYOzqGUbXcv/pZ+ m4HHywqJ5DemVMWkUV3BWHw05YRea+FP7ag/Db1DL8m3tuHCGXTrCGXaAwTdw9FwLJwI C7Vg== X-Gm-Message-State: AOAM5319vXCmqqQj5XOaVb0bxFLq2nGC6M30YP8jG/+zMifV4yi6rvMz k6m6ZDFtrZ/e2QAdESKkYmMIog== X-Google-Smtp-Source: ABdhPJz+m9iWFUQGO9pwUiDORjIkzgjwrxrfRS1hRYK3ywTh0yudh6eW0B4tWlKKekg7rZ+yTcl8vw== X-Received: by 2002:a1c:4e0d:: with SMTP id g13mr998387wmh.177.1596491061313; Mon, 03 Aug 2020 14:44:21 -0700 (PDT) Received: from ?IPv6:2a01:e34:ed2f:f020:4d35:b6a4:4754:61f2? ([2a01:e34:ed2f:f020:4d35:b6a4:4754:61f2]) by smtp.googlemail.com with ESMTPSA id j4sm1405436wmi.48.2020.08.03.14.44.19 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 03 Aug 2020 14:44:20 -0700 (PDT) To: Linus Torvalds Cc: Zhang Rui , Amit Kucheria , Andrzej Pietrasiewicz , Daniel Lezcano , Colin King , Shawn Guo , Lukasz Luba , Sumeet Pawnikar , Henry Yen , Thierry Reding , Linux Kernel Mailing List , Linux PM mailing list , Marian-Cristian Rotariu From: Daniel Lezcano Subject: [GIT PULL] thermal for v5.9-rc1 Message-ID: <0b3dd92e-0aa0-6f23-fcef-178f2bf6a1c1@linaro.org> Date: Mon, 3 Aug 2020 23:44:19 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.10.0 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org The following changes since commit bcf876870b95592b52519ed4aafcf9d95999bc9c: Linux 5.8 (2020-08-02 14:21:45 -0700) are available in the Git repository at: ssh://git@gitolite.kernel.org/pub/scm/linux/kernel/git/thermal/linux.git tags/thermal-v5.9-rc1 for you to fetch changes up to aac5cac9851aa6b526c6ab3acb80ec7fb6646df8: thermal: intel: intel_pch_thermal: Add Cannon Lake Low Power PCH support (2020-08-03 23:16:28 +0200) ---------------------------------------------------------------- - Add support to enable/disable the thermal zones resulting on core code and drivers cleanup (Andrzej Pietrasiewicz) - Add generic netlink support for userspace notifications: events, temperature and discovery commands (Daniel Lezcano) - Fix redundant initialization for a ret variable (Colin Ian King) - Remove the clock cooling code as it is used nowhere (Amit Kucheria) - Add the rcar_gen3_thermal's r8a774e1 support (Marian-Cristian Rotariu) - Replace all references to thermal.txt in the documentation to the corresponding yaml files (Amit Kucheria) - Add maintainer entry for the IPA (Lukasz Luba) - Add support for MSM8939 for the tsens (Shawn Guo) - Update power allocator and devfreq cooling to SPDX licensing (Lukasz Luba) - Add Cannon Lake Low Power PCH support (Sumeet Pawnikar) - Add tsensor support for V2 mediatek thermal system (Henry Yen) - Fix thermal zone lookup by ID for the core code (Thierry Reding) ---------------------------------------------------------------- Amit Kucheria (2): thermal/drivers/clock_cooling: Remove clock_cooling code dt-bindings: thermal: Get rid of thermal.txt and replace references Andrzej Pietrasiewicz (14): acpi: thermal: Fix error handling in the register function thermal: Store thermal mode in a dedicated enum thermal: Add current mode to thermal zone device thermal: Store device mode in struct thermal_zone_device thermal: remove get_mode() operation of drivers thermal: Add mode helpers thermal: Use mode helpers in drivers thermal: Explicitly enable non-changing thermal zone devices thermal: core: Stop polling DISABLED thermal devices thermal: Simplify or eliminate unnecessary set_mode() methods thermal: Rename set_mode() to change_mode() acpi: thermal: Don't call thermal_zone_device_is_enabled() thermal: imx: Use driver's local data to decide whether to run a measurement thermal: Make thermal_zone_device_is_enabled() available to core only Anson Huang (1): thermal: imx8mm: Support module autoloading Colin Ian King (1): thermal: core: remove redundant initialization of variable ret Dan Carpenter (1): thermal: ti-soc-thermal: Fix reversed condition in ti_thermal_expose_sensor() Daniel Lezcano (9): thermal: core: Add helpers to browse the cdev, tz and governor list thermal: core: Get thermal zone by id thermal: core: genetlink support for events/cmd/sampling thermal: core: Add notifications call in the framework thermal: netlink: Fix compilation error when CONFIG_NET=n net: genetlink: Move initialization to core_initcall thermal: netlink: Improve the initcall ordering thermal: core: Move initialization after core initcall thermal: core: Add thermal zone enable/disable notification Henry Yen (2): thermal: mediatek: Prepare to add support for other platforms thermal: mediatek: Add tsensor support for V2 thermal system Konrad Dybcio (1): dt-bindings: tsens: qcom: Document MSM8939 compatible Lukas Bulwahn (1): MAINTAINERS: update entry to thermal governors file name prefixing Lukasz Luba (2): MAINTAINERS: Add maintenance information for IPA thermal: Update power allocator and devfreq cooling to SPDX licensing Marian-Cristian Rotariu (1): thermal: rcar_gen3_thermal: Add r8a774e1 support Niklas Söderlund (1): thermal: rcar_gen3_thermal: Do not shadow thcode variable Shawn Guo (1): thermal: qcom: tsens-v0_1: Add support for MSM8939 Sumeet Pawnikar (2): thermal: int340x: processor_thermal: fix: update Jasper Lake PCI id thermal: intel: intel_pch_thermal: Add Cannon Lake Low Power PCH support Thierry Reding (1): thermal: core: Fix thermal zone lookup by ID Documentation/devicetree/bindings/arm/arm,scmi.txt | 2 +- Documentation/devicetree/bindings/arm/arm,scpi.txt | 2 +- .../devicetree/bindings/arm/freescale/fsl,scu.txt | 2 +- .../arm/marvell/ap80x-system-controller.txt | 2 +- .../arm/marvell/cp110-system-controller.txt | 2 +- .../devicetree/bindings/cpufreq/cpufreq-dt.txt | 3 +- .../bindings/cpufreq/cpufreq-mediatek.txt | 4 +- .../bindings/cpufreq/nvidia,tegra20-cpufreq.txt | 2 +- .../devicetree/bindings/hwmon/gpio-fan.txt | 3 +- Documentation/devicetree/bindings/hwmon/lm90.txt | 4 +- .../bindings/thermal/allwinner,sun8i-a83t-ths.yaml | 2 +- .../bindings/thermal/amazon,al-thermal.txt | 2 +- .../bindings/thermal/brcm,avs-ro-thermal.yaml | 2 +- .../bindings/thermal/brcm,bcm2835-thermal.txt | 2 +- .../bindings/thermal/hisilicon-thermal.txt | 2 +- .../bindings/thermal/max77620_thermal.txt | 6 +- .../bindings/thermal/mediatek-thermal.txt | 2 +- .../bindings/thermal/nvidia,tegra124-soctherm.txt | 10 +- .../thermal/nvidia,tegra186-bpmp-thermal.txt | 2 +- .../bindings/thermal/qcom-spmi-temp-alarm.txt | 2 +- .../devicetree/bindings/thermal/qcom-tsens.yaml | 1 + .../bindings/thermal/rockchip-thermal.txt | 2 +- .../devicetree/bindings/thermal/tango-thermal.txt | 2 +- .../bindings/thermal/thermal-generic-adc.txt | 2 +- .../devicetree/bindings/thermal/thermal.txt | 586 ------------------- MAINTAINERS | 8 + drivers/acpi/thermal.c | 76 +-- drivers/net/ethernet/chelsio/cxgb4/cxgb4_thermal.c | 8 + drivers/net/ethernet/mellanox/mlxsw/core_thermal.c | 91 +-- drivers/net/wireless/intel/iwlwifi/mvm/tt.c | 9 +- drivers/platform/x86/acerhdf.c | 33 +- drivers/platform/x86/intel_mid_thermal.c | 6 + drivers/power/supply/power_supply_core.c | 9 +- drivers/thermal/Kconfig | 20 +- drivers/thermal/Makefile | 6 +- drivers/thermal/armada_thermal.c | 6 + drivers/thermal/clock_cooling.c | 445 -------------- drivers/thermal/da9062-thermal.c | 16 +- drivers/thermal/devfreq_cooling.c | 10 +- drivers/thermal/dove_thermal.c | 6 + drivers/thermal/gov_power_allocator.c | 9 +- drivers/thermal/hisi_thermal.c | 6 +- drivers/thermal/imx8mm_thermal.c | 1 + drivers/thermal/imx_thermal.c | 60 +- .../intel/int340x_thermal/int3400_thermal.c | 38 +- .../intel/int340x_thermal/int340x_thermal_zone.c | 5 + .../int340x_thermal/processor_thermal_device.c | 2 +- drivers/thermal/intel/intel_pch_thermal.c | 8 + drivers/thermal/intel/intel_quark_dts_thermal.c | 34 +- drivers/thermal/intel/intel_soc_dts_iosf.c | 3 + drivers/thermal/intel/x86_pkg_temp_thermal.c | 6 + drivers/thermal/kirkwood_thermal.c | 7 + drivers/thermal/mtk_thermal.c | 234 ++++++-- drivers/thermal/qcom/tsens-v0_1.c | 144 ++++- drivers/thermal/qcom/tsens.c | 3 + drivers/thermal/qcom/tsens.h | 2 +- drivers/thermal/rcar_gen3_thermal.c | 10 +- drivers/thermal/rcar_thermal.c | 9 +- drivers/thermal/rockchip_thermal.c | 6 +- drivers/thermal/spear_thermal.c | 7 + drivers/thermal/sprd_thermal.c | 6 +- drivers/thermal/st/st_thermal.c | 5 + drivers/thermal/thermal_core.c | 174 +++++- drivers/thermal/thermal_core.h | 15 + drivers/thermal/thermal_helpers.c | 13 +- drivers/thermal/thermal_netlink.c | 647 +++++++++++++++++++++ drivers/thermal/thermal_netlink.h | 104 ++++ drivers/thermal/thermal_of.c | 41 +- drivers/thermal/thermal_sysfs.c | 52 +- drivers/thermal/ti-soc-thermal/ti-thermal-common.c | 2 +- include/linux/clock_cooling.h | 57 -- include/linux/devfreq_cooling.h | 9 +- include/linux/thermal.h | 31 +- include/uapi/linux/thermal.h | 89 ++- net/netlink/genetlink.c | 2 +- 75 files changed, 1632 insertions(+), 1609 deletions(-) delete mode 100644 Documentation/devicetree/bindings/thermal/thermal.txt delete mode 100644 drivers/thermal/clock_cooling.c create mode 100644 drivers/thermal/thermal_netlink.c create mode 100644 drivers/thermal/thermal_netlink.h delete mode 100644 include/linux/clock_cooling.h -- Linaro.org │ Open source software for ARM SoCs Follow Linaro: Facebook | Twitter | Blog