projects
/
xen.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
518576c
)
x86, amd_ucode: flip revision numbers in printk
author
Aravind Gopalakrishnan
<aravind.gopalakrishnan@amd.com>
Mon, 2 Jun 2014 08:19:27 +0000
(10:19 +0200)
committer
Jan Beulich
<jbeulich@suse.com>
Mon, 2 Jun 2014 08:19:27 +0000
(10:19 +0200)
A failure would result in log message like so-
(XEN) microcode: CPU0 update from revision 0x6000637 to 0x6000626 failed
^^^^^^^^^^^^^^^^^^^^^^
The above message has the revision numbers inverted. Fix this.
Signed-off-by: Aravind Gopalakrishnan <aravind.gopalakrishnan@amd.com>
xen/arch/x86/microcode_amd.c
patch
|
blob
|
history
diff --git
a/xen/arch/x86/microcode_amd.c
b/xen/arch/x86/microcode_amd.c
index e83f4b61edfc79f802c2c1ba6db0a5dc9cf724bb..43475487ec11b88d7f286a0e6aa678c1e8c27284 100644
(file)
--- a/
xen/arch/x86/microcode_amd.c
+++ b/
xen/arch/x86/microcode_amd.c
@@
-202,7
+202,7
@@
static int apply_microcode(int cpu)
if ( rev != hdr->patch_id )
{
printk(KERN_ERR "microcode: CPU%d update from revision "
- "%#x to %#x failed\n", cpu,
hdr->patch_id, rev
);
+ "%#x to %#x failed\n", cpu,
rev, hdr->patch_id
);
return -EIO;
}