From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752115AbcBVTMq (ORCPT ); Mon, 22 Feb 2016 14:12:46 -0500 Received: from www.linutronix.de ([62.245.132.108]:36035 "EHLO Galois.linutronix.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751480AbcBVTMp (ORCPT ); Mon, 22 Feb 2016 14:12:45 -0500 Date: Mon, 22 Feb 2016 20:11:26 +0100 (CET) From: Thomas Gleixner To: Andi Kleen cc: LKML , Peter Zijlstra , x86@kernel.org, Borislav Petkov , Stephane Eranian , Harish Chegondi , Kan Liang , Andi Kleen , Jacob Pan Subject: Re: [patch V2 28/28] x86/perf/intel/rapl: Make it modular In-Reply-To: <87povopozt.fsf@tassilo.jf.intel.com> Message-ID: References: <20160222110337.198341739@linutronix.de> <20160222110442.602714155@linutronix.de> <87povopozt.fsf@tassilo.jf.intel.com> User-Agent: Alpine 2.11 (DEB 23 2013-08-11) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Linutronix-Spam-Score: -1.0 X-Linutronix-Spam-Level: - X-Linutronix-Spam-Status: No , -1.0 points, 5.0 required, ALL_TRUSTED=-1,SHORTCIRCUIT=-0.0001,URIBL_BLOCKED=0.001 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Andi, On Mon, 22 Feb 2016, Andi Kleen wrote: > Thomas Gleixner 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