git.openpandora.org
/
pandora-kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e7e632f
)
x86, microcode, AMD: Check before applying a patch
author
Borislav Petkov
<borislav.petkov@amd.com>
Wed, 20 Jun 2012 14:17:51 +0000
(16:17 +0200)
committer
H. Peter Anvin
<hpa@linux.intel.com>
Wed, 22 Aug 2012 23:15:41 +0000
(16:15 -0700)
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 <borislav.petkov@amd.com>
Link:
http://lkml.kernel.org/r/1344361461-10076-8-git-send-email-bp@amd64.org
Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
No differences found