diff --git a/xen/arch/x86/microcode.c b/xen/arch/x86/microcode.c index 091d5d1..48ff56b 100644 --- a/xen/arch/x86/microcode.c +++ b/xen/arch/x86/microcode.c @@ -21,6 +21,7 @@ * 2 of the License, or (at your option) any later version. */ +#define DEBUG 1 #include #include #include @@ -137,6 +138,7 @@ void __init microcode_scan_module( cd = find_cpio_data(p, _blob_start, _blob_size, &offset /* ignore */); if ( cd.data ) { + printk("microcode payload @%d found (%ld)\n", i, cd.size); /* * This is an arbitrary check - it would be sad if the blob * consumed most of the memory and did not allow guests @@ -154,7 +156,8 @@ void __init microcode_scan_module( cd.data = NULL; else memcpy(ucode_blob.data, cd.data, cd.size); - } + } else + printk("payload %d - nope\n", i); bootmap(NULL); if ( cd.data ) break; diff --git a/xen/arch/x86/microcode_intel.c b/xen/arch/x86/microcode_intel.c index b54cd71..0445cca 100644 --- a/xen/arch/x86/microcode_intel.c +++ b/xen/arch/x86/microcode_intel.c @@ -33,7 +33,7 @@ #include #include -#define pr_debug(x...) ((void)0) +#define pr_debug(x...) printk(x) struct microcode_header_intel { unsigned int hdrver;