The MSR address we're dumping in there should be in hex, otherwise we get funsies like: [ 0.016000] WARNING: CPU: 1 PID: 0 at arch/x86/kernel/cpu/mcheck/mce.c:428 mce_rdmsrl+0xd9/0xe0 [ 0.016000] mce: Unable to read msr -1073733631! ^^^^^^^^^^^
Unified · Split
| @@ -425,7 +425,7 @@ static u64 mce_rdmsrl(u32 msr) · 424 unmodified lines | ||
| 425 | 425 | } |
| 426 | 426 | |
| 427 | 427 | if (rdmsrl_safe(msr, &v)) { |
| 428 | − WARN_ONCE(1, "mce: Unable to read msr %d!\n", msr); | |
| 428 | + WARN_ONCE(1, "mce: Unable to read MSR 0x%x!\n", msr); | |
| 429 | 429 | /* |
| 430 | 430 | * Return zero in case the access faulted. This should |
| 431 | 431 | * not happen normally but can happen if the CPU does |