Commit c1ab7e93 authored by Yinghai Lu's avatar Yinghai Lu Committed by Ingo Molnar

x86: print out mtrr_range_state when user specify size

Impact: print more debug info

Keep it consistent with autodetect version.
Signed-off-by: default avatarYinghai Lu <yinghai@kernel.org>
LKML-Reference: <49B87C0A.4010105@kernel.org>
Signed-off-by: default avatarIngo Molnar <mingo@elte.hu>
parent 8ad97905
...@@ -1424,6 +1424,8 @@ static int __init mtrr_cleanup(unsigned address_bits) ...@@ -1424,6 +1424,8 @@ static int __init mtrr_cleanup(unsigned address_bits)
if (!result[i].bad) { if (!result[i].bad) {
set_var_mtrr_all(address_bits); set_var_mtrr_all(address_bits);
printk(KERN_DEBUG "New variable MTRRs\n");
print_out_mtrr_range_state();
return 1; return 1;
} }
printk(KERN_INFO "invalid mtrr_gran_size or mtrr_chunk_size, " printk(KERN_INFO "invalid mtrr_gran_size or mtrr_chunk_size, "
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment