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]
Message-ID: <1461175102.8946.140.camel@linux.intel.com>
Date:	Wed, 20 Apr 2016 10:58:22 -0700
From:	Srinivas Pandruvada <srinivas.pandruvada@...ux.intel.com>
To:	Peter Zijlstra <peterz@...radead.org>
Cc:	tglx@...utronix.de, mingo@...hat.com, hpa@...or.com,
	x86@...nel.org, bp@...en8.de, linux-kernel@...r.kernel.org
Subject: Re: [PATCH] perf/x86/intel/rapl: Add missing Haswell model

On Wed, 2016-04-20 at 17:38 +0200, Peter Zijlstra wrote:
> On Sun, Apr 17, 2016 at 08:43:29AM -0700, Srinivas Pandruvada wrote:
> > 
> > Added one missing Haswell model.
> Indeed, but when I compare with the table in events/intel/core.c I
> find
> we also miss one Broadwell (86) model.
> 
> Would the below be correct for that?
Yes.

Thanks,
Srinivas
> 
> ---
>  arch/x86/events/intel/rapl.c | 13 +++++++++----
>  1 file changed, 9 insertions(+), 4 deletions(-)
> 
> diff --git a/arch/x86/events/intel/rapl.c
> b/arch/x86/events/intel/rapl.c
> index 7c56b985c9f6..f9129a85928a 100644
> --- a/arch/x86/events/intel/rapl.c
> +++ b/arch/x86/events/intel/rapl.c
> @@ -739,16 +739,21 @@ static const struct intel_rapl_init_fun
> knl_rapl_init __initconst = {
>  
>  static const struct x86_cpu_id rapl_cpu_match[] __initconst = {
>  	X86_RAPL_MODEL_MATCH(42, snb_rapl_init),	/* Sandy
> Bridge */
> +	X86_RAPL_MODEL_MATCH(45, snbep_rapl_init),	/* Sandy
> Bridge-EP */
> +
>  	X86_RAPL_MODEL_MATCH(58, snb_rapl_init),	/* Ivy
> Bridge */
> -	X86_RAPL_MODEL_MATCH(63, hsx_rapl_init),	/* Haswell-
> Server */
> -	X86_RAPL_MODEL_MATCH(79, hsx_rapl_init),	/*
> Broadwell-Server */
> +	X86_RAPL_MODEL_MATCH(62, snbep_rapl_init),	/* IvyTown
> */
> +
>  	X86_RAPL_MODEL_MATCH(60, hsw_rapl_init),	/* Haswell
> */
> +	X86_RAPL_MODEL_MATCH(63, hsx_rapl_init),	/* Haswell-
> Server */
>  	X86_RAPL_MODEL_MATCH(69, hsw_rapl_init),	/* Haswell-
> Celeron */
>  	X86_RAPL_MODEL_MATCH(70, hsw_rapl_init),	/* Haswell
> GTe3 */
> +
>  	X86_RAPL_MODEL_MATCH(61, hsw_rapl_init),	/* Broadwell
> */
>  	X86_RAPL_MODEL_MATCH(71, hsw_rapl_init),	/*
> Broadwell-H */
> -	X86_RAPL_MODEL_MATCH(45, snbep_rapl_init),	/* Sandy
> Bridge-EP */
> -	X86_RAPL_MODEL_MATCH(62, snbep_rapl_init),	/* IvyTown
> */
> +	X86_RAPL_MODEL_MATCH(79, hsx_rapl_init),	/*
> Broadwell-Server */
> +	X86_RAPL_MODEL_MATCH(86, hsx_rapl_init),	/* Broadwell
> Xeon D */
> +
>  	X86_RAPL_MODEL_MATCH(87, knl_rapl_init),	/* Knights
> Landing */
>  	{},
>  };

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ