Received: by 2002:a25:86ce:0:0:0:0:0 with SMTP id y14csp2541184ybm; Thu, 23 May 2019 19:44:21 -0700 (PDT) X-Google-Smtp-Source: APXvYqx+4O8QK8dh+gFFqsokeCBgtt6eUsWYiPmI7ouDiaugsctiAELmfcZbl0GnXfIHBLUSVV5O X-Received: by 2002:a17:902:2de4:: with SMTP id p91mr86525229plb.300.1558665861807; Thu, 23 May 2019 19:44:21 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1558665861; cv=none; d=google.com; s=arc-20160816; b=TGF1fnN7ehu0MGEBKLKxt7UMyIKfdPDTYOexVveMm6oKd3J6XbL6s47sV9n/m2eHxz HJ80kK4X6TM11Cp7DU0OOT5OWKmesD2VvvayH1MskDOJkQOhYi82PArZ5GyqNaJmwSKd /ncIbGfprWM6qJPbTa6rUOosVmcAlGbuKEdsV8qba/ycfwB9aWTu1lHCG6pGRWpRnLXM iUIYc+/YDLKf+BgRFSk5hoJd4PJJvTwKToE7ASKYNffXv7JaI5CeC7jxrB9tiZl+v+jq FHPWNKzWi1LY+tN0Qxcok0tnVFMVvWOrnsOy8ZW43n+sJTwJuVhpsseNRGailASCT7Ry hXcA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=vsBE981HWgOZqhVxqvwlEgF1irWPt0o7DwH8BYcX4q4=; b=Pa5VVxSrPV87W3Lln27RN+xD4ysyfAm308nHsJRnY2OnAo3sxc3D1XNMzadB9hoC+6 zgy9AvO9O/CI/24Nz3n7nUd/9j0Um5DtLTaR49xx2IlK+tN7+IyWMbcpE27qCsrbffu/ QfExq/UmWySixPNthyyKDUVf3Yc1tU0spthZUksXQsoaN/x0Pq86XTqg8k23sZgSPMbv Igvy0x/ywnAPhHKMit8yudwpEOVdMrA4sbpOx/hPJPLMiF2icYspJWCurt0w7gb1I/lf /mGjiX3j4CL2HzgNP4qDaRwjv6JaGzqlrQTX3h8R+CBv+zLLRHhDvjM5NYmj0kAU7Aog OQyg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=KAVgu0sF; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id d124si2350029pfd.29.2019.05.23.19.44.01; Thu, 23 May 2019 19:44:21 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=KAVgu0sF; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1731795AbfEXCkw (ORCPT + 99 others); Thu, 23 May 2019 22:40:52 -0400 Received: from mail-pf1-f193.google.com ([209.85.210.193]:34647 "EHLO mail-pf1-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1731697AbfEXCkv (ORCPT ); Thu, 23 May 2019 22:40:51 -0400 Received: by mail-pf1-f193.google.com with SMTP id n19so4372886pfa.1; Thu, 23 May 2019 19:40:50 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to:user-agent; bh=vsBE981HWgOZqhVxqvwlEgF1irWPt0o7DwH8BYcX4q4=; b=KAVgu0sFSNcuScLKvFe9coMK0mEbd9yIJko9q+x3Ax+qvptu+ufolBbNq+57YV1XwH cZdoPCk4Wmce/9pTVLOYfCEcNqJkS0sIjPRPvLFzi7pCB0vcGg9F5i9El6AWOZ/MtXdw k1FHzdBSiF0ZSbD1wjEXdXD0yJxlH1wn3I0I0uQdn7NFfKgUpHkOAqNrSVJakCOBgxcc VcO8fgZ3lQOOrXiT7QYWkS2sXK3gPcvbYprTvNuCgRlLsbN4ouEo0IKJ5LF0tVT8TE++ ZWy5DOUFAWKJR6mGshXrFFjJIpCvXEIZfnLL5teOoJF2U9SWGkZECDCdp9ZyiXEB53EJ 2zJw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=vsBE981HWgOZqhVxqvwlEgF1irWPt0o7DwH8BYcX4q4=; b=N1F8LSRqQaf8ywVxeOoVzeIX04ZfyyPgDhknZSEhwXEZMdUrVtmrVAhSx8uJWmMxkf 5p4URcfRhH74GRlrM52RF77JVpSS9EdTwSzK6TpRBwXQD3muEv6TVhp1bWvUzBw0cZ6I BBSeL4dZ7jpLj1tXxstWiYbxP7pBtTkIh1zuwt/IhAUZ8uyC/VWkhiiT3yNXzgg5UPxe dr/9dfRHvcLNA0ScTkIbM0OEXehLEWm6z4X4BknYmwm5N/yJgKnJ+uaKlyRlFvkr5WI+ to9IEU7l0I8XOeeWqiGtIz+VElSEM5qn0vFKi7wXb45XxOH3+e7B18CT1sNd3Nmwr33j +j5w== X-Gm-Message-State: APjAAAWLiZMnLngsbG6cwOl7ZQEAHWvVRnN81/AI/6EpCMopp9DltSZo IVUsFgWrP4j3CEaCl0PqUU3JdLjP X-Received: by 2002:a62:e205:: with SMTP id a5mr71662432pfi.40.1558665649787; Thu, 23 May 2019 19:40:49 -0700 (PDT) Received: from localhost.localdomain ([2601:644:8201:32e0:7256:81ff:febd:926d]) by smtp.gmail.com with ESMTPSA id u1sm800339pfh.85.2019.05.23.19.40.49 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 23 May 2019 19:40:49 -0700 (PDT) Date: Thu, 23 May 2019 19:40:47 -0700 From: Eduardo Valentin To: Tomeu Vizoso Cc: Linus Torvalds , Rui Zhang , ACPI Devel Maling List , Linux PM , LKML Subject: Re: [GIT PULL] Thermal-SoC management changes for v5.2-rc1 Message-ID: <20190524024047.GE1936@localhost.localdomain> References: <20190516044313.GA17751@localhost.localdomain> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.23 (2014-03-12) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, May 23, 2019 at 11:46:47AM +0200, Tomeu Vizoso wrote: > Hi Eduardo, > > I saw that for 5.1 [0] you included a kernelci boot report for your > tree, but not for 5.2. Have you found anything that should be improved > in KernelCI for it to be more useful to maintainers like you? Honestly, I take a couple of automated testing as input before sending my pulls to Linux: (a) my local test, (b) kernel-ci, and (c) 0-day. There was really no reason specifically for me to not add the report from kernelci, except.. > > [0] https://lore.kernel.org/lkml/20190306161207.GA7365@localhost.localdomain/ > > I found about this when trying to understand why the boot on the > veyron-jaq board has been broken in 5.2-rc1. > I remember a report saying this failed, but from what I could tell from the boot log, the board booted and hit terminal. But apparently, after all reports from developers, the veyron-jaq boards were in a hang state. That was hard for me to tell from your logs, as they looked like a regular boot that hits terminal. Maybe I should have looked for a specific output of a command you guys run, saying "successful boot" somewhere? > Thanks, > > Tomeu > > On Thu, 16 May 2019 at 06:43, Eduardo Valentin wrote: > > > > Hello Linus, > > > > Please consider the following thermal soc changes for v5.2-rc1. > > > > The following changes since commit 37624b58542fb9f2d9a70e6ea006ef8a5f66c30b: > > > > Linux 5.1-rc7 (2019-04-28 17:04:13 -0700) > > > > are available in the git repository at: > > > > git://git.kernel.org/pub/scm/linux/kernel/git/evalenti/linux-soc-thermal linus > > > > for you to fetch changes up to 37bcec5d9f71bd13142a97d2196b293c9ac23823: > > > > hwmon: (pwm-fan) Use devm_thermal_of_cooling_device_register (2019-05-14 07:00:47 -0700) > > > > Specifics: > > - thermal core has a new devm_* API for registering cooling devices, thanks to Guenter R. > > I took the entire series, that is why you see changes on drivers/hwmon in this pull. > > - rockchip thermal driver gains support to PX30 SoC, thanks to Elaine Z. > > - the generic-adc thermal driver now considers the lookup table DT property as optional, > > thanks to Jean-Francois D. > > - Refactoring of tsens thermal driver, thanks to Amit K. > > - Cleanups on cpu cooling driver, thanks to Daniel L. > > - broadcom thermal driver dropped support to ACPI, thanks to Srinath M. > > - tegra thermal driver gains support to OC hw throttle and GPU throtle, thanks to Wei Ni. > > - Fixes in several thermal drivers. > > > > BR, > > > > Eduardo Valentin > > > > ---------------------------------------------------------------- > > Amit Kucheria (21): > > drivers: thermal: tsens: Document the data structures > > drivers: thermal: tsens: Rename tsens_data > > drivers: thermal: tsens: Rename tsens_device > > drivers: thermal: tsens: Rename variable tmdev > > drivers: thermal: tsens: Use consistent names for variables > > drivers: thermal: tsens: Function prototypes should have argument names > > drivers: thermal: tsens: Rename tsens-8916 to prepare to merge with tsens-8974 > > drivers: thermal: tsens: Rename constants to prepare to merge with tsens-8974 > > drivers: thermal: tsens: Merge tsens-8974 into tsens-v0_1 > > drivers: thermal: tsens: Introduce reg_fields to deal with register description > > drivers: thermal: tsens: Save reference to the device pointer and use it > > drivers: thermal: tsens: Don't print error message on -EPROBE_DEFER > > drivers: thermal: tsens: Add new operation to check if a sensor is enabled > > drivers: thermal: tsens: change data type for sensor IDs > > drivers: thermal: tsens: Introduce IP-specific max_sensor count > > drivers: thermal: tsens: simplify get_temp_tsens_v2 routine > > drivers: thermal: tsens: Move get_temp_tsens_v2 to allow sharing > > drivers: thermal: tsens: Common get_temp() learns to do ADC conversion > > dt: thermal: tsens: Add bindings for qcs404 > > drivers: thermal: tsens: Add generic support for TSENS v1 IP > > drivers: thermal: tsens: Move calibration constants to header file > > > > Andrey Smirnov (1): > > thermal: qoriq: Remove unnecessary DT node is NULL check > > > > Daniel Lezcano (4): > > thermal/drivers/cpu_cooling: Remove pointless test in power2state() > > thermal/drivers/cpu_cooling: Fixup the header and copyright > > thermal/drivers/cpu_cooling: Add Software Package Data Exchange (SPDX) > > thermal/drivers/cpu_cooling: Remove pointless field > > > > Elaine Zhang (3): > > thermal: rockchip: fix up the tsadc pinctrl setting error > > dt-bindings: rockchip-thermal: Support the PX30 SoC compatible > > thermal: rockchip: Support the PX30 SoC in thermal driver > > > > Enrico Weigelt, metux IT consult (1): > > drivers: thermal: Kconfig: pedantic cleanups > > > > Guenter Roeck (6): > > thermal: Introduce devm_thermal_of_cooling_device_register > > hwmon: (aspeed-pwm-tacho) Use devm_thermal_of_cooling_device_register > > hwmon: (gpio-fan) Use devm_thermal_of_cooling_device_register > > hwmon: (mlxreg-fan) Use devm_thermal_of_cooling_device_register > > hwmon: (npcm750-pwm-fan) Use devm_thermal_of_cooling_device_register > > hwmon: (pwm-fan) Use devm_thermal_of_cooling_device_register > > > > Hoan Nguyen An (1): > > thermal: rcar_gen3_thermal: Fix init value of IRQCTL register > > > > Jean-Francois Dagenais (2): > > thermal: generic-adc: make lookup table optional > > dt-bindings: thermal: generic-adc: make lookup-table optional > > > > Jiada Wang (3): > > thermal: rcar_gen3_thermal: fix interrupt type > > thermal: rcar_gen3_thermal: disable interrupt in .remove > > thermal: rcar_gen3_thermal: Fix to show correct trip points number > > > > Matthias Kaehlcke (1): > > thermal: cpu_cooling: Actually trace CPU load in thermal_power_cpu_get_power > > > > Srinath Mannam (1): > > thermal: broadcom: Remove ACPI support > > > > Talel Shenhar (3): > > dt-bindings: thermal: al-thermal: Add binding documentation > > thermal: Introduce Amazon's Annapurna Labs Thermal Driver > > thermal: Fix build error of missing devm_ioremap_resource on UM > > > > Wei Ni (9): > > of: Add bindings of thermtrip for Tegra soctherm > > thermal: tegra: support hw and sw shutdown > > of: Add bindings of gpu hw throttle for Tegra soctherm > > thermal: tegra: add support for gpu hw-throttle > > thermal: tegra: add support for thermal IRQ > > thermal: tegra: add set_trips functionality > > thermal: tegra: add support for EDP IRQ > > of: Add bindings of OC hw throttle for Tegra soctherm > > thermal: tegra: enable OC hw throttle > > > > Wolfram Sang (1): > > thermal: stm32: simplify getting .driver_data > > > > Yangtao Li (1): > > of: thermal: Improve print information > > > > Yoshihiro Kaneko (1): > > thermal: rcar_thermal: update calculation formula for R-Car Gen3 SoCs > > > > .../bindings/thermal/amazon,al-thermal.txt | 33 + > > .../bindings/thermal/nvidia,tegra124-soctherm.txt | 62 +- > > .../devicetree/bindings/thermal/qcom-tsens.txt | 14 + > > .../bindings/thermal/rockchip-thermal.txt | 1 + > > .../bindings/thermal/thermal-generic-adc.txt | 10 +- > > MAINTAINERS | 6 + > > drivers/hwmon/aspeed-pwm-tacho.c | 6 +- > > drivers/hwmon/gpio-fan.c | 25 +- > > drivers/hwmon/mlxreg-fan.c | 31 +- > > drivers/hwmon/npcm750-pwm-fan.c | 6 +- > > drivers/hwmon/pwm-fan.c | 73 +- > > drivers/thermal/Kconfig | 11 + > > drivers/thermal/Makefile | 1 + > > drivers/thermal/broadcom/sr-thermal.c | 8 - > > drivers/thermal/cpu_cooling.c | 30 +- > > drivers/thermal/of-thermal.c | 3 + > > drivers/thermal/qcom/Makefile | 4 +- > > drivers/thermal/qcom/tsens-8916.c | 105 --- > > drivers/thermal/qcom/tsens-8960.c | 84 +- > > drivers/thermal/qcom/tsens-common.c | 159 +++- > > .../thermal/qcom/{tsens-8974.c => tsens-v0_1.c} | 166 +++- > > drivers/thermal/qcom/tsens-v1.c | 193 +++++ > > drivers/thermal/qcom/tsens-v2.c | 111 +-- > > drivers/thermal/qcom/tsens.c | 100 ++- > > drivers/thermal/qcom/tsens.h | 291 ++++++- > > drivers/thermal/qoriq_thermal.c | 5 - > > drivers/thermal/rcar_gen3_thermal.c | 51 +- > > drivers/thermal/rcar_thermal.c | 11 +- > > drivers/thermal/rockchip_thermal.c | 74 +- > > drivers/thermal/st/Kconfig | 22 +- > > drivers/thermal/st/stm_thermal.c | 6 +- > > drivers/thermal/tegra/Kconfig | 4 +- > > drivers/thermal/tegra/soctherm.c | 961 +++++++++++++++++++-- > > drivers/thermal/tegra/soctherm.h | 16 + > > drivers/thermal/tegra/tegra124-soctherm.c | 7 +- > > drivers/thermal/tegra/tegra132-soctherm.c | 7 +- > > drivers/thermal/tegra/tegra210-soctherm.c | 15 +- > > drivers/thermal/thermal-generic-adc.c | 9 +- > > drivers/thermal/thermal_core.c | 49 ++ > > drivers/thermal/thermal_mmio.c | 129 +++ > > include/dt-bindings/thermal/tegra124-soctherm.h | 8 +- > > include/linux/thermal.h | 13 + > > 42 files changed, 2330 insertions(+), 590 deletions(-) > > create mode 100644 Documentation/devicetree/bindings/thermal/amazon,al-thermal.txt > > delete mode 100644 drivers/thermal/qcom/tsens-8916.c > > rename drivers/thermal/qcom/{tsens-8974.c => tsens-v0_1.c} (56%) > > create mode 100644 drivers/thermal/qcom/tsens-v1.c > > create mode 100644 drivers/thermal/thermal_mmio.c