Messages in this thread | | | Date | Thu, 16 May 2013 22:00:11 +0200 | From | Borislav Petkov <> | Subject | Re: Drop WARN on AMD lack of perfctrs |
| |
On Thu, May 16, 2013 at 10:31:37PM +0300, Gleb Natapov wrote: > Actually it looks like it is the opposite: CPUID crap indicates > it got no perf, but the code expects this cpu model to have it.
Yep, AFAICT the code should look at cpu_has_perfctr_core already in amd_pmu_init() and exit if the CPUID bit is not set.
Robert?
-- Regards/Gruss, Boris.
Sent from a fat crate under my desk. Formatting is fine. - -
| |