Re: [PATCH] perf/x86: check ucode before disabling PEBS on SandyBridge

Andi Kleen
2012-06-12T18:05:03Z

> Also, you can create a pebs event while updating micro-code. There's a
> race window there if you don't check all cpus.

The best proposal I've seen so far was to track the minimum ucode
revision and check that on every syscall.

This can be a single global, so it should not be very exepsnive.

I can look at implementing that if that solution is agreeable with
everyone.

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