Received: by 10.192.165.156 with SMTP id m28csp461596imm; Wed, 11 Apr 2018 01:56:10 -0700 (PDT) X-Google-Smtp-Source: AIpwx4+XI2wa77Nd0UioBk/G9DGenOs1713lwTnowG4Xki3jkR0+bYlOwufGEKjeanzWubS14KVY X-Received: by 10.167.129.10 with SMTP id b10mr3315566pfi.186.1523436970901; Wed, 11 Apr 2018 01:56:10 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1523436970; cv=none; d=google.com; s=arc-20160816; b=PKv9RNGArzyIE8lSWA+J6GCHxvWIcp203w3KE30Sip+k9UXqOim+irbJkwCtp+WhDz 9UKv2jhmBe+kQUqpYqh9oVh6U1ChdOkd05S0XfLGUVO3s3nM+gkJXILBCSwH9knBAFjK JGBuktE+V2WVkY1Y59NauoRRtLkAqC6osJrzxMXuXsU74Xu8qSlvbK8YclJ0uC9IBwpa M58Tl/x1rxW/sUqI1TkS2B3yRvp+dhgI6bg2+lH8HRB4t4t3iqmGeh1RHBWNJlUrCYn7 FDjy552QVrS5odspYgPb2t4yMCyHOF8L2Hq0EOcK/6G6/kWhHJCga4JupoEPIK4+gUQb 3iRw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature:arc-authentication-results; bh=2mBgLXT8znBaV2VuPyNO39Db9V8aaqTelrX5aW2KITs=; b=lQdlTYK0+sW1av44UWf3ADXvc8SToqI//FHPIdh73Er0wW2kzmM+Di45UVuY1/bJP/ 1kD+OC/WLcXzQusmm9frCAki2wYKzPZrZWJYwh6rZ2S695L3yQeJ/NdFIhzqYi2I1QjX tHwSruATAZl2qqUGTOEzHhn6TkDVGlmMddniRM7evgP+Ua8szteJ3tnw7dor+U7I15V1 CylypbBx41aY7yjl5LicCFj0FDUFkgUGXpqEBWxuAtX0q3tqrLrbq5J8CYJE1RxfBA81 KIavns7M21W3Y5UZfsC/VczKLjkLSvTxphwnELjXsE0JWQBifcPusmBMrXc5NHiblOSd kEjQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=QUfQ+c4O; 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 n61-v6si704142plb.112.2018.04.11.01.55.34; Wed, 11 Apr 2018 01:56:10 -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=QUfQ+c4O; 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 S1752765AbeDKIv5 (ORCPT + 99 others); Wed, 11 Apr 2018 04:51:57 -0400 Received: from mail-pg0-f66.google.com ([74.125.83.66]:38109 "EHLO mail-pg0-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752509AbeDKIvy (ORCPT ); Wed, 11 Apr 2018 04:51:54 -0400 Received: by mail-pg0-f66.google.com with SMTP id f4so465467pgs.5 for ; Wed, 11 Apr 2018 01:51:53 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to:user-agent; bh=2mBgLXT8znBaV2VuPyNO39Db9V8aaqTelrX5aW2KITs=; b=QUfQ+c4Ocwhp06CFlAG0Sn9v51M2fpLXCKP6cdG6nMKrFjz2lMZJZJ3mICbY0vpSK7 9iu2YhPGdQFpXhHI+OoyCgUN5I9GiJAuubXs948YpNkpR2ZuPM23N1b0UFHar5hc92B8 /oFNZD2QmsfalmkFk8/55OzALT2McE2ov41zs= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=2mBgLXT8znBaV2VuPyNO39Db9V8aaqTelrX5aW2KITs=; b=H1nqCzR7uI/MY6NeGSmE6nDuJ31MJyQA8Z65nkaDSF5sTnDS5ZyANtNailGJG0DjU2 Jbe78yMa0AssOtEg45iwzFpvXdtLvRz3FtgKc9qEsOnQqig5a7rtpqtDl6QD6nBEABpF El2KfUkz0BE075MskwmUTXFI4lWiNZJ7tBY3UFSSDhFuhSVLHzBQ9rqPHgsVtBzJ2ojC EDu1OKyeE0BlVu3RdvRRs6seOZPwHPcsGnf5JghOmZmGMiPS9LcD7+F+t3rS8GJPy3+b yvdt+ak6Gr8GyTj1UxEi9AmPAw/bTBpxI0Z9PuEWvNMk9eTEJqKo9PhHb7Nom168DvPr 117g== X-Gm-Message-State: ALQs6tDrE1iQ+3r6lTgCJ46QwWCVn+DyqWcY0w1eqpI5Eilo85Vv+/9t 13TEb6xMmiMMgKpu2IjJUDkIrw== X-Received: by 10.99.52.135 with SMTP id b129mr2833843pga.308.1523436713528; Wed, 11 Apr 2018 01:51:53 -0700 (PDT) Received: from localhost ([122.171.228.188]) by smtp.gmail.com with ESMTPSA id k73sm2014629pgc.55.2018.04.11.01.51.52 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 11 Apr 2018 01:51:53 -0700 (PDT) Date: Wed, 11 Apr 2018 14:21:51 +0530 From: Viresh Kumar To: Daniel Lezcano Cc: edubezval@gmail.com, kevin.wangtao@linaro.org, leo.yan@linaro.org, vincent.guittot@linaro.org, linux-kernel@vger.kernel.org, javi.merino@kernel.org, rui.zhang@intel.com, daniel.thompson@linaro.org, linux-pm@vger.kernel.org, "Rafael J. Wysocki" Subject: Re: [PATCH v3 7/7] cpuidle/drivers/cpuidle-arm: Register the cooling device Message-ID: <20180411085151.GO7671@vireshk-i7> References: <1522945005-7165-1-git-send-email-daniel.lezcano@linaro.org> <1522945005-7165-8-git-send-email-daniel.lezcano@linaro.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1522945005-7165-8-git-send-email-daniel.lezcano@linaro.org> User-Agent: Mutt/1.5.24 (2015-08-30) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 05-04-18, 18:16, Daniel Lezcano wrote: > Register the ARM generic cpuidle driver as a cooling device. > > Signed-off-by: Daniel Lezcano > --- > drivers/cpuidle/cpuidle-arm.c | 3 +++ > 1 file changed, 3 insertions(+) > > diff --git a/drivers/cpuidle/cpuidle-arm.c b/drivers/cpuidle/cpuidle-arm.c > index ddee1b6..44b4fe3 100644 > --- a/drivers/cpuidle/cpuidle-arm.c > +++ b/drivers/cpuidle/cpuidle-arm.c > @@ -11,6 +11,7 @@ > > #define pr_fmt(fmt) "CPUidle arm: " fmt > > +#include > #include > #include > #include > @@ -172,6 +173,8 @@ static int __init arm_idle_init(void) > goto out_fail; > } > > + cpuidle_cooling_register(); > + > return 0; > > out_fail: Acked-by: Viresh Kumar -- viresh