Received: by 2002:ac0:a594:0:0:0:0:0 with SMTP id m20-v6csp609686imm; Wed, 23 May 2018 02:33:36 -0700 (PDT) X-Google-Smtp-Source: AB8JxZr+WX2u+K/10XHba7L09liJZ+bYowk3bDXAuCDIL/caGYFPgv18DyuKWCv/QJ9Si9e6zZx4 X-Received: by 2002:a65:438b:: with SMTP id m11-v6mr1657087pgp.99.1527068016196; Wed, 23 May 2018 02:33:36 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1527068016; cv=none; d=google.com; s=arc-20160816; b=f2VkHXU1puXJwP58dJxmuvVDBed+/qSxpmoc94n5F5au0y4uQTr2Z9nJ7iXSnCFLec B2zYiua7SCYUl14oOzvm6k3uyS7T9eJLXuz9zvT40of6hgptFzYQOa/hivZ50AUWsrPH dkMrDBB5onYo0KFlwBiH0bi9vO+ZVE75P5r70sg+GXy2zrDI6f93lAmjQVSl7s5uoKYt OKki9kuK9i0elFnpRE9NGKlG0UpuBvXVAHilN6PA4CB4DqcSG0DXM4r0aJlwqMNSM1d0 aZD63iQN0DQEu8XZMTPBUouJpX5V0sZG2kHg3tXMwenTOiIjWqL5wMKy76rYqy91MkGq hfLg== 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:arc-authentication-results; bh=F0eIEC3GuJ+j72rWGo+5rVI7pWPtQzUs5qoJ9PLxHtQ=; b=PmG8jNHrgSx/85iM7ExecV/wxwrjzjv7bYabKpBXoHV8BreDnRC0cJgnn2tPSh37yU iTCtkBovyD7sAWIqY/yIeH/Tz5221FyF38I8143/9YqgPbjiWuEAQRpoAtEMkAGX/gU9 JzIosUBFtrrYdSWJKhjVWWTThD/CZQWNxzSVHBsoeVTT7YhfLUo2HaPMuyXKNWwtRLko wNvg+mZe11mxSbDgoDl1iqHvX5e8NeieLGyopwTQL+ksiyk5UIhYdtJujE3PoZXtXYl1 oXQbyX+ubD6L9ftFPi4DKujXk+Lg8/wlhlMkjiRB5XfmxC4MB2BjBl5ghZoNqHwY2p49 JYDw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=Sqi/JIz+; 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 n3-v6si14304634pgc.56.2018.05.23.02.33.21; Wed, 23 May 2018 02:33:36 -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=@linaro.org header.s=google header.b=Sqi/JIz+; 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 S932367AbeEWJcr (ORCPT + 99 others); Wed, 23 May 2018 05:32:47 -0400 Received: from mail-pg0-f65.google.com ([74.125.83.65]:41393 "EHLO mail-pg0-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932187AbeEWJcj (ORCPT ); Wed, 23 May 2018 05:32:39 -0400 Received: by mail-pg0-f65.google.com with SMTP id d14-v6so5573569pgv.8 for ; Wed, 23 May 2018 02:32:39 -0700 (PDT) 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=F0eIEC3GuJ+j72rWGo+5rVI7pWPtQzUs5qoJ9PLxHtQ=; b=Sqi/JIz+4DYOwjEijDtSeigDCXyiqt+aqvOyjrn04iqgLKw7VIh5y0g/55tDQZQAUN gUPRVqQMtJEVZwxjR9GWgtSVKQj3/WKIEWQOtIJif2jvlN9M3qSDnzUFne1NzFeQI+KL PXOf6lbUTbu5gzEKptCShwSwhvxCgzzOdIygc= 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=F0eIEC3GuJ+j72rWGo+5rVI7pWPtQzUs5qoJ9PLxHtQ=; b=WAD9r8aDz/G41+MY3X4sxBjHEntsODbtV70fHddaLMzcJgCo4vTF/XQwIOu5GOqP+z 7QoiDACu+eyL6IDzB26RDE4lyVb3qLlLh040vvZcNmfQV1S6bNbyLGP5vM3Sm/pQltPf TRBRKWDQ/s4OLy6vm1QE7L31OxktZ5YrbFmpgwCQSIRU1ybwSxlp0qmJgv9Qj2A78KpQ JbX0JR/gvO/xHUYS8c+jV2U/Xf9eUG0mCOhICBIVSnlHttRFCtG1Om3aveD/dJ3Jl08k UpgdqoWwuLYKVe0Ntal7oMckqbc786U3TFLfWe9aSgleA79aY5YBzFX/eRSaOZbj51TN imjQ== X-Gm-Message-State: ALKqPweZ70gjP3orNzPZ28nhRGhEu6LyIkwURp39KVqz/dYz2rCLeejI yzCv/K4ifk3tTtfQjjI+1Poo/g== X-Received: by 2002:a62:3085:: with SMTP id w127-v6mr2143341pfw.224.1527067958836; Wed, 23 May 2018 02:32:38 -0700 (PDT) Received: from localhost ([122.167.129.138]) by smtp.gmail.com with ESMTPSA id q75-v6sm36559293pfj.94.2018.05.23.02.32.37 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 23 May 2018 02:32:38 -0700 (PDT) Date: Wed, 23 May 2018 15:02:35 +0530 From: Viresh Kumar To: Ilia Lin Cc: rjw@rjwysocki.net, sudeep.holla@arm.com, linux@armlinux.org.uk, linux-clk@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-pm@vger.kernel.org, linux-arm-msm@vger.kernel.org, linux-soc@vger.kernel.org, linux-arm-kernel@lists.infradead.org Subject: Re: [PATCH] cpufreq: Add Kryo CPU scaling driver Message-ID: <20180523093235.k7xugnd7pfisazdx@vireshk-i7> References: <1526729701-8589-1-git-send-email-ilialin@codeaurora.org> <1527066324-24726-1-git-send-email-ilialin@codeaurora.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1527066324-24726-1-git-send-email-ilialin@codeaurora.org> 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 23-05-18, 12:05, Ilia Lin wrote: > In Certain QCOM SoCs like apq8096 and msm8996 that have KRYO processors, > the CPU frequency subset and voltage value of each OPP varies > based on the silicon variant in use. Qualcomm Process Voltage Scaling Tables > defines the voltage and frequency value based on the msm-id in SMEM > and speedbin blown in the efuse combination. > The qcom-cpufreq-kryo driver reads the msm-id and efuse value from the SoC > to provide the OPP framework with required information. > This is used to determine the voltage and frequency value for each OPP of > operating-points-v2 table when it is parsed by the OPP framework. > > Signed-off-by: Ilia Lin > --- > drivers/cpufreq/Kconfig.arm | 10 +++ > drivers/cpufreq/Makefile | 1 + > drivers/cpufreq/cpufreq-dt-platdev.c | 3 + > drivers/cpufreq/qcom-cpufreq-kryo.c | 163 +++++++++++++++++++++++++++++++++++ > 4 files changed, 177 insertions(+) > create mode 100644 drivers/cpufreq/qcom-cpufreq-kryo.c Hi Ilia, So the patch looks good now. But I don't see how this series is going to get merged. You are touching all parts of the kernel and no single maintainer would be able to get these merged easily. What I would suggest is that you divided the series in at least 3 parts. - Patch 10 and 11, just the cpufreq stuff. So that Rafael can apply those independently. Also mention the dependency on my OPP patches in the cover letter for those two patches. - All clk patches in another series, so that Stephen can apply them. - And finally everything else to go via ARM-Soc. Maybe things wouldn't be that simple, but that's what you would need to do to get things merged. And please add all Acked by tags you got to the patches. For this patch: Acked-by: Viresh Kumar -- viresh