[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <alpine.DEB.2.11.1602222008420.2477@nanos>
Date: Mon, 22 Feb 2016 20:11:26 +0100 (CET)
From: Thomas Gleixner <tglx@...utronix.de>
To: Andi Kleen <andi@...stfloor.org>
cc: LKML <linux-kernel@...r.kernel.org>,
Peter Zijlstra <peterz@...radead.org>, x86@...nel.org,
Borislav Petkov <bp@...en8.de>,
Stephane Eranian <eranian@...gle.com>,
Harish Chegondi <harish.chegondi@...el.com>,
Kan Liang <kan.liang@...el.com>,
Andi Kleen <andi.kleen@...el.com>,
Jacob Pan <jacob.jun.pan@...ux.intel.com>
Subject: Re: [patch V2 28/28] x86/perf/intel/rapl: Make it modular
Andi,
On Mon, 22 Feb 2016, Andi Kleen wrote:
> Thomas Gleixner <tglx@...utronix.de> writes:
>
> > Add the necessary exit functions so it can be built as a module.
>
> If you make it a module you also need to add MODULE_DEVICE_TABLE
> for the PCI IDs and also add x86_cpu_id tables/annotations
> for the model numbers.
>
> Otherwise the module would always need to be loaded manually
> which would break existing setups.
I know. That's why I made the default Yes. We can drop that patch or add some
explanation to the help text that 'M' is for manual module loading until
someone adds the necessary magic for auto probing.
Thanks,
tglx
Powered by blists - more mailing lists