From: Borislav Petkov Date: Wed, 20 Jun 2012 14:17:51 +0000 (+0200) Subject: x86, microcode, AMD: Check before applying a patch X-Git-Tag: omap-for-v3.7-rc1/fixes-cpufreq-signed~82^2~6 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=685ca6d797af9d41164dd64dd60145d4946fc152;p=pandora-kernel.git x86, microcode, AMD: Check before applying a patch Make sure we're actually applying a microcode patch to a core which really needs it. This brings only a very very very minor slowdown on F10: 0.032218828 sec vs 0.056010626 sec with this patch. And small speedup on F15: 0.487089449 sec vs 0.180551162 sec (from perf output). Also, fixup comments while at it. Signed-off-by: Borislav Petkov Link: http://lkml.kernel.org/r/1344361461-10076-8-git-send-email-bp@amd64.org Signed-off-by: H. Peter Anvin --- Reading git-diff-tree failed