Received: by 2002:ac0:a581:0:0:0:0:0 with SMTP id m1-v6csp3199980imm; Sun, 24 Jun 2018 14:10:44 -0700 (PDT) X-Google-Smtp-Source: ADUXVKJ1ESpypvl+FVAXYDiGHdCDRXdxp9xIOxBVnuDN7eiz+AiM45whcGIVTconBI8tyKA1ng+A X-Received: by 2002:a63:6fce:: with SMTP id k197-v6mr8476781pgc.307.1529874644439; Sun, 24 Jun 2018 14:10:44 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1529874644; cv=none; d=google.com; s=arc-20160816; b=WA8+TdOCbfZwrY2wtMJ88i046k4I05Z4OtnVJHpixSsIlJlE+dH7fj1zBQrdz2HAv5 Vt+S68WVb8c0PdmZOs63StnVp1f3S/RC6RTbomY7Y92hEa+jZtdLWZrqg7bzF8XxBm8H h74taig1hKVMzvUw+3barxczzoaymjO0PabRz1rM9B7LImk2r8f4KZx2WiBssbN3WkRQ UVPRgBBONnBq+VUenfwEA8zJhzqqJsfobBUJpxyySYZlFjfJqlaYJL7uLTaxYuPUYr3L WoOnCuXDKaPZwsHA42ywYE+3UbNFKbFrAEuET+KSUeX5qNt/SDdQrsm7mHnts0p5WU4L H7Ag== 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=fsuYDlw81AyLGe1Z07MKZyAcA5R+PLvqrvGFwygfRAQ=; b=OfrbjkdlFr8oy2lFyp7oiVUpDxj6rQjTXldEn8JoCk2kJdXeGdW5UCZX13fXi9yv52 1Knm487hNbD1m1vaz990D4z74Q8grAJc6JI6D9k9hpuAh67aThzylH3ffNy5iX52LC0J Wt1MEPpdEPrZC+0xBlGt1HMlDyhCk3SDM8jQnhD1lYia6ANrOVqCA48SMJ4VTnwEzuo3 ONpUx0h0LUHCHjseB+1jK2zweQVO2pNl7cWas3W9EIEa45UtAg3RJweyfXS8ynkD8rN5 AL9vEYGpXxu9HB6Gm46QhDUS8fzPnN+heqBhXJpkGm3WPEr9nBOjYt2hAzlKpj6Xpwsj lraQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@gmail.com header.s=20161025 header.b=c9os9GYx; 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=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id a13-v6si10779187pgn.391.2018.06.24.14.10.18; Sun, 24 Jun 2018 14:10:44 -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=fail header.i=@gmail.com header.s=20161025 header.b=c9os9GYx; 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=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751869AbeFXVJY (ORCPT + 99 others); Sun, 24 Jun 2018 17:09:24 -0400 Received: from mail-ot0-f194.google.com ([74.125.82.194]:36960 "EHLO mail-ot0-f194.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751575AbeFXVJW (ORCPT ); Sun, 24 Jun 2018 17:09:22 -0400 Received: by mail-ot0-f194.google.com with SMTP id u6-v6so4762231otk.4; Sun, 24 Jun 2018 14:09:21 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:sender:in-reply-to:references:from:date:message-id :subject:to:cc; bh=fsuYDlw81AyLGe1Z07MKZyAcA5R+PLvqrvGFwygfRAQ=; b=c9os9GYxygyi79SLpul+WIf16qhldMFSdrh02StcqJz6VjL4WvfpJXE5DQN/RPEPyQ Q7+8rif5E6b/pr+EZyy5JrV3pyO3C9JFF8f3o+aQaKG/BRVKUSfL22qoGp1+usB46n+M ZTk3k38QaSgN0wzeKG5NPoerKgNUX5J921V0SDwn+xAY38p2LGXcfCC50q8eoJJew6LY 55b7xWmZmK+0Ly8zt/rzIKKeu87KmCm6PuaDpQfDIJkxvGIeQAi7d15ZoXGlHmK1jf1N 8WL8Du9zjsDiMoYnWn56paTZiAec/1GMtvuA8Lyg7QfA76VN/OgbueI6W8mFl8bK3PVD GQ3Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:sender:in-reply-to:references:from :date:message-id:subject:to:cc; bh=fsuYDlw81AyLGe1Z07MKZyAcA5R+PLvqrvGFwygfRAQ=; b=EWzF50uG1mXdil/FgOL9/YV2WfsKADx0Ys9Mgz3E7QKYRGU6bgFrFF+LqjMNZbEdVU O20kC/HiH8gwN7i6KcQVz0BVW2NFwk5/VnYWlT8Oi7H2EvlOddm6qmiaGEZfb4+f0rPM da1UP/TWIgbzG/OVKIgGufPZwEOE7HGjMJrm53s8USgkdaZiG8bJnwK10QmdrlSiTTdI m8kv4kTp/UDrbyzgRGzfJ9a7J+2EfOhS4rQjzzPtcIkJd2lT/oRYVBzl1+jKz0g7j3Xc x/o21D9I+bNswmBdongyitZRzBxnSJ2oq+C8t9HG1NfM2ecMgBv2weLcR+HkdYUu/soo F0TA== X-Gm-Message-State: APt69E0ze9lW7kj+jGmLQ2J/BoCdlFdL9rxGBeK3rAH8Wbkb/MwlU7dp l1hEsN7aYJVFc/dMDzIFhQdWBC7/a8NqhOqMCHE= X-Received: by 2002:a9d:1012:: with SMTP id h18-v6mr5613349ote.364.1529874561522; Sun, 24 Jun 2018 14:09:21 -0700 (PDT) MIME-Version: 1.0 Received: by 2002:a9d:1429:0:0:0:0:0 with HTTP; Sun, 24 Jun 2018 14:09:20 -0700 (PDT) In-Reply-To: <20180620172226.15012-4-ulf.hansson@linaro.org> References: <20180620172226.15012-1-ulf.hansson@linaro.org> <20180620172226.15012-4-ulf.hansson@linaro.org> From: "Rafael J. Wysocki" Date: Sun, 24 Jun 2018 23:09:20 +0200 X-Google-Sender-Auth: 9qq7Fp2Jfb9Ad0OKz4cE5AMijFE Message-ID: Subject: Re: [PATCH v8 03/26] PM / Domains: Add generic data pointer to genpd_power_state struct To: Ulf Hansson 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 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? > 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 >