Received: by 2002:ac0:a581:0:0:0:0:0 with SMTP id m1-v6csp3623307imm; Mon, 25 Jun 2018 01:35:35 -0700 (PDT) X-Google-Smtp-Source: ADUXVKLyPlNHnkK9JCvQ43AivX9Gzxg0z0pF4S515yfpqJrA+5ih+MuDYY+gucxB6VznITojxR37 X-Received: by 2002:a65:6657:: with SMTP id z23-v6mr10070469pgv.257.1529915735560; Mon, 25 Jun 2018 01:35:35 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1529915735; cv=none; d=google.com; s=arc-20160816; b=kGlqY/3S5QhYVgCZW4fMyhtcLS/Ierjf39FB0rWPAjLkKTzPTjb0bGi31UY14HQtpV omwuyPprbebc0Ww/Emy+ECPchQJoi6BATncVmsBb7srCh/jS39uVqZ5+13IQRkcmiGh9 bV8GtmVeCGDd7y9FWl1KmYxIi1tGxMh9R7q97t5Uc7n5fZfWnJ4llZ0yE6iwKFse0KJO peNdJO/kxmXrN9lTktwoTZuukq0kFwHEo9WRi/HYZPuSyxc+CLHZUbvaSlPxViCnlxcU Ks4ZzLCcH43ePQUpxNme0bH/GRzm8ASsqh9dTQKXVhipC3QOwdJ+yXPMEa1jELWC0Qsf XMbw== 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 :references:in-reply-to:mime-version:dkim-signature :arc-authentication-results; bh=gN1Mp69z/SBIh4XzKqmns9xAz4UtNJHYMyHKTNGG4UI=; b=p9joWp1indCmKKvfGqyM8JnYb/Rldir2minBCqF66mDY7aH/G8qEydse1Mv/SqPIH3 AH2DlV+m0zu0lxJCmqx46Tucvu9wK9nkV3ZMGBt2yQhIPLBYTVh9hC3VvmO/6ksBIgLO KKm+cUoEzN6y+yxbZmMsxtNu26sKteaXtUl/NN1AjosRk2jIh/WB9W3SaVLiin9aufRi RIIT6RAUfB0VB8q0aMeXONuBt9fhy/YbQJF4ppNUgEO9L86pIZ8YMvHqeRxxz2NbFbMa 7GTuUr57wQm61JU9F+MRHFu9LAZU/fSeOn6J5CJ2ax4d99lKqqdU1zbw06y186wOJ34s ZoSQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=VngkXnFo; 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 v5-v6si11297592pgq.32.2018.06.25.01.35.20; Mon, 25 Jun 2018 01:35:35 -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=VngkXnFo; 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 S1754252AbeFYIem (ORCPT + 99 others); Mon, 25 Jun 2018 04:34:42 -0400 Received: from mail-io0-f194.google.com ([209.85.223.194]:41215 "EHLO mail-io0-f194.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751381AbeFYIej (ORCPT ); Mon, 25 Jun 2018 04:34:39 -0400 Received: by mail-io0-f194.google.com with SMTP id k16-v6so8974641ioa.8 for ; Mon, 25 Jun 2018 01:34:39 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=gN1Mp69z/SBIh4XzKqmns9xAz4UtNJHYMyHKTNGG4UI=; b=VngkXnFoxdUgXP91IDYY69Ciccu4sNOmHL1TJ2YjBwImbQLC/+7ryeIN55wfov9BDp L6R2+Jd/huepYJ9Cw5I8h453RtRlLk7a+KEotu+a4qdRZryRxQBYZOcNEmoiVmX8hf/z w4kZn2fLg2W4iidkbf1K1SMgqc273b3AUKdR8= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=gN1Mp69z/SBIh4XzKqmns9xAz4UtNJHYMyHKTNGG4UI=; b=B4ZZXd8LBswXWNHnVwBeZd2yJeOrMtGtJ66rqQ6xt7OpRnLRR/DkcwISNrsGJ3bfkl bFbM4fj6Q3CpaD3TFt6x5o7PkMEtYx9cRJnuW9oKAMh1c2myHEsgoO3jr1ygT1gAF1+f 4GAsl41pU29vQUR3PYHb525YXf3I10s2+E7acCWZRR7J9cSQkdveJvH8xQA6NBHrqdo6 Vn7skT72QEDgp9yfFQeRAXZ8gtZCeiDQ6KjHFeMTNliPf3aJPs2Om72g8I9OPEZ4I2qZ vTgmsAGHeaCG+zAA70USR0pTNmT+XMUhf/O7mFVysF+pqHXLAuSA28O1X1BDO25FvLzO Qc5A== X-Gm-Message-State: APt69E3GfwhGzhU6O/3lRPob8slxEz0P+0gEv68sM7cYp5sxiNacwtH2 Jg3dNXVFTPbN8+bCcTwJUOLFdx1BBnDpdwAwKyoexw== X-Received: by 2002:a6b:c992:: with SMTP id z140-v6mr9709798iof.266.1529915679077; Mon, 25 Jun 2018 01:34:39 -0700 (PDT) MIME-Version: 1.0 Received: by 2002:a02:818f:0:0:0:0:0 with HTTP; Mon, 25 Jun 2018 01:34:38 -0700 (PDT) In-Reply-To: References: <20180620172226.15012-1-ulf.hansson@linaro.org> <20180620172226.15012-4-ulf.hansson@linaro.org> From: Ulf Hansson Date: Mon, 25 Jun 2018 10:34:38 +0200 Message-ID: Subject: Re: [PATCH v8 03/26] PM / Domains: Add generic data pointer to genpd_power_state struct To: "Rafael J. Wysocki" Cc: "Rafael J . Wysocki" , Sudeep Holla , Lorenzo Pieralisi , Mark Rutland , Linux PM , Kevin Hilman , Lina Iyer , Lina Iyer , Rob Herring , Daniel Lezcano , Thomas Gleixner , Vincent Guittot , Stephen Boyd , Juri Lelli , Geert Uytterhoeven , Linux ARM , linux-arm-msm , Linux Kernel Mailing List 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 24 June 2018 at 23:09, Rafael J. Wysocki wrote: > On Wed, Jun 20, 2018 at 7:22 PM, Ulf Hansson wrote: >> From: Lina Iyer >> >> Let's add a data pointer to the genpd_power_state struct, to allow >> platforms to store per state specific data. > > Can you please fold it into a patch actually using this pointer? Yep, no problem. Anyway, the change that uses the pointer is "[PATCH v8 21/26] drivers: firmware: psci: Add support for PM domains using genpd". Let's see if there is further comments, if not - perhaps you can squash $subject patch into that change? > >> Cc: Lina Iyer >> Signed-off-by: Lina Iyer >> Co-developed-by: Ulf Hansson >> Signed-off-by: Ulf Hansson >> --- >> include/linux/pm_domain.h | 1 + >> 1 file changed, 1 insertion(+) >> >> diff --git a/include/linux/pm_domain.h b/include/linux/pm_domain.h >> index 9206a4fef9ac..27fca748344a 100644 >> --- a/include/linux/pm_domain.h >> +++ b/include/linux/pm_domain.h >> @@ -44,6 +44,7 @@ struct genpd_power_state { >> s64 residency_ns; >> struct fwnode_handle *fwnode; >> ktime_t idle_time; >> + void *data; >> }; >> >> struct genpd_lock_ops; >> -- >> 2.17.1 >> Kind regards Uffe