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:	Mon, 11 May 2009 14:05:14 +0200
From:	Ingo Molnar <mingo@...e.hu>
To:	Jaswinder Singh Rajput <jaswinder@...nel.org>
Cc:	mingo@...hat.com, hpa@...or.com, paulus@...ba.org,
	linux-kernel@...r.kernel.org, robert.richter@....com,
	a.p.zijlstra@...llo.nl, tglx@...utronix.de,
	linux-tip-commits@...r.kernel.org
Subject: Re: [tip:perfcounters/core] perf_counter, x86: remove
	X86_FEATURE_ARCH_PERFMON flag for AMD cpus


* Jaswinder Singh Rajput <jaswinder@...nel.org> wrote:

> On Mon, 2009-05-11 at 12:02 +0200, Ingo Molnar wrote:
> > * Jaswinder Singh Rajput <jaswinder@...nel.org> wrote:
> > 
> > > There is one more way to check performance monitor support for 
> > > Intel by using IA32_MISC_ENABLE MSR (0x1A0) bit 7 tells whether 
> > > performance monitoring is available or not.
> > > 
> > > But IA32_MISC_ENABLE MSR (0x1A0) is not available for Pentium and 
> > > P6.
> > > 
> > > So better I will add new cpufeature for performance monitoring for 
> > > x86:
> > > 
> > > X86_FEATURE_PERFMON : Performance monitor support
> > 
> > What is the exact wording of IA32_MISC_ENABLE bit 7 in the Intel 
> > documents?
> > 
> 
> Bit 7: Performance Monitoring Available. (R)
>        1 = Performance monitoring enabled
>        0 = Performance monitoring disabled

i guess, if 'perfmon' is not used yet ('arch_perfmon' is), we could 
add this as a separate, new cpu features flag.

Although the confusion factor is high ...

	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