Received: by 2002:a25:23cc:0:0:0:0:0 with SMTP id j195csp1800453ybj; Wed, 6 May 2020 05:41:30 -0700 (PDT) X-Google-Smtp-Source: APiQypLX+ZIAb/hR4FqyUIklqlh5MzkOga4nH5QtPVlT+zdDR/RY/4Lz6MQWAH/am9zMPc9Bv+vC X-Received: by 2002:a05:6402:1c07:: with SMTP id ck7mr6873090edb.202.1588768890176; Wed, 06 May 2020 05:41:30 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1588768890; cv=none; d=google.com; s=arc-20160816; b=xVE4sZtv66MuG4NySrO6H8bQdtRECqf0Xj/k6zUHiPhcCYt2XhxWkxzVoMV7vRkmIr WArDgpbo69A1NCoN2e8S4XCAW+3Ca+CK+hpv7MXEf0bQdV/UO3udK3o0Wh5lK4XCGp3u NbLr7G3jKWkk3eyN0PK9qHBLkWnJOD7l04IwgBJOTACbd/mXh/rPVbVSfSxe2woFDdIi 1gQNbqB7Sc+x5yAFhkf2SdDrZo9YcSFgsks+AI4gDp2c7sfXGfCOqlpqfZa1z3qZj+KZ S+iNakPwcB57QLiSp/s9dOl8iuCVEhAcxymoF5lp9SJkWbC5Ad+DiHYGWB+DlhTsQKbm d3Yw== 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:dkim-signature; bh=jk2BARTLAgZL9Z1dR3KbfuvtdoJ3V9bQ1jv2jjnLH8E=; b=G5NSkbdrjYgD6HnUzX28qBnNqi6wUxKlrQaAkxppngOg4cb9j+eVJ8+ppRsazTCPzT iCGtlDINd97C/nfdSp+me8N0ORXTuqQyWSKZcbjGGTheV3LDuGGSCGRT3lcLuY3/ICE3 ChMSA/KFm94NHPVwqNLN02+/kwu5hMgggplIPJrjVOmScGK6I94CuV2/jgxsrbMTTppd uUGEboqauj5L9b74W2b/OYZ2L0nZRvBsXbwuOiSrITLdvbC93ILIE/65vonJM/8mkZ8s MJ5lN4hugyWGFbPmwRpqmxAQuCOcW/ZTMw4vekq17CbQwxYNtLDvcXi/3RDr81cg0M0R NwYA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=C4fCOVoh; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 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. [23.128.96.18]) by mx.google.com with ESMTP id m26si934059edp.0.2020.05.06.05.41.06; Wed, 06 May 2020 05:41:30 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=C4fCOVoh; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 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 S1728181AbgEFMjK (ORCPT + 99 others); Wed, 6 May 2020 08:39:10 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60988 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S1728166AbgEFMjK (ORCPT ); Wed, 6 May 2020 08:39:10 -0400 Received: from mail-vk1-xa41.google.com (mail-vk1-xa41.google.com [IPv6:2607:f8b0:4864:20::a41]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C2B14C0610D5 for ; Wed, 6 May 2020 05:39:09 -0700 (PDT) Received: by mail-vk1-xa41.google.com with SMTP id j1so609000vkc.2 for ; Wed, 06 May 2020 05:39:09 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=jk2BARTLAgZL9Z1dR3KbfuvtdoJ3V9bQ1jv2jjnLH8E=; b=C4fCOVohLS2kPCD5qFz2dgOue6s94XhvkFpTCsrha1pcYweNjF+IaH6gRIdYmJqdqm oFgp+EDGp1FMsPCUrEo3ltTYWEoPSWIqbS9ayAQR69ak7Y+0fdpCj4xhzzsWBANxQYHy Lf+rFL+y9fxw2qfR9166c35tiHl+m4NraUF/1aejcq7nzecJqYKk9oiR2DEzqt9ExSkY KTXJ1/ltUftlp1HurqkUDnB4uF0yk7YH5lBAZV2tuzjt9fldDbYWU/UAKCReVqHSkL/x 4UzaeL1ygRqYcDPDkaSN8y88nDqRAo363pHInp7N0ypbCm1mJd3tQuJgl4t8W+HC2lpk ccCQ== 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=jk2BARTLAgZL9Z1dR3KbfuvtdoJ3V9bQ1jv2jjnLH8E=; b=TzR7ZP97OP8CVD660cqE/wrZTrZQo42mO3MpabNu51OAELooqudCR0qtXmmUFsc2wC DZ3PAK3HMsLA2UIvgnU9PNEo0WoxFB5C+YatLkEhon4MgK68v19zX4jEGcSTVNfniKPw b7plnFLoGBL+Kcr8zz2vYQ9FrA0IPq6OgqiyYVKj5RQN5hhMEVhtAlAadIWlm4zEB6NN oJjfEA39AmF9PetDS6W0rok6bXRMi9QyvDPdO4XMrdHciSUny0y1bBq3uljzNpMFmRXl zNywCyFrtOocHASnYXRPFSAPzltpkTZgXsNb54vML+kmNFaJi52h+qyQEcHpS5g03TAc Zs1g== X-Gm-Message-State: AGi0PuYPW1/tSBT4DSNDpnH67cBT7JucBlwEuylXZM/YveAvg1CThlcM C5rrDauJMuFgv0RCi5hw6na1aPR1Y+DsBnu0kvRqoA== X-Received: by 2002:a1f:2a13:: with SMTP id q19mr6528853vkq.73.1588768748823; Wed, 06 May 2020 05:39:08 -0700 (PDT) MIME-Version: 1.0 References: <20200504202243.5476-1-sibis@codeaurora.org> In-Reply-To: <20200504202243.5476-1-sibis@codeaurora.org> From: Amit Kucheria Date: Wed, 6 May 2020 18:08:34 +0530 Message-ID: Subject: Re: [PATCH v4 00/12] DDR/L3 Scaling support on SDM845 and SC7180 SoCs To: Sibi Sankar Cc: Viresh Kumar , Stephen Boyd , Georgi Djakov , Bjorn Andersson , Saravana Kannan , Matthias Kaehlcke , Nishanth Menon , Andy Gross , David Brown , Rob Herring , Mark Rutland , "Rafael J. Wysocki" , linux-arm-msm , "open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS" , LKML , Linux PM list , Douglas Anderson , Vincent Guittot , Ulf Hansson , Lukasz Luba , Sudeep Holla 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 Tue, May 5, 2020 at 1:54 AM Sibi Sankar wrote: > > This patch series aims to extend cpu based scaling support to L3/DDR on > SDM845 and SC7180 SoCs. > > Patches [1-3] - Blacklist SDM845 and SC7180 in cpufreq-dt-platdev > Patches [4-8] - Update bw levels based on cpu frequency change > Patches [9-10] - Add tag setting support to OPP > Patches [11-12] - Add the cpu opp tables for SDM845 and SC7180 SoCs. > > Depends on the following series: > https://lore.kernel.org/patchwork/cover/1230626/ Are there any other dependencies for this series? I tried applying this on top of Georgi's series on v5.7-rc3. Patch 12 didn't apply cleanly and needed a manual fixup for the include change. Compilation failed with: Error: /home/amit/work/sources/worktree-review-pipeline/arch/arm64/boot/dts/qcom/sc7180.dtsi:101.30-31 syntax error FATAL ERROR: Unable to parse input tree I've been squinting at the offending lines with no success: interconnects = <&gem_noc MASTER_APPSS_PROC &mc_virt SLAVE_EBI1>, <&osm_l3 MASTER_OSM_L3_APPS &osm_l3 SLAVE_OSM_L3>; > Georgi, > Would it make sense to include tag support patches [9-10] in your next > re-spin? > > V4: > * Migrate to using Georgi's new bindings > * Misc fixups based on Matthias comments > * API fixups based on Bjorn's comments on v2 > * Picked up a few R-bs from Matthias > > v3: > * Migrated to using Saravana's opp-kBps bindings [1] > * Fixed some misc comments from Rajendra > * Added support for SC7180 > > v2: > * Incorporated Viresh's comments from: > https://lore.kernel.org/lkml/20190410102429.r6j6brm5kspmqxc3@vireshk-i7/ > https://lore.kernel.org/lkml/20190410112516.gnh77jcwawvld6et@vireshk-i7/ > * Dropped cpufreq-map passive governor > > Sibi Sankar (12): > arm64: dts: qcom: sdm845: Add SoC compatible to MTP > cpufreq: blacklist SDM845 in cpufreq-dt-platdev > cpufreq: blacklist SC7180 in cpufreq-dt-platdev > OPP: Add and export helper to update voltage > OPP: Add and export helper to set bandwidth > cpufreq: qcom: Update the bandwidth levels on frequency change > OPP: Add and export helper to get icc path count > cpufreq: qcom: Disable fast switch when scaling ddr/l3 > dt-bindings: interconnect: Add interconnect-tags bindings > OPP: Add support for setting interconnect-tags > arm64: dts: qcom: sdm845: Add cpu OPP tables > arm64: dts: qcom: sc7180: Add cpu OPP tables > > .../bindings/interconnect/interconnect.txt | 5 + > arch/arm64/boot/dts/qcom/sc7180.dtsi | 168 ++++++++++++ > arch/arm64/boot/dts/qcom/sdm845-mtp.dts | 2 +- > arch/arm64/boot/dts/qcom/sdm845.dtsi | 258 ++++++++++++++++++ > drivers/cpufreq/cpufreq-dt-platdev.c | 2 + > drivers/cpufreq/qcom-cpufreq-hw.c | 89 +++++- > drivers/opp/core.c | 114 ++++++++ > drivers/opp/of.c | 25 +- > include/linux/pm_opp.h | 22 ++ > 9 files changed, 675 insertions(+), 10 deletions(-) > > -- > The Qualcomm Innovation Center, Inc. is a member of the Code Aurora Forum, > a Linux Foundation Collaborative Project