Received: by 2002:a25:1985:0:0:0:0:0 with SMTP id 127csp1528983ybz; Thu, 30 Apr 2020 00:37:51 -0700 (PDT) X-Google-Smtp-Source: APiQypIHnleZZfcfUKSpPXT5AmUP5KHf3denL6tVkyA+z6OqTSrKGkUbmaOqrTrV+ll6tgaNDHrl X-Received: by 2002:a17:906:2351:: with SMTP id m17mr1532289eja.179.1588232271728; Thu, 30 Apr 2020 00:37:51 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1588232271; cv=none; d=google.com; s=arc-20160816; b=HWhYtDNC5WAfRK1RuDa48XXSf/PCk1w0KuckCrJaZ6zU/wNsL57R8Td4uSZrl7Z+yt HJj116cWX2vlJZNvzUdAKoCYB9ByhWkbRauXJgPvNdwSZUg0P7WDIVPYm20EyVANVKiz +MEMlG/m0x5C47KBEjuaoe5qH2n3Kjldy9fHntz55tJxJ6qoTN/00Qf2K/Lm2gBcmih6 mWyNSmrJ+htsRomoZ2DdInJ7aEjiNXPnuJY10511ZxxTmIyGjdQDd+P/Cv/8SjTIcwej tIYolNww7QRKuVy/giXQKvrhoxQAenD+S37VatR/ovPj3f/zmNFv6Qu44gXX83Nj0ZCw hrEQ== 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=qs31g31s4Qup1BiKCc2DuRtqM2XedKFVg5N5v+BZjjw=; b=vhiRnEjIcxXY7WSUJHtB/OLamQmvY/bqjq3adzYmES0eKIK6YJ1U9pADT3j65+VArk 3UhsQuCpYUsy5u1ugigNeHvc0wU59GRIbqzIOtaoothHcnY1taT2NWwpUa5PfXD+hSVN WmLNm+dOe4wk7g17sljY0q1TipLhEGwwq7GojsA7RhxuphP0p+IfDVlCE/KWzo1b0ftz fm1vZLbvKkGzKYy08IRYYDJrWi1F9Jvhr9A2Pgyq37lMgHayf2TZbb+mW6YVqJGU8JxY olRQrb4kgC1vkpj9uSr7Xs/qH4vDwxHyOsbXvHZLZY/vHsiPvoYLZszZuxpNNM1PZayz FZxA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@google.com header.s=20161025 header.b=SicuVYS5; 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=REJECT sp=REJECT dis=NONE) header.from=google.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id q12si5141586ejm.358.2020.04.30.00.37.27; Thu, 30 Apr 2020 00:37:51 -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=@google.com header.s=20161025 header.b=SicuVYS5; 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=REJECT sp=REJECT dis=NONE) header.from=google.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726539AbgD3Hfu (ORCPT + 99 others); Thu, 30 Apr 2020 03:35:50 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:52446 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726412AbgD3Hfu (ORCPT ); Thu, 30 Apr 2020 03:35:50 -0400 Received: from mail-oi1-x244.google.com (mail-oi1-x244.google.com [IPv6:2607:f8b0:4864:20::244]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id DD478C035494 for ; Thu, 30 Apr 2020 00:35:49 -0700 (PDT) Received: by mail-oi1-x244.google.com with SMTP id r66so4431238oie.5 for ; Thu, 30 Apr 2020 00:35:49 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=qs31g31s4Qup1BiKCc2DuRtqM2XedKFVg5N5v+BZjjw=; b=SicuVYS5fp0fa/wzv+q09rX6oQxgNmClx4f49iFcA5bDwQqCogfhamiVVpkdy0QlsF ae2KdpL6Mq+vPjWq/ZPYZD0ac60feHz/OOkbVGO55xwzQgCIGJ5rzD7n4sYr5kl4TlEp wH2/j7ymvRCJMxLbnipbZWJ8zIBG/Tv/jUppjIaLk03n1xDbd1/77ztyxWdT7eKEPCjx dQp1Sgf9DZdRh8mwUC9Bgk3OPPMmpMqiuy6smhEU/FwS1srovO5NAs/NFGak/WaGLQ4a envkNnbxsbFhwALdCNKh73IEILCjujXDrRdFoWIqfr0vWIhEddXSJ1Wzw2YR0cO3KLMw B0nQ== 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=qs31g31s4Qup1BiKCc2DuRtqM2XedKFVg5N5v+BZjjw=; b=rLCD0KVxX4DKrJjmJBuKABgIW5A+xm5E13MI46+nD4KldUEa/xayLiBKmNwNlnQ7kb bXSzUy7+7kBn9etvUkCWPqPT56gfuyKB6VDUc8v0Q4NkH1EtPoz4sk7PP9fcCVGDylsr fCFQMObmGpQryIHoqraxfdGitMLcLKTytUAGvkU2G02P9eyR89aWwBNsAzQdKhnj2Ynq VH4PKxAgZ+E1RksCk7Y5FvGlYCBgJ/X7cI7hjz4INI4mgHMqxA0ItjEJVW66A4QQKUnM +97x/xeVZIDmCXwyRczcfZdBvYoZt4HGYVPhjq8npoAN795FvSc1r5ul0efIWtnlOZOH 0eTQ== X-Gm-Message-State: AGi0Puav+4Z0QDe6g6e84cHs40BwEkrP27lirU+865z3pj5Yozk7XsJq vpV9OpyTjLjP3yho6NOF1+nS28ciP0zF3Y5kQ5q9nQ== X-Received: by 2002:aca:1c08:: with SMTP id c8mr827526oic.172.1588232148850; Thu, 30 Apr 2020 00:35:48 -0700 (PDT) MIME-Version: 1.0 References: <20200424155404.10746-1-georgi.djakov@linaro.org> <20200424155404.10746-7-georgi.djakov@linaro.org> <20200430060901.j7jjw6soo5h5xoul@vireshk-i7> In-Reply-To: <20200430060901.j7jjw6soo5h5xoul@vireshk-i7> From: Saravana Kannan Date: Thu, 30 Apr 2020 00:35:12 -0700 Message-ID: Subject: Re: [PATCH v7 6/7] OPP: Update the bandwidth on OPP frequency changes To: Viresh Kumar Cc: Georgi Djakov , Viresh Kumar , Nishanth Menon , Stephen Boyd , Rob Herring , "Rafael J. Wysocki" , Sibi Sankar , Rajendra Nayak , Bjorn Andersson , Vincent Guittot , Jordan Crouse , Evan Green , Linux PM , "open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS" , LKML 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 Wed, Apr 29, 2020 at 11:09 PM Viresh Kumar wrote: > > On 24-04-20, 14:18, Saravana Kannan wrote: > > My only comment is -- can we drop this patch please? I'd like to use > > devfreq governors for voting on bandwidth and this will effectively > > override whatever bandwidth decisions are made by the devfreq > > governor. > > And why would that be better ? FWIW, that will have the same problem > which cpufreq governors had since ages, i.e. they were not proactive > and were always too late. > > The bw should get updated right with frequency, why shouldn't it ? I didn't say the bw would be voted based on just CPUfreq. It can also be based on CPU busy time and other stats. Having said that, this is not just about CPUfreq. Having the bw be force changed every time a device has it's OPP is changed is very inflexible. Please don't do it. -Saravana