arch/x86/kernel/cpu/common.c: split log entry into logical components
PATCH 1/1 arch/x86/kernel/cpu/common.c: split log entry into logical components
Call printk twice since this log entry has two lines and headings.
[ 0.009285] Last level iTLB entries: 4KB 1024, 2MB 1024, 4MB 1024
Last level dTLB entries: 4KB 1024, 2MB 1024, 4MB 1024, 1GB 4
--- arch/x86/kernel/cpu/common.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-)
arch/x86/kernel/cpu/common.c +5 -5
@@ -496,12 +496,12 @@ void cpu_detect_tlb(struct cpuinfo_x86 *c)if (this_cpu->c_detect_tlb) this_cpu->c_detect_tlb (c); -printk (KERN_INFO "Last level iTLB entries: 4KB %d, 2MB %d, 4MB %d\n" -"Last level dTLB entries: 4KB %d, 2MB %d, 4MB %d, 1GB %d\n" , +printk (KERN_INFO "Last level iTLB entries: 4KB %d, 2MB %d, 4MB %d\n" , tlb_lli_4k[ENTRIES ], tlb_lli_2m[ENTRIES ], - tlb_lli_4m[ENTRIES ], tlb_lld_4k[ENTRIES ], - tlb_lld_2m[ENTRIES ], tlb_lld_4m[ENTRIES ], - tlb_lld_1g[ENTRIES ]); + tlb_lli_4m[ENTRIES ]); +printk (KERN_INFO "Last level dTLB entries: 4KB %d, 2MB %d, 4MB %d, 1GB %d\n" , + tlb_lld_4k[ENTRIES ], tlb_lld_2m[ENTRIES ], + tlb_lld_4m[ENTRIES ], tlb_lld_1g[ENTRIES ]); }void detect_ht (struct cpuinfo_x86 *c)
Signature · 1 line
2.1.3
Quoted 20 lines · Scot Doyle
Call printk twice since this log entry has two lines and headings.
[ 0.009285] Last level iTLB entries: 4KB 1024, 2MB 1024, 4MB 1024Last level dTLB entries: 4KB 1024, 2MB 1024, 4MB 1024, 1GB 4
Signed-off-by Scot Doyle <[email protected]>--- arch/x86/kernel/cpu/common.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-)arch/x86/kernel/cpu/common.c +0
-2@@ -496,12 +496,12 @@ void cpu_detect_tlb(struct cpuinfo_x86 *c)if (this_cpu->c_detect_tlb) this_cpu->c_detect_tlb (c); - printk(KERN_INFO "Last level iTLB entries: 4KB %d, 2MB %d, 4MB %d\n" - "Last level dTLB entries: 4KB %d, 2MB %d, 4MB %d, 1GB %d\n",
arch/x86/kernel/cpu/common.c void cpu_detect_tlb(struct cpuinfo_x86 *c) · line 505
Quoted 10 lines
arch/x86/kernel/cpu/common.c +5
-3+printk (KERN_INFO "Last level iTLB entries: 4KB %d, 2MB %d, 4MB %d\n" , tlb_lli_4k[ENTRIES ], tlb_lli_2m[ENTRIES ], - tlb_lli_4m[ENTRIES ], tlb_lld_4k[ENTRIES ], - tlb_lld_2m[ENTRIES ], tlb_lld_4m[ENTRIES ], - tlb_lld_1g[ENTRIES]); + tlb_lli_4m[ENTRIES ]); +printk (KERN_INFO "Last level dTLB entries: 4KB %d, 2MB %d, 4MB %d, 1GB %d\n" , + tlb_lld_4k[ENTRIES ], tlb_lld_2m[ENTRIES ], + tlb_lld_4m[ENTRIES ], tlb_lld_1g[ENTRIES ]); }
Check your dmesg version
https://lkml.org/lkml/2014/11/1/67
https://lkml.org/lkml/2014/11/2/1
Quoted 34 lines · Joe Perches
Quoted 20 lines · Scot Doyle
Call printk twice since this log entry has two lines and headings.
[ 0.009285] Last level iTLB entries: 4KB 1024, 2MB 1024, 4MB 1024Last level dTLB entries: 4KB 1024, 2MB 1024, 4MB 1024, 1GB 4
Signed-off-by Scot Doyle <[email protected]>--- arch/x86/kernel/cpu/common.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-)arch/x86/kernel/cpu/common.c +0
-2@@ -496,12 +496,12 @@ void cpu_detect_tlb(struct cpuinfo_x86 *c)if (this_cpu->c_detect_tlb) this_cpu->c_detect_tlb (c); - printk(KERN_INFO "Last level iTLB entries: 4KB %d, 2MB %d, 4MB %d\n" - "Last level dTLB entries: 4KB %d, 2MB %d, 4MB %d, 1GB %d\n",arch/x86/kernel/cpu/common.c void cpu_detect_tlb(struct cpuinfo_x86 *c) · line 505
Quoted 10 lines
arch/x86/kernel/cpu/common.c +5
-3+printk (KERN_INFO "Last level iTLB entries: 4KB %d, 2MB %d, 4MB %d\n" , tlb_lli_4k[ENTRIES ], tlb_lli_2m[ENTRIES ], - tlb_lli_4m[ENTRIES ], tlb_lld_4k[ENTRIES ], - tlb_lld_2m[ENTRIES ], tlb_lld_4m[ENTRIES ], - tlb_lld_1g[ENTRIES]); + tlb_lli_4m[ENTRIES ]); +printk (KERN_INFO "Last level dTLB entries: 4KB %d, 2MB %d, 4MB %d, 1GB %d\n" , + tlb_lld_4k[ENTRIES ], tlb_lld_2m[ENTRIES ], + tlb_lld_4m[ENTRIES ], tlb_lld_1g[ENTRIES ]); }Check your dmesg version
Thanks Joe.
Steven, are you planning to resubmit the patch as suggested by Borislav?
Borislav Petkov
maintainerQuoted 1 line · Scot Doyle
Steven, are you planning to resubmit the patch as suggested by Borislav?
I think he did resubmit:
https://lkml.kernel.org/r/[email protected]
but it seems it has been forgotten. I'll pick it up.
Thanks.
Signature · 5 lines
Regards/Gruss,
Boris.
Sent from a fat crate under my desk. Formatting is fine.
--