linux-pm.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Daniel Lezcano <daniel.lezcano@linaro.org>
To: Matt Redfearn <matt.redfearn@imgtec.com>,
	Ralf Baechle <ralf@linux-mips.org>
Cc: linux-mips@linux-mips.org,
	"Rafael J. Wysocki" <rjw@rjwysocki.net>,
	linux-pm@vger.kernel.org, linux-kernel@vger.kernel.org
Subject: Re: [PATCH v2 12/12] cpuidle: cpuidle-cps: Enable use with MIPSr6 CPUs.
Date: Thu, 8 Sep 2016 12:55:13 +0200	[thread overview]
Message-ID: <f0e9df57-a19f-a94d-6cf8-60ea7c84a732@linaro.org> (raw)
In-Reply-To: <1473241520-14917-13-git-send-email-matt.redfearn@imgtec.com>

On 07/09/2016 11:45, Matt Redfearn wrote:
> This patch enables the MIPS CPS driver for MIPSr6 CPUs.
> 
> Signed-off-by: Matt Redfearn <matt.redfearn@imgtec.com>
> Reviewed-by: Paul Burton <paul.burton@imgtec.com>
> 

Reviewed-by: Daniel Lezcano <daniel.lezcano@linaro.org>

> ---
> 
> Changes in v2: None
> 
>  drivers/cpuidle/Kconfig.mips  | 2 +-
>  drivers/cpuidle/cpuidle-cps.c | 2 +-
>  2 files changed, 2 insertions(+), 2 deletions(-)
> 
> diff --git a/drivers/cpuidle/Kconfig.mips b/drivers/cpuidle/Kconfig.mips
> index 4102be01d06a..512ee37b374b 100644
> --- a/drivers/cpuidle/Kconfig.mips
> +++ b/drivers/cpuidle/Kconfig.mips
> @@ -5,7 +5,7 @@ config MIPS_CPS_CPUIDLE
>  	bool "CPU Idle driver for MIPS CPS platforms"
>  	depends on CPU_IDLE && MIPS_CPS
>  	depends on SYS_SUPPORTS_MIPS_CPS
> -	select ARCH_NEEDS_CPU_IDLE_COUPLED if MIPS_MT
> +	select ARCH_NEEDS_CPU_IDLE_COUPLED if MIPS_MT || CPU_MIPSR6
>  	select GENERIC_CLOCKEVENTS_BROADCAST if SMP
>  	select MIPS_CPS_PM
>  	default y
> diff --git a/drivers/cpuidle/cpuidle-cps.c b/drivers/cpuidle/cpuidle-cps.c
> index 1adb6980b707..926ba9871c62 100644
> --- a/drivers/cpuidle/cpuidle-cps.c
> +++ b/drivers/cpuidle/cpuidle-cps.c
> @@ -163,7 +163,7 @@ static int __init cps_cpuidle_init(void)
>  		core = cpu_data[cpu].core;
>  		device = &per_cpu(cpuidle_dev, cpu);
>  		device->cpu = cpu;
> -#ifdef CONFIG_MIPS_MT
> +#ifdef CONFIG_ARCH_NEEDS_CPU_IDLE_COUPLED
>  		cpumask_copy(&device->coupled_cpus, &cpu_sibling_map[cpu]);
>  #endif
>  
> 


-- 
 <http://www.linaro.org/> Linaro.org │ Open source software for ARM SoCs

Follow Linaro:  <http://www.facebook.com/pages/Linaro> Facebook |
<http://twitter.com/#!/linaroorg> Twitter |
<http://www.linaro.org/linaro-blog/> Blog

      reply	other threads:[~2016-09-08 10:55 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-09-07  9:45 [PATCH v2 00/12] MIPS CPC fixup and CPU Idle for MIPSr6 CPUs Matt Redfearn
2016-09-07  9:45 ` [PATCH v2 12/12] cpuidle: cpuidle-cps: Enable use with " Matt Redfearn
2016-09-08 10:55   ` Daniel Lezcano [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=f0e9df57-a19f-a94d-6cf8-60ea7c84a732@linaro.org \
    --to=daniel.lezcano@linaro.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-mips@linux-mips.org \
    --cc=linux-pm@vger.kernel.org \
    --cc=matt.redfearn@imgtec.com \
    --cc=ralf@linux-mips.org \
    --cc=rjw@rjwysocki.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).