Received: by 2002:a25:23cc:0:0:0:0:0 with SMTP id j195csp231075ybj; Wed, 6 May 2020 16:05:37 -0700 (PDT) X-Google-Smtp-Source: APiQypIUqbF77/H/WtXjJPgYxkXHHSl0EBmYTgmUR5TGz7h788B0Wwls7uS76JFeKepbYAs18xfP X-Received: by 2002:a05:6402:3094:: with SMTP id de20mr9426451edb.158.1588806336864; Wed, 06 May 2020 16:05:36 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1588806336; cv=none; d=google.com; s=arc-20160816; b=0+1AV59VYcq8Q1HEFPNihOP1BP4QiJQpjjEsvqyaHjiIMNyjh6YFRkVJuLlWkxM8+Q FZrmb2l3DzxhxvEg0qCgNiz5+DMjPR77y4tjwXZrQdQeHvgUnr14+6tJ39Jg2m0rDfUl jGQV9zkZOiO7+zldIF31tDJ983DaJyjpyfSr8nhec0dRThiiiDPPQHEfJILODPClALOn g0LKyXgadidCzcsw5+pwF3G65oQP5NZqmUFmiVub4QWUiIEVH8xaQOlIsabOMAZypR4x rbGYx8IOhbbhzbANPSOoXuipK/ydFJaYa3BYECIV6S9+SOjxgPjphd8A06lAT0BHnxH7 RHLg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:message-id:references :in-reply-to:subject:cc:to:from:date:content-transfer-encoding :mime-version:dkim-signature; bh=cx846LpCI/mxVQVVyh+RuRGtZ75GrHh3+ShglsOfGD4=; b=dfjGCx57FQIk7lvBWhmSzePUQZrsZNWjYcsTW5BI5CPR0ILSF38NhF1Khgy86or4jy 1l8qAb2WZn7WRtomuy0Y5/emAxwOemfvrcsZSOc3uCD1U1KC3RNxzxKEw2lbWJHnIN8X nlYDq4a0e86qyNNTMDWElN17OCT41teSlHnbzftbJBo4wxxbr1kwKDcW9dkgOtmTmefR RpE0uSzhw3b2qJMBp1r8XnpvntsBV/ybrlbbDHkm8GgTVK5YPCbDGwdsFlOnWT85/dXU viFAO8ivMBOXKilZni2WEVu61jNcqu53MDEYWA7u5tuixyZOBqJ091G1h09EesxQhQjs +PmQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@mg.codeaurora.org header.s=smtp header.b=VrB6p4Xy; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id u1si1995083ejt.47.2020.05.06.16.05.14; Wed, 06 May 2020 16:05:36 -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=fail header.i=@mg.codeaurora.org header.s=smtp header.b=VrB6p4Xy; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729233AbgEFOmH (ORCPT + 99 others); Wed, 6 May 2020 10:42:07 -0400 Received: from mail27.static.mailgun.info ([104.130.122.27]:52297 "EHLO mail27.static.mailgun.info" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729226AbgEFOmH (ORCPT ); Wed, 6 May 2020 10:42:07 -0400 DKIM-Signature: a=rsa-sha256; v=1; c=relaxed/relaxed; d=mg.codeaurora.org; q=dns/txt; s=smtp; t=1588776125; h=Message-ID: References: In-Reply-To: Subject: Cc: To: From: Date: Content-Transfer-Encoding: Content-Type: MIME-Version: Sender; bh=cx846LpCI/mxVQVVyh+RuRGtZ75GrHh3+ShglsOfGD4=; b=VrB6p4Xy5AKLQxHK+mf/kPuXe8nDfUWFmgjtCDK/h6EpSAToQsSp3VDfDbK3/BrGvh5VHFd3 dCobiEkVI0ORhRhXaWcydrHcufZvetJSym7qNQL0KT/aWc4wf/xj4aPQZ1aYHt5s/g/JaH4r Y1arxWt5q3mTsPEo5kxBIau4RXM= X-Mailgun-Sending-Ip: 104.130.122.27 X-Mailgun-Sid: WyI0MWYwYSIsICJsaW51eC1rZXJuZWxAdmdlci5rZXJuZWwub3JnIiwgImJlOWU0YSJd Received: from smtp.codeaurora.org (ec2-35-166-182-171.us-west-2.compute.amazonaws.com [35.166.182.171]) by mxa.mailgun.org with ESMTP id 5eb2ccb5.7f1064742c70-smtp-out-n02; Wed, 06 May 2020 14:41:57 -0000 (UTC) Received: by smtp.codeaurora.org (Postfix, from userid 1001) id E0711C44791; Wed, 6 May 2020 14:41:55 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-caf-mail-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-1.0 required=2.0 tests=ALL_TRUSTED autolearn=unavailable autolearn_force=no version=3.4.0 Received: from mail.codeaurora.org (localhost.localdomain [127.0.0.1]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) (Authenticated sender: sibis) by smtp.codeaurora.org (Postfix) with ESMTPSA id 887D4C433F2; Wed, 6 May 2020 14:41:54 +0000 (UTC) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit Date: Wed, 06 May 2020 20:11:54 +0530 From: Sibi Sankar To: Amit Kucheria 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 , linux-kernel-owner@vger.kernel.org Subject: Re: [PATCH v4 00/12] DDR/L3 Scaling support on SDM845 and SC7180 SoCs In-Reply-To: References: <20200504202243.5476-1-sibis@codeaurora.org> Message-ID: <87126044e367432ee8722ec2346d1dd5@codeaurora.org> X-Sender: sibis@codeaurora.org User-Agent: Roundcube Webmail/1.3.9 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hey Amit, Thanks for taking time to review the series! On 2020-05-06 18:08, Amit Kucheria wrote: > 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. > When I posted out it was based on next-20200428 tree, there shouldn't be any other dependency needed. > 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>; > #include You are probably missing ^^ which is present in next. >> 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 -- Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum, a Linux Foundation Collaborative Project.