Received: by 2002:a25:8b12:0:0:0:0:0 with SMTP id i18csp809677ybl; Fri, 9 Aug 2019 14:19:05 -0700 (PDT) X-Google-Smtp-Source: APXvYqzb2jZBVEnZ8W5IaPtJa5gyFUpx8Utaa8P9VyGyVL+vrFf5DH+bQK9cPJc2AeuRtvrDy8n8 X-Received: by 2002:a17:902:704c:: with SMTP id h12mr19942854plt.318.1565385545264; Fri, 09 Aug 2019 14:19:05 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1565385545; cv=none; d=google.com; s=arc-20160816; b=ymq7uC3kqmq4OJg5JR5qGoeBa2joSdON5h/q8gaYy0a8P6jkv90CQhZfkvK+Z36vTm RKLtWl0Lb2piQSQFCX1G/bA1VLRMzz9w1urtlMQn7DIhNKfdxtWZ+PTVaoNa6Owbgtlx jVM74DCPIPBkr0inFATDSwMqfdTLCbueIAHBQKRelojG2n4HintoXWRN6hDDc5P+CFm3 CFvXMmRgzidC8ErI7XuAyfdJprEE+USg050WE2JiLAygJEDqktZP/P9riCnAvY73bN8X tvp1pH4Clx1p3SgMIeIZLN5uleCErI/8LZyKE/+PNpEDCgLRYHb3Elaf8ShsDzx/0FEx hyIQ== 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=Y4vLpkUXGaCx5ksGKXq1B6fru5dxWZeG1Id+VcyLndE=; b=G6IslJL7ipuupL31J6LYAYlMYDckBJ//S2MFqmRfqxKSDrl4aPfavQKwFPrm7f/m5e JpwVH715KZHBncjYR/Zeq2hXHuZ+1MOq/x/Faeozeiki/9qj6AHDnDWVjLip1t8+sEr9 BPVo9stRRSg4K8UKzotR+8SsikI/a0qWshn1yfLGh7/8XJCW0O/w/zxhYZL+HVxJlb1t vHYePZgVc9tD68J4MkXt6spKMfZT2IolAhT1iYs6RvqSs0miNEUJysfQiXRe5JlPsgfo aB9A8X47GROm35F5A4jv343UBKsSZFaoH+0l5epwJh9fLoucw18Xwc5ZoNsy14OQf7kC 1szA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=G54KRPbp; 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=chromium.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id d9si54378143pgo.355.2019.08.09.14.18.50; Fri, 09 Aug 2019 14:19:05 -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=@chromium.org header.s=google header.b=G54KRPbp; 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=chromium.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728090AbfHIVR7 (ORCPT + 99 others); Fri, 9 Aug 2019 17:17:59 -0400 Received: from mail-lj1-f193.google.com ([209.85.208.193]:46336 "EHLO mail-lj1-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727999AbfHIVR6 (ORCPT ); Fri, 9 Aug 2019 17:17:58 -0400 Received: by mail-lj1-f193.google.com with SMTP id v24so93457005ljg.13 for ; Fri, 09 Aug 2019 14:17:57 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=Y4vLpkUXGaCx5ksGKXq1B6fru5dxWZeG1Id+VcyLndE=; b=G54KRPbppyCf6lOgHptflnWoJgyVEK93H+cXO/vp8LfwGrelRzgN5+IYoCLqXUrfYO X/Z645f3sLIDye0s3bOMNqrnMltaBkTAyYjneZ6d8DcT9/YcwkbfnK/Nth/KaLZbh+2/ SYW0DZALxCSJQavegwiXuKNfFYGJX1d3/zt9k= 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=Y4vLpkUXGaCx5ksGKXq1B6fru5dxWZeG1Id+VcyLndE=; b=kbXfGctnCvBxOt2hMPmwOd8VLHX2m5XQRr573tUiM0qry31i5oAIkUj80oUuWy+esI Kgktu2N5cGCEiH3VL8nCUPgAjv1hmGIvPkv2oUYcoa9b7TaOnW95o3/UxZsUPJE1FmnP AzVU4+5P5DPLbXcIZBGEJKjW5Dg1b+eNQDtJKl3zxHS+XcR1HBGgDNsTjQsrQSY36JaS WXgPXjN0GvKEmjhxs99ZMwCLfxgs5nRPc9bQBltjPMXNvPjw3lbe5wuGgO0tFrlGH+68 hfgFCNrqEeWBjGsUOj8dhheKKEqX3jzt0gSMK3l5DucScJARto1NhInZoY+vCMtaJslP QBSQ== X-Gm-Message-State: APjAAAWyg8XqWT22DZbBcYoQd7Z2wLsMBJb995vGS7AFlt+qy8eqMJSd 8s/gYG+yDCG0ql2kUIMpZAeFgZ8dqQI= X-Received: by 2002:a2e:8802:: with SMTP id x2mr12292920ljh.200.1565385476215; Fri, 09 Aug 2019 14:17:56 -0700 (PDT) Received: from mail-lj1-f181.google.com (mail-lj1-f181.google.com. [209.85.208.181]) by smtp.gmail.com with ESMTPSA id f12sm1019381lfm.14.2019.08.09.14.17.55 for (version=TLS1_3 cipher=AEAD-AES128-GCM-SHA256 bits=128/128); Fri, 09 Aug 2019 14:17:55 -0700 (PDT) Received: by mail-lj1-f181.google.com with SMTP id z17so4848099ljz.0 for ; Fri, 09 Aug 2019 14:17:55 -0700 (PDT) X-Received: by 2002:a2e:93c8:: with SMTP id p8mr12301485ljh.6.1565385474677; Fri, 09 Aug 2019 14:17:54 -0700 (PDT) MIME-Version: 1.0 References: <20190809121325.8138-1-georgi.djakov@linaro.org> <20190809121325.8138-3-georgi.djakov@linaro.org> In-Reply-To: <20190809121325.8138-3-georgi.djakov@linaro.org> From: Evan Green Date: Fri, 9 Aug 2019 14:17:18 -0700 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH v3 2/3] interconnect: Add pre_aggregate() callback To: Georgi Djakov Cc: linux-pm@vger.kernel.org, David Dai , Vincent Guittot , Bjorn Andersson , amit.kucheria@linaro.org, Doug Anderson , Sean Sweeney , LKML , linux-arm Mailing List , linux-arm-msm 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 Fri, Aug 9, 2019 at 5:13 AM Georgi Djakov wrote: > > Introduce an optional callback in interconnect provider drivers. It can be > used for implementing actions, that need to be executed before the actual > aggregation of the bandwidth requests has started. > > The benefit of this for now is that it will significantly simplify the code > in provider drivers. > > Suggested-by: Evan Green > Signed-off-by: Georgi Djakov Reviewed-by: Evan Green