Re: [PATCH RFC] x86: avoid atomic operation in test_and_set_bit_lock if possible

Andi Kleen
2011-03-24T21:43:34Z

Eric Dumazet <eric.dumazet@gmail.com> writes:
>
> [ 0.015998] Performance Events: PEBS fmt0+, Core2 events, Broken BIOS detected, using software events only.
> [ 0.015998] [Firmware Bug]: the BIOS has corrupted hw-PMU resources (MSR 186 is 43003c)

There should be a BIOS setting to disable that (something with p-states
likely).

> I am pretty sure I used "-e ..." some time ago with same BIOS.

The "if anyone else uses the PMU throw in your toys and sulk" check was
only recently added.

Or fix perf just ignore counters that are already used. The others
should work fine.

-Andi

--
ak@linux.intel.com -- Speaking for myself only