From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1763408Ab3DCKYw (ORCPT ); Wed, 3 Apr 2013 06:24:52 -0400 Received: from cpsmtpb-ews03.kpnxchange.com ([213.75.39.6]:53024 "EHLO cpsmtpb-ews03.kpnxchange.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1762371Ab3DCKYu (ORCPT ); Wed, 3 Apr 2013 06:24:50 -0400 Message-ID: <1364984688.1830.4.camel@x61.thuisdomein> Subject: Re: [PATCH 1/1] Introduce Intel RAPL cooling device driver From: Paul Bolle To: Jacob Pan Cc: LKML , Platform Driver , Matthew Garrett , Zhang Rui , Rafael Wysocki , Len Brown , Srinivas Pandruvada , Arjan van de Ven Date: Wed, 03 Apr 2013 12:24:48 +0200 In-Reply-To: <1364940936-20846-2-git-send-email-jacob.jun.pan@linux.intel.com> References: <1364940936-20846-1-git-send-email-jacob.jun.pan@linux.intel.com> <1364940936-20846-2-git-send-email-jacob.jun.pan@linux.intel.com> Content-Type: text/plain; charset="UTF-8" X-Mailer: Evolution 3.4.4 (3.4.4-2.fc17) Mime-Version: 1.0 Content-Transfer-Encoding: 7bit X-OriginalArrivalTime: 03 Apr 2013 10:24:48.0341 (UTC) FILETIME=[77F7E050:01CE3055] X-RcptDomain: vger.kernel.org Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, 2013-04-02 at 15:15 -0700, Jacob Pan wrote: > --- a/drivers/platform/x86/Kconfig > +++ b/drivers/platform/x86/Kconfig > @@ -781,4 +781,12 @@ config APPLE_GMUX > graphics as well as the backlight. Currently only backlight > control is supported by the driver. > > +config INTEL_RAPL > + tristate "Intel RAPL Support" > + depends on X86 && THERMAL drivers/platform/x86/Kconfig is sourced from drivers/platform/Kconfig. The relevant line is wrapped in an "if X86" and "endif" pair. So X86 is superfluous here. " > + default y > + ---help--- > + RAPL, AKA, Running Average Power Limit provides mechanisms to enforce > + and monitor per domain power consumption limits of supported Intel CPUs. > + > endif # X86_PLATFORM_DEVICES Paul Bolle