Received: by 2002:ac0:a581:0:0:0:0:0 with SMTP id m1-v6csp1038848imm; Wed, 20 Jun 2018 10:31:16 -0700 (PDT) X-Google-Smtp-Source: ADUXVKKXs9HbmfZX7WmrBUdnYMAmg41xJsOMMf85GW40Wq/Hxlqw/CzF2hL4suuQTY2l3Vg+g1UY X-Received: by 2002:aa7:820e:: with SMTP id k14-v6mr23750862pfi.97.1529515876421; Wed, 20 Jun 2018 10:31:16 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1529515876; cv=none; d=google.com; s=arc-20160816; b=PyPlxj0GAMbFNirWA/NbaNn5P33DMxDqEaJ6gHVPpbF0/ELne5QaoY5gfH9n4Jd0Tu WJDTzmQh8/X1z0cFRCD9Yi2bloHVPLzY+Fa81EoeUz3SunwaZWNgzBmnxtQxSFTptUm/ H5qX+/os7SE1eA7IdbAztnIGJhiTYf1/K8tvAMkLuuFpyT5D1KC4caytUIlinGQ+kFzs CYu9U68vdCyOrQ6zZbNFKawzKwWO5ZBzfkICPTo2DFyYijllY1Wp4MjXlP/3cZwdOXc0 YQCHPAkc+f4FJEi7V43Jx/trHSJ5nIc8onFPyflgv0qEzm8VOj33g0ZkKN+xooVLrqsr X3Gg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:message-id:date :subject:cc:to:from:dkim-signature:arc-authentication-results; bh=nn1c8Fl1Sgoee41Cdb6s6AY42Oe4mtKXW9dEF2Qclcg=; b=crocNbbED6mVdO1RlKt/6t5hsqEQipbDE+G9Lf15y5vPN6IfwOl+3RIa2dcoHYUXUx Gxk+n04N1ZF6EALNbpU5OjWaVjeiib25mYfO3wKfj/rZ9xTEDJeL72fkTBESD72+/qC4 kHzZqIz9FvAANqoYVl/pwSDc5a+XpyC1Rr7Xgbs4adlZUMCCBx42lwjU0ytet0udgYRY owmpmft6g/YTr/CCQlwsd1Fpcz4lW7OaVHDSJKoM/FzjVAyublIGRrRI4DcKgj+VB8tn 2Cy7pOEiLtYJUrMdJ3MS7PwD52s8hMxrV53PkFiI82xymFwd24TYEXfhVPXwtFb7RaTk b7mA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=Fms5MZh+; 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 60-v6si2812976pla.376.2018.06.20.10.31.02; Wed, 20 Jun 2018 10:31:16 -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=Fms5MZh+; 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 S932609AbeFTR3B (ORCPT + 99 others); Wed, 20 Jun 2018 13:29:01 -0400 Received: from mail-lf0-f67.google.com ([209.85.215.67]:40100 "EHLO mail-lf0-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754417AbeFTRWm (ORCPT ); Wed, 20 Jun 2018 13:22:42 -0400 Received: by mail-lf0-f67.google.com with SMTP id q11-v6so467354lfc.7 for ; Wed, 20 Jun 2018 10:22:42 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=nn1c8Fl1Sgoee41Cdb6s6AY42Oe4mtKXW9dEF2Qclcg=; b=Fms5MZh+Y2NcSUQLJvVveQhOzXD9FJ9G/WS/pMfGFfAUOcdghZncGQ4QUcrTfiDHjG s2YHhha23J5+08pidu3G24Vkg+/C4+xmFvoJKQbQU8oz864aHSKGBBacDTfWGElmm00o SbDwCWScWvHyM0uj4Iv4vQ5gQpncl6f+1U75I= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=nn1c8Fl1Sgoee41Cdb6s6AY42Oe4mtKXW9dEF2Qclcg=; b=NXhkpsV9AeSHMDRPgk/PrMrJHj1e7VyTvA8ohLCWpHDWkxhNyCeC4Y19kIzMMdkJrP xiVXyb8GxPdm2UNpQWontEf11h/jD5YpYigVZjQHLSW5r3OnyNvo3NgSNWB6WKhCmv3Q edubNBa/9/IWAEVHaVfl3+n4ByEeywgO4SzI+F/pbJLldMTtVShR0+kSgJ5jxsmW6tIQ fG9FvX53HG/LHHgdGJ4pBVTDYe9X1cmIhwO1oJcu+5xIJJNWc4oU5/KNu2x1KmCq4S2L gyqOwT7AoBsm2XUQMobWifmjz2xm3cxzQaKdAOyt+IQdav8UEgYWLP8eh2Txe4fOdhtS hM1A== X-Gm-Message-State: APt69E0GayNNABK/im7XnQiW4XSIZ/oCX6GYORSSsyjcj34A1ATCijrX xJtI+vWrC20Fp57OC8IEsCNhGQ== X-Received: by 2002:a19:5943:: with SMTP id n64-v6mr13137400lfb.107.1529515361033; Wed, 20 Jun 2018 10:22:41 -0700 (PDT) Received: from localhost.localdomain (h-158-174-22-210.NA.cust.bahnhof.se. [158.174.22.210]) by smtp.gmail.com with ESMTPSA id b2-v6sm514441lji.85.2018.06.20.10.22.39 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 20 Jun 2018 10:22:40 -0700 (PDT) From: Ulf Hansson To: "Rafael J . Wysocki" , Sudeep Holla , Lorenzo Pieralisi , Mark Rutland , linux-pm@vger.kernel.org Cc: Kevin Hilman , Lina Iyer , Lina Iyer , Ulf Hansson , Rob Herring , Daniel Lezcano , Thomas Gleixner , Vincent Guittot , Stephen Boyd , Juri Lelli , Geert Uytterhoeven , linux-arm-kernel@lists.infradead.org, linux-arm-msm@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH v8 03/26] PM / Domains: Add generic data pointer to genpd_power_state struct Date: Wed, 20 Jun 2018 19:22:03 +0200 Message-Id: <20180620172226.15012-4-ulf.hansson@linaro.org> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20180620172226.15012-1-ulf.hansson@linaro.org> References: <20180620172226.15012-1-ulf.hansson@linaro.org> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Lina Iyer Let's add a data pointer to the genpd_power_state struct, to allow platforms to store per state specific data. 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