Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp3143469imu; Sun, 27 Jan 2019 22:49:12 -0800 (PST) X-Google-Smtp-Source: ALg8bN45WckZ4H7Ep5Lo0zYCgJiwGU8xIWd27EDQJ6jZfG1TdeNT32WxFzoWS9KzFKerWcAnst+8 X-Received: by 2002:a62:cf84:: with SMTP id b126mr20602802pfg.98.1548658152665; Sun, 27 Jan 2019 22:49:12 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1548658152; cv=none; d=google.com; s=arc-20160816; b=Xldt6M6/QJhfnQdewkC50Q45WUewKzB0I/c5i8xNlWqN9bp1ZGk6TFg9iaBxZNjniK wCthapyC5kMl91NrR/q1O9z9LbfyTLKEdQQRcOSTw6eRAPzWj5TfsSklgTpVVeTyxNFK 64+W5RTvsKyccyBFTWbo/PFlv3VotKD5e3oQpQDj+9S1CFGnYBbJiLseSA5UTyEILLfk zg89MYW4k0tff8GnbUrGHi9s1v+OC/MyQxVcExm8/rMZOppkqx4FGho9hNH8xU6ABjgz T2mXsKndFASZ6f8al8/LbsXP1vyBV+UDxhe8f2WzZPacZQdyszXrQXbOPiEzITl5LBzB +Cbw== 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=WdOG/w3P4xjPkdGVh+Q+rKQqSzzNarUNy0xmDXfHpuo=; b=dsNxJ9U2Uv8/ZBkBYob72uOatJ8hTVYTonLevOLrn0T96RZXZqRtQ9FLa7rkLAO5SM IPalITLZhyC4dxv8YRO5AnnyxcH17Mt5m8RvBuj8aOpgUlPDkAEfx6kMlsmKPeUOmlYU UcUWPni6381V8j2PUcJC8GVF5p5dbFw+q8QA8YA+mqtBiBbhGZ26ancRk2+/x8+Palc/ gEwKX1FX/epk5BxIgjVcdn1XULxGrjSlohtHG1IIcb+ROB0tiC4VggyoGWbe6CBUUpZt yKKpA5uhLqROsvBdqQRCHqWwvxOHZli+zal2gvZIeBueg6oMbyL+fKTqZRDBsVeVDwjM FJ5A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=BcoVniot; 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=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id m39si32477130plg.315.2019.01.27.22.48.57; Sun, 27 Jan 2019 22:49:12 -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; dkim=pass header.i=@linaro.org header.s=google header.b=BcoVniot; 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=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726885AbfA1GrG (ORCPT + 99 others); Mon, 28 Jan 2019 01:47:06 -0500 Received: from mail-pg1-f195.google.com ([209.85.215.195]:46405 "EHLO mail-pg1-f195.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726820AbfA1GrF (ORCPT ); Mon, 28 Jan 2019 01:47:05 -0500 Received: by mail-pg1-f195.google.com with SMTP id w7so6798105pgp.13 for ; Sun, 27 Jan 2019 22:47:05 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to:user-agent; bh=WdOG/w3P4xjPkdGVh+Q+rKQqSzzNarUNy0xmDXfHpuo=; b=BcoVniotemf9eSeL4a1+Rp342oPn8DLhzCvfu9nxJdTfchiqpwxcPqTvHHg7MI54kY 3hAEoOLAbUJg40K8lEz/Vbplhj0X+QpJmy3zPF44Qc0gemSkR0/z6BCCW+3ONATawu1A DYaUXLKJrNlmIJQkRTPF9P9izkjd8r81jRS9A= 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=WdOG/w3P4xjPkdGVh+Q+rKQqSzzNarUNy0xmDXfHpuo=; b=fnDwITOyMwwel9uvRw8ckt93UXcGYTlrdNun4CqN/9Ksah5AbOdfhF49pVL1XE3WYK dkj8fUFMumaFqs5f7Ip3bIefRSU5iYylmEeZ/+nLCGAxmoLeVGd6LQdzXOewVgKUDWe3 JvnfLKq5PVEwht4NyCiVECsTGlVTVnfPnGrUkA1E4H85hg42Pc0SlozsPosnNNrR93XP 7alBV4w8orq+rZim6sUi/ff+TesiYv+SLUJPckfLU/gG7XsM4o0WhY8N3CVz9Y94nt6H xm4SlFson58KfuO3EevZMYI6iZuVo5/O+VzoJPkoRkKYu1J3kw1xXpiM8eiCWWRQRno1 10fg== X-Gm-Message-State: AJcUukczNFtoSH+rH9/kz3YCDsNXMFwzryHX1x3FrPqYvlnmCEc0bp3q 58cHpi1YSmNyKUImgeZspHb71g== X-Received: by 2002:a62:46d0:: with SMTP id o77mr20985490pfi.172.1548658024889; Sun, 27 Jan 2019 22:47:04 -0800 (PST) Received: from localhost ([122.172.102.63]) by smtp.gmail.com with ESMTPSA id h8sm35618916pgv.27.2019.01.27.22.47.03 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 27 Jan 2019 22:47:04 -0800 (PST) Date: Mon, 28 Jan 2019 12:17:01 +0530 From: Viresh Kumar To: Amit Kucheria Cc: linux-kernel@vger.kernel.org, linux-arm-msm@vger.kernel.org, edubezval@gmail.com, swboyd@chromium.org, dianders@chromium.org, mka@chromium.org, "Rafael J. Wysocki" , Daniel Lezcano , Matthias Brugger , Sudeep Holla , Zhang Rui , "moderated list:ARM/Mediatek SoC support" , "moderated list:ARM/Mediatek SoC support" , "open list:CPU FREQUENCY SCALING FRAMEWORK" Subject: Re: [PATCH v4 0/9] cpufreq: Add flag to auto-register as cooling device Message-ID: <20190128064701.r25ffs5ixzkcd5r6@vireshk-i7> References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: NeoMutt/20180323-120-3dd1ac Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 28-01-19, 12:11, Amit Kucheria wrote: > Add a flag for cpufreq drivers to tell cpufreq core to auto-register > themselves as a thermal cooling device. > > There series converts over all the drivers except arm_big_little.c. > Tested on SDM845 with the qcom-cpufreq-hw driver. Only compile-tested the > others. > > Things needing fixing (but not a blocker for the series): > - Look at how to detect that we're not in IKS mode in arm_big_little's > .ready callback. > > Chnages since v3: > - Got rid of wrapper function to register/unregister cooling devices. > Directly call the function in cpufreq.c Acked-by: Viresh Kumar -- viresh