summaryrefslogtreecommitdiffstats
path: root/arch/mips/kernel/proc.c
diff options
context:
space:
mode:
authorMarkos Chandras2014-07-14 13:43:28 +0200
committerRalf Baechle2014-08-02 00:06:38 +0200
commite647e6b5b355bbf58d5c20c181e69474e5aee5fe (patch)
tree7ee083801d1ca02986bcb972602a8b4428aea964 /arch/mips/kernel/proc.c
parentMIPS: cpu-info: Change the cpu options variable to unsigned long long (diff)
downloadkernel-qcow2-linux-e647e6b5b355bbf58d5c20c181e69474e5aee5fe.tar.gz
kernel-qcow2-linux-e647e6b5b355bbf58d5c20c181e69474e5aee5fe.tar.xz
kernel-qcow2-linux-e647e6b5b355bbf58d5c20c181e69474e5aee5fe.zip
MIPS: cpu: Add new cpu option for Hardware Table Walker.
Moreover, report hardware page table walker support as 'htw' in the ASE list of /proc/cpuinfo, if the core implements this feature. Signed-off-by: Markos Chandras <markos.chandras@imgtec.com> Cc: linux-mips@linux-mips.org Patchwork: https://patchwork.linux-mips.org/patch/7334/ Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'arch/mips/kernel/proc.c')
-rw-r--r--arch/mips/kernel/proc.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/mips/kernel/proc.c b/arch/mips/kernel/proc.c
index 62c4439a147b..097fc8d14e42 100644
--- a/arch/mips/kernel/proc.c
+++ b/arch/mips/kernel/proc.c
@@ -113,6 +113,7 @@ static int show_cpuinfo(struct seq_file *m, void *v)
if (cpu_has_vz) seq_printf(m, "%s", " vz");
if (cpu_has_msa) seq_printf(m, "%s", " msa");
if (cpu_has_eva) seq_printf(m, "%s", " eva");
+ if (cpu_has_htw) seq_printf(m, "%s", " htw");
seq_printf(m, "\n");
if (cpu_has_mmips) {