]> git.karo-electronics.de Git - karo-tx-linux.git/commit
MIPS: MT: proc: Add support for printing VPE and TC ids
authorRalf Baechle <ralf@linux-mips.org>
Wed, 16 Oct 2013 15:10:07 +0000 (17:10 +0200)
committerRalf Baechle <ralf@linux-mips.org>
Mon, 31 Mar 2014 16:17:12 +0000 (18:17 +0200)
commitd6d3c9afaab47418ab2d7f874fb8aeac1f067104
tree9f3b27fad7b722ab15144e6a044c5d771d3e3d59
parenta2bec0784465d3e30eadc20b49c779fa77d42dad
MIPS: MT: proc: Add support for printing VPE and TC ids

And there are more CPUs or configurations that want to provide special
per-CPU information in /proc/cpuinfo.  So I think there needs to be a
hook mechanism, such as a notifier.

This is a first cut only; I need to think about what sort of looking
the notifier needs to have.  But I'd appreciate testing on MT hardware!

Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Cc: Markos Chandras <markos.chandras@imgtec.com>
Cc: linux-mips@linux-mips.org
Patchwork: https://patchwork.linux-mips.org/patch/6066/
arch/mips/include/asm/cpu-info.h
arch/mips/kernel/proc.c
arch/mips/kernel/smp-mt.c
arch/mips/kernel/smtc-proc.c