linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] powercap/rapl: fix build dependency on iosf_mbi
@ 2014-11-12 18:50 Jacob Pan
  2014-11-13  1:34 ` Rafael J. Wysocki
  0 siblings, 1 reply; 2+ messages in thread
From: Jacob Pan @ 2014-11-12 18:50 UTC (permalink / raw)
  To: LKML, Rafael Wysocki, Linux PM; +Cc: Ajay Thomas, Jacob Pan

RAPL on Atom depends on IOSF_MBI driver for setting
floor frequency. This patch adds explicit dependency on
CONFIG_IOSF_MB.

Signed-off-by: Jacob Pan <jacob.jun.pan@linux.intel.com>
---
 drivers/powercap/Kconfig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/powercap/Kconfig b/drivers/powercap/Kconfig
index a7c81b5..85727ef 100644
--- a/drivers/powercap/Kconfig
+++ b/drivers/powercap/Kconfig
@@ -17,7 +17,7 @@ if POWERCAP
 # Client driver configurations go here.
 config INTEL_RAPL
 	tristate "Intel RAPL Support"
-	depends on X86
+	depends on X86 && IOSF_MBI
 	default n
 	---help---
 	  This enables support for the Intel Running Average Power Limit (RAPL)
-- 
1.9.1


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] powercap/rapl: fix build dependency on iosf_mbi
  2014-11-12 18:50 [PATCH] powercap/rapl: fix build dependency on iosf_mbi Jacob Pan
@ 2014-11-13  1:34 ` Rafael J. Wysocki
  0 siblings, 0 replies; 2+ messages in thread
From: Rafael J. Wysocki @ 2014-11-13  1:34 UTC (permalink / raw)
  To: Jacob Pan; +Cc: LKML, Rafael Wysocki, Linux PM, Ajay Thomas

On Wednesday, November 12, 2014 10:50:36 AM Jacob Pan wrote:
> RAPL on Atom depends on IOSF_MBI driver for setting
> floor frequency. This patch adds explicit dependency on
> CONFIG_IOSF_MB.
> 
> Signed-off-by: Jacob Pan <jacob.jun.pan@linux.intel.com>

Applied, thanks!

> ---
>  drivers/powercap/Kconfig | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/drivers/powercap/Kconfig b/drivers/powercap/Kconfig
> index a7c81b5..85727ef 100644
> --- a/drivers/powercap/Kconfig
> +++ b/drivers/powercap/Kconfig
> @@ -17,7 +17,7 @@ if POWERCAP
>  # Client driver configurations go here.
>  config INTEL_RAPL
>  	tristate "Intel RAPL Support"
> -	depends on X86
> +	depends on X86 && IOSF_MBI
>  	default n
>  	---help---
>  	  This enables support for the Intel Running Average Power Limit (RAPL)
> 

-- 
I speak only for myself.
Rafael J. Wysocki, Intel Open Source Technology Center.

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2014-11-13  1:13 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-11-12 18:50 [PATCH] powercap/rapl: fix build dependency on iosf_mbi Jacob Pan
2014-11-13  1:34 ` Rafael J. Wysocki

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).