Re: [PATCH] powercap / RAPL : remove dependency on iosf_mbi

From: Jacob Pan
Date: Fri Sep 18 2015 - 11:44:02 EST


On Fri, 18 Sep 2015 02:09:55 +0200
"Rafael J. Wysocki" <rjw@xxxxxxxxxxxxx> wrote:

> On Thursday, September 17, 2015 03:31:41 PM Pengyu Ma wrote:
> > iosf_mbi is supported on Quark, Braswell, Baytrail and some Atom
> > SoC, but RAPL is not limited to these SoC, it supports almost Intel
> > CPUs. Remove this dependece to make RAPL support more Intel CPUs.
> >
> > Please select IOSF_MBI on Atom SoCs.
> >
Unlike Quark, I don't think we want to or do differentiate Atom from
other x86 at compile time. IOSF driver can be compiled as a module also,
therefore RAPL driver needs this explicit dependency at compile time.

> > Signed-off-by: Pengyu Ma <pengyu.ma@xxxxxxxxxxxxx>
>
> Jacob?
>
> > ---
> > drivers/powercap/Kconfig | 2 +-
> > 1 file changed, 1 insertion(+), 1 deletion(-)
> >
> > diff --git a/drivers/powercap/Kconfig b/drivers/powercap/Kconfig
> > index 85727ef..a7c81b5 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 && IOSF_MBI
> > + depends on X86
> > default n
> > ---help---
> > This enables support for the Intel Running Average Power
> > Limit (RAPL)
> >
>

[Jacob Pan]
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/