Re: [tip:perfcounters/core] perf_counter, x86: removeX86_FEATURE_ARCH_PERFMON flag for AMD cpus

From: Jaswinder Singh Rajput
Date: Mon May 11 2009 - 06:30:01 EST


On Mon, 2009-05-11 at 12:02 +0200, Ingo Molnar wrote:
> * Jaswinder Singh Rajput <jaswinder@xxxxxxxxxx> 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

--
JSR


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