Received: by 2002:a25:ab43:0:0:0:0:0 with SMTP id u61csp3049266ybi; Mon, 10 Jun 2019 03:30:29 -0700 (PDT) X-Google-Smtp-Source: APXvYqx6xdnh36Nw8ZyNeBleD/tozw8fGN4spVNkI6EeUsxP4DQm4eG2y9RUpGUyt3gZH5EvUEHq X-Received: by 2002:a17:90a:d3d7:: with SMTP id d23mr19480511pjw.26.1560162629333; Mon, 10 Jun 2019 03:30:29 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1560162629; cv=none; d=google.com; s=arc-20160816; b=rM2O78Uu6Q/F71X6uoAbG2b24Y+zj2o76sSnBpIb6rdgaMOxMKGhYIV9qb2LXoPaGg JJDer7kcz2mD8I42FDi3iCQWH7syro2EpsXt9zLVzmkgI1jEg4/gK0hnpXwyJwKkTOjI rMWQa/wPbK9dMmW1UfKmMCHZZPAWIlVYnmUXMQ+2yPi3+GNqK9/xFDXFkhmkNBsSgylJ GLQwnXlG3dRSbc9mBTHIQYQVGUzwJtAo6hPHyYi4g8SSg0+OiPBjdOw8ixNAtVy+EOuu +nrpN0r4uX1d0K1Aco+HHkMOr0i5UgzCArxwcwyfEiLKtkA5yIK/hwzJkfRxMTM8yabu lXvQ== 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=SP4C91hkmfb8nf4pEfeOT8GgXw6uPbDXmSTuJCq/gGc=; b=AhWQO3ew8FpXwLeNAMP4CMI8BI1bmwz5olx6bSiC5rFFyYpo1497NcuLHq8ekf4Vx/ eBRXIIUwCZiU5JzqgfY8a5ZMarO8iCVEz88C5YVr8rooOjqaWRc+t+3PzbgnkKi9hSae 6fwGIbp7dASFLt191tUQ9KCrswYIJB5Sj7/wgLs2/LmaUC3c+qTfcwMyOTATRhxZMje1 o/YAKIqICN/Ri15P23NteIAa4Rwh18qLEfgcMQl3Bu7TQwuRJ15yXY+HdJqM/88Q6EvI Jz9HY0Wx0DP+i8W4xYE1yWrjRgKfvTH/y9lMqp+OmcAlmxWfIrbYUT+ZS28ccR5y5iZ7 t2jw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b="NnLT/vHj"; 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 v5si9187637pgs.285.2019.06.10.03.30.13; Mon, 10 Jun 2019 03:30:29 -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="NnLT/vHj"; 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 S2389349AbfFJKVD (ORCPT + 99 others); Mon, 10 Jun 2019 06:21:03 -0400 Received: from mail-vs1-f66.google.com ([209.85.217.66]:34919 "EHLO mail-vs1-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2388937AbfFJKVC (ORCPT ); Mon, 10 Jun 2019 06:21:02 -0400 Received: by mail-vs1-f66.google.com with SMTP id u124so4976831vsu.2 for ; Mon, 10 Jun 2019 03:21:02 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=SP4C91hkmfb8nf4pEfeOT8GgXw6uPbDXmSTuJCq/gGc=; b=NnLT/vHjyOBGZwlrcg6VlzgOH161C3LeV8WVy/Vu8rFpi3c/FRWMWJAgX1juq3HdBx L8SvJdLZ3DJYOGXVVqnaHEP5aYAPVqmD06tmeB37f8Zd2tJkwL3EEk9U+CyW/i2cGMDn /qbzJ3ipIzTlfQIz/Ku+Z+csNl5SVYR0z0h06poDeKOV3bCxAQ4+UPlvkgzYF3sHr6PW fNIwoN7cDHj1MRQI75Wh16WPHdavqxIdQxDViUCNbS748aaCS+CSALai5WJM95xeE+Le 5WlgNvBWmNkP0+IZOmesajCOvIc6FGL6UJrFm0O3ov8s+u1/KMEO8G01o2byn1gEeC98 E3dg== 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=SP4C91hkmfb8nf4pEfeOT8GgXw6uPbDXmSTuJCq/gGc=; b=XM/DWT1NKtx/BXHwKhV+Vpb/IWbegqb7NmzAtpDISA882+cXNI++bl9riUM92xcW1A uhRWZU8OFToFYugSRCwbJTiImGO6bX4aexnemY+PIjKn2qKtCwYLNycwRTw41cGtFLRn /lu51pnAhdun2b0L8zeo2hg3bSi12nn1bPM5XrEOJXAD3SoYtI94hBgMYw1Nf7grHy5R RlAkZjKNF3xMLPduO2Ug2dvXFz6DdCy0Qtor2pQRrnmQkmOZUYFxssJ6YipWt8WMTO0N ZEkePqiqSwIkVqh1CYshaKLomHGOm4RkKNk2hZrVnmcM27IEK545Q4HsTizOQUIWjBmY BU/w== X-Gm-Message-State: APjAAAUtSu3vUdFCKQztmwaRG+AVdgCy2E8j7utCwxMhPMTT6XFOdkmn 4VuYNdPMSg0Hf9EaYT/T/V17u7nEXCtxdvW2Pee7rg== X-Received: by 2002:a67:706:: with SMTP id 6mr19148665vsh.200.1560162061544; Mon, 10 Jun 2019 03:21:01 -0700 (PDT) MIME-Version: 1.0 References: <20190513192300.653-1-ulf.hansson@linaro.org> <20190513192300.653-5-ulf.hansson@linaro.org> <20190607150052.GC15577@e107155-lin> In-Reply-To: <20190607150052.GC15577@e107155-lin> From: Ulf Hansson Date: Mon, 10 Jun 2019 12:20:25 +0200 Message-ID: Subject: Re: [PATCH 04/18] ARM/ARM64: cpuidle: Let back-end init ops take the driver as input To: Sudeep Holla Cc: Lorenzo Pieralisi , Mark Rutland , Linux ARM , "Rafael J . Wysocki" , Daniel Lezcano , "Raju P . L . S . S . S . N" , Amit Kucheria , Bjorn Andersson , Stephen Boyd , Niklas Cassel , Tony Lindgren , Kevin Hilman , Lina Iyer , Viresh Kumar , Vincent Guittot , Geert Uytterhoeven , Souvik Chakravarty , Linux PM , linux-arm-msm , Linux Kernel Mailing List , Russell King , Catalin Marinas , Will Deacon , Andy Gross , David Brown 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, 7 Jun 2019 at 17:01, Sudeep Holla wrote: > > On Mon, May 13, 2019 at 09:22:46PM +0200, Ulf Hansson wrote: > > To allow arch back-end init ops to operate on the cpuidle driver for the > > corresponding CPU, let's pass along a pointer to the struct cpuidle_driver* > > and forward it the relevant layers of callbacks for ARM/ARM64. > > > > I may be wrong, but I see drv is just used to get state_count mostly. > It's also used in flattening part, but that should not be here either. Let me copy the note I added below the changelog for $subject patch, as hopefully that should clarify the reason to why this is needed. "- This patch is needed by the subsequent patch, but more importantly, also by "[PATCH 10/18] drivers: firmware: psci: Add hierarchical domain idle states converter"." Kind regards Uffe