Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp3410068imu; Mon, 14 Jan 2019 02:29:15 -0800 (PST) X-Google-Smtp-Source: ALg8bN5qgVod0VWGVFPBJlsUTukLitG0pGrcRVxreWnb2xP2BXw2tZIhuwwnOGPt0KvQ7u/R7Nbj X-Received: by 2002:a17:902:15a8:: with SMTP id m37mr25046993pla.129.1547461755126; Mon, 14 Jan 2019 02:29:15 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1547461755; cv=none; d=google.com; s=arc-20160816; b=mzgFfLWXhNRZjulyw9jdpNZYy0na3Hs6ow526d5N16IH+S/N+lVfQJ51fWpcnHCQ26 W3Nlgc8sbaAfLk3/CWzwRY19BCM/xB7TevopTgmZkqqgjIgYzRcJ7mJeF46Grl03enVs DJSF7E5jJl6cwDfdY5kgn0iEl0FHYpPl3C56Tu9twKBYsMIYnS7GJXU0m1ip3P9c9gp3 QvsD6gh1jQDqH8II8UvnJiGni/cuzjL9HN+8z+9Emm5OlcO20kHrq8D2RPjrPq+z1sf0 LJ3KMik0Wut9YwARM4FNXmcYWknX2LBD6ObuFGzXRmVGNRRYSd2CDVnAH0MBvsWWGDGW Otxw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version; bh=66pnsJcjjtoff7kyX1q2rOaQSsSN+m5fm4jlCvbC+o8=; b=VZUrsY31TpPRGlOQtT7ETe36RUuooHvbqGc2Uh+0UzC2oRbmvLUfHCDSJsmQPBmaLQ 80H3slpl7bDQTsskDtgGcUIJz2XrsaR9+f3dyiqSzxz1OT65SPOipsAr25LjbAtBNeXl rXq9Tj5qspClgQc7rMo5/wdC9uDXyIkiBGX5+MNNXgFLCmzZz/VYpYmbEmgrh/uHTtMI k/wD5cIIoe49Xhhc7PsQgPKI8Ynn3webcSzFQFGtAOc51mBy8NkwPkyFHUCU/DFAr8WY 5Ho4smaUNTiBS3o4lWnSXrWU67Xu78iU07fipJpainSq+C1gqM/HtV4qSuu5siOsnGbs hwpQ== ARC-Authentication-Results: i=1; mx.google.com; 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=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id y10si119plt.406.2019.01.14.02.28.59; Mon, 14 Jan 2019 02:29:15 -0800 (PST) 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; 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=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726717AbfANK1a (ORCPT + 99 others); Mon, 14 Jan 2019 05:27:30 -0500 Received: from mail-ot1-f68.google.com ([209.85.210.68]:42754 "EHLO mail-ot1-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726064AbfANK1a (ORCPT ); Mon, 14 Jan 2019 05:27:30 -0500 Received: by mail-ot1-f68.google.com with SMTP id v23so18816876otk.9; Mon, 14 Jan 2019 02:27:29 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=66pnsJcjjtoff7kyX1q2rOaQSsSN+m5fm4jlCvbC+o8=; b=d1biCIt5JY7mp99KHCwjg4ldyS2aDs4MLTkJye7x0SuikyBuU1gXWhHmpgmpiX2aXS XAtg2fqGMLQm0URT0aX2REJ/Mcjk2U6GJ7RZ4GlV6GL0y/oJ9DKhx5AemGBxKcvu3SPd a+YNTG0gscULWdiB7fWEndcBi1VAxeTak9kDuTFzLGEwKT1ORynKmg/T9APSRkwk777X x3B9jCJSfdIaQzLT4MHR2CdRbpjBNTgOcUiPYKpv0AdEbtU4gLrM2QGOKUnQEFMF+IBW Sm3mkaR1sh0xGCbB//sRj6zHusup3A/pR9mswlYjVrcu4De+Rnz2kELxGJrk2YG6QkPK cL2g== X-Gm-Message-State: AJcUukfqWT+UjIm7/QbSAZcs79hVKWi37V/22kIYyH1WD+bsKcnrzUAV LpScqHhsMtia3+UgVXmymUuGpnHiFC1IMNGeyV8= X-Received: by 2002:a9d:5f06:: with SMTP id f6mr17157550oti.258.1547461649194; Mon, 14 Jan 2019 02:27:29 -0800 (PST) MIME-Version: 1.0 References: In-Reply-To: From: "Rafael J. Wysocki" Date: Mon, 14 Jan 2019 11:27:17 +0100 Message-ID: Subject: Re: [PATCH v2 0/9] Thermal throttling for SDM845 To: Amit Kucheria Cc: Linux Kernel Mailing List , linux-arm-msm , bjorn.andersson@linaro.org, Viresh Kumar , Eduardo Valentin , Andy Gross , Taniya Das , Stephen Boyd , Doug Anderson , Matthias Kaehlcke , "Rafael J. Wysocki" , Daniel Lezcano , David Brown , Javi Merino , Mark Rutland , Rob Herring , Zhang Rui , "open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS" , "open list:CPU FREQUENCY DRIVERS" Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Jan 14, 2019 at 11:22 AM Amit Kucheria wrote: > > Add support for thermal throttling on SDM845. > > We introduce a generic flag to be used by cpufreq drivers to tell the > cpufreq core to auto-register a thermal cooling device. > > There are a few miscellaneous fixes to keep checkpatch happy. > > If this approach is acceptable I can send a series converting other cpufreq > drivers to use this flag and get rid of driver code. > > Amit Kucheria (9): > [ALREADY QUEUED] cpufreq: qcom-hw: Move to device_initcall > drivers: thermal: of-thermal: Print name of device node with error > drivers: cpufreq: Add thermal_cooling_device pointer to struct > cpufreq_policy > cpufreq: Add a flag to auto-register a cooling device > cpufreq: Replace open-coded << with BIT() > cpufreq: qcom-hw: Register as a cpufreq cooling device > arm64: dts: sdm845: Increase alert trip point to 95 degrees > arm64: dts: sdm845: wireup the thermal trip points to cpufreq > thermal: cpu_cooling: Clarify error message > > arch/arm64/boot/dts/qcom/sdm845.dtsi | 193 +++++++++++++++++++++++---- > drivers/cpufreq/cpufreq.c | 13 ++ > drivers/cpufreq/qcom-cpufreq-hw.c | 5 +- > drivers/thermal/cpu_cooling.c | 2 +- > drivers/thermal/of-thermal.c | 4 +- > include/linux/cpufreq.h | 34 +++-- > 6 files changed, 210 insertions(+), 41 deletions(-) Would it be possible to split this series so as to put the cpufreq patches separately?