Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1437575 > unrolled thread

Re: [PATCH] x86/perf/intel/rapl: Fix module name collision with powercap intel-rapl

Started byVille Syrjälä <ville.syrjala@linux.intel.com>
First post2016-07-06 11:10 +0200
Last post2016-07-08 16:20 +0200
Articles 3 — 2 participants

Back to article view | Back to linux.kernel

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  Re: [PATCH] x86/perf/intel/rapl: Fix module name collision with  powercap intel-rapl Ville Syrjälä <ville.syrjala@linux.intel.com> - 2016-07-06 11:10 +0200
    Re: [PATCH] x86/perf/intel/rapl: Fix module name collision with  powercap intel-rapl Ingo Molnar <mingo@kernel.org> - 2016-07-08 15:30 +0200
      Re: [PATCH] x86/perf/intel/rapl: Fix module name collision with  powercap intel-rapl Ville Syrjälä <ville.syrjala@linux.intel.com> - 2016-07-08 16:20 +0200

#1437575 — Re: [PATCH] x86/perf/intel/rapl: Fix module name collision with powercap intel-rapl

FromVille Syrjälä <ville.syrjala@linux.intel.com>
Date2016-07-06 11:10 +0200
SubjectRe: [PATCH] x86/perf/intel/rapl: Fix module name collision with powercap intel-rapl
Message-ID<rRR0d-7fr-3@gated-at.bofh.it>
On Thu, Jun 23, 2016 at 06:06:49PM +0300, ville.syrjala@linux.intel.com wrote:
> From: Ville Syrjälä <ville.syrjala@linux.intel.com>
> 
> Since commit 4b6e2571bf00 ("x86/perf/intel/rapl: Make the Intel RAPL PMU driver modular")
> the rapl perf module calls itself intel-rapl. That name was
> already in use by the rapl powercap driver, which now fails to
> load if the perf module is loaded. Fix the problem by renaming the
> perf module to intel-rapl-perf, so that both modules can coexist.

Ping?

> 
> Cc: Kan Liang <kan.liang@intel.com>
> Cc: Thomas Gleixner <tglx@linutronix.de>
> Cc: Alexander Shishkin <alexander.shishkin@linux.intel.com>
> Cc: Arnaldo Carvalho de Melo <acme@redhat.com>
> Cc: Jiri Olsa <jolsa@redhat.com>
> Cc: Linus Torvalds <torvalds@linux-foundation.org>
> Cc: Peter Zijlstra <peterz@infradead.org>
> Cc: Stephane Eranian <eranian@google.com>
> Cc: Vince Weaver <vincent.weaver@maine.edu>
> Fixes: 4b6e2571bf00 ("x86/perf/intel/rapl: Make the Intel RAPL PMU driver modular")
> Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
> ---
>  arch/x86/events/intel/Makefile | 4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)
> 
> diff --git a/arch/x86/events/intel/Makefile b/arch/x86/events/intel/Makefile
> index 3660b2cf245a..06c2baa51814 100644
> --- a/arch/x86/events/intel/Makefile
> +++ b/arch/x86/events/intel/Makefile
> @@ -1,8 +1,8 @@
>  obj-$(CONFIG_CPU_SUP_INTEL)		+= core.o bts.o cqm.o
>  obj-$(CONFIG_CPU_SUP_INTEL)		+= ds.o knc.o
>  obj-$(CONFIG_CPU_SUP_INTEL)		+= lbr.o p4.o p6.o pt.o
> -obj-$(CONFIG_PERF_EVENTS_INTEL_RAPL)	+= intel-rapl.o
> -intel-rapl-objs				:= rapl.o
> +obj-$(CONFIG_PERF_EVENTS_INTEL_RAPL)	+= intel-rapl-perf.o
> +intel-rapl-perf-objs			:= rapl.o
>  obj-$(CONFIG_PERF_EVENTS_INTEL_UNCORE)	+= intel-uncore.o
>  intel-uncore-objs			:= uncore.o uncore_nhmex.o uncore_snb.o uncore_snbep.o
>  obj-$(CONFIG_PERF_EVENTS_INTEL_CSTATE)	+= intel-cstate.o
> -- 
> 2.7.4

-- 
Ville Syrjälä
Intel OTC

[toc] | [next] | [standalone]


#1439453

FromIngo Molnar <mingo@kernel.org>
Date2016-07-08 15:30 +0200
Message-ID<rSE0W-5l8-41@gated-at.bofh.it>
In reply to#1437575
* Ville Syrjälä <ville.syrjala@linux.intel.com> wrote:

> On Thu, Jun 23, 2016 at 06:06:49PM +0300, ville.syrjala@linux.intel.com wrote:
> > From: Ville Syrjälä <ville.syrjala@linux.intel.com>
> > 
> > Since commit 4b6e2571bf00 ("x86/perf/intel/rapl: Make the Intel RAPL PMU driver modular")
> > the rapl perf module calls itself intel-rapl. That name was
> > already in use by the rapl powercap driver, which now fails to
> > load if the perf module is loaded. Fix the problem by renaming the
> > perf module to intel-rapl-perf, so that both modules can coexist.
> 
> Ping?

It's in perf/urgent:

        #  175a20c16fdb x86/perf/intel/rapl: Fix module name collision with powercap intel-rapl

Thanks,

	Ingo

[toc] | [prev] | [next] | [standalone]


#1439501

FromVille Syrjälä <ville.syrjala@linux.intel.com>
Date2016-07-08 16:20 +0200
Message-ID<rSENk-5T8-27@gated-at.bofh.it>
In reply to#1439453
On Fri, Jul 08, 2016 at 03:23:29PM +0200, Ingo Molnar wrote:
> 
> * Ville Syrjälä <ville.syrjala@linux.intel.com> wrote:
> 
> > On Thu, Jun 23, 2016 at 06:06:49PM +0300, ville.syrjala@linux.intel.com wrote:
> > > From: Ville Syrjälä <ville.syrjala@linux.intel.com>
> > > 
> > > Since commit 4b6e2571bf00 ("x86/perf/intel/rapl: Make the Intel RAPL PMU driver modular")
> > > the rapl perf module calls itself intel-rapl. That name was
> > > already in use by the rapl powercap driver, which now fails to
> > > load if the perf module is loaded. Fix the problem by renaming the
> > > perf module to intel-rapl-perf, so that both modules can coexist.
> > 
> > Ping?
> 
> It's in perf/urgent:
> 
>         #  175a20c16fdb x86/perf/intel/rapl: Fix module name collision with powercap intel-rapl

Cool. Thanks.

-- 
Ville Syrjälä
Intel OTC

[toc] | [prev] | [standalone]


Back to top | Article view | linux.kernel


csiph-web