lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date:	Wed, 19 Mar 2014 12:32:54 +0100
From:	Ingo Molnar <mingo@...nel.org>
To:	Peter Zijlstra <peterz@...radead.org>
Cc:	"Yan, Zheng" <zheng.z.yan@...el.com>, linux-kernel@...r.kernel.org,
	acme@...radead.org, eranian@...gle.com, andi@...stfloor.org
Subject: Re: [PATCH 4/4] perf/x86/uncore: modularize Intel uncore driver


* Peter Zijlstra <peterz@...radead.org> wrote:

> On Tue, Mar 18, 2014 at 04:56:44PM +0800, Yan, Zheng wrote:
> > This patch adds support for building Intel uncore driver as module.
> > It adds clean-up code and config option for the Intel uncore driver
> > 
> > Signed-off-by: Yan, Zheng <zheng.z.yan@...el.com>
> > ---
> >  arch/x86/Kconfig                              |  7 ++++
> >  arch/x86/configs/i386_defconfig               |  1 +
> >  arch/x86/configs/x86_64_defconfig             |  1 +
> >  arch/x86/kernel/cpu/Makefile                  |  3 +-
> >  arch/x86/kernel/cpu/perf_event_intel_uncore.c | 48 ++++++++++++++++++++++++---
> >  5 files changed, 55 insertions(+), 5 deletions(-)
> > 
> > diff --git a/arch/x86/Kconfig b/arch/x86/Kconfig
> > index 0af5250..8e4e247 100644
> > --- a/arch/x86/Kconfig
> > +++ b/arch/x86/Kconfig
> > @@ -1103,6 +1103,13 @@ config X86_CPUID
> >  	  with major 203 and minors 0 to 31 for /dev/cpu/0/cpuid to
> >  	  /dev/cpu/31/cpuid.
> >  
> > +config X86_INTEL_UNCORE
> > +	tristate "Intel uncore performance monitoring support"
> > +	depends on CPU_SUP_INTEL
> > +	---help---
> > +	  This adds a driver to access the Uncore performance monitoring Units
> > +	  of Intel processors.
> > +
> 
> Ingo do you agree with this config option placement?

Yeah, the modularization looks mostly good to me, but its name should 
lie within the PERF namespace, i.e. CONFIG_PERF_PMU_X86_INTEL_UNCORE=y.

Thanks,

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

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ