Commit 77543ceb authored by Michal Simek's avatar Michal Simek

microblaze: cpuinfo shows cache line length

Show cache line length in /proc/cpuinfo.
Signed-off-by: default avatarMichal Simek <>
parent de925d9d
......@@ -98,15 +98,17 @@ static int show_cpuinfo(struct seq_file *m, void *v)
if (cpuinfo.use_icache)
count += seq_printf(m,
cpuinfo.icache_size >> 10);
"Icache:\t\t%ukB\tline length:\t%dB\n",
cpuinfo.icache_size >> 10,
count += seq_printf(m, "Icache:\t\tno\n");
if (cpuinfo.use_dcache) {
count += seq_printf(m,
cpuinfo.dcache_size >> 10);
"Dcache:\t\t%ukB\tline length:\t%dB\n",
cpuinfo.dcache_size >> 10,
if (cpuinfo.dcache_wb)
count += seq_printf(m, "\t\twrite-back\n");
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