]> git.karo-electronics.de Git - karo-tx-linux.git/commit
MIPS: Support CPU topology files in sysfs
authorHuacai Chen <chenhc@lemote.com>
Thu, 26 Jun 2014 03:41:26 +0000 (11:41 +0800)
committerRalf Baechle <ralf@linux-mips.org>
Wed, 30 Jul 2014 19:45:39 +0000 (21:45 +0200)
commitbda4584cd943d7bb6cf677a8d694700c1984cf3e
tree892cd5d6ad7a03cf2a111f51de9921b2f8c8cf3b
parent0f3f506b275517250ee0169ec075d5382967f5f6
MIPS: Support CPU topology files in sysfs

This patch is prepared for Loongson's NUMA support, it offer meaningful
sysfs files such as physical_package_id, core_id, core_siblings and
thread_siblings in /sys/devices/system/cpu/cpu?/topology.

Signed-off-by: Huacai Chen <chenhc@lemote.com>
Reviewed-by: Andreas Herrmann <andreas.herrmann@caviumnetworks.com>
Cc: John Crispin <john@phrozen.org>
Cc: Steven J. Hill <Steven.Hill@imgtec.com>
Cc: Aurelien Jarno <aurelien@aurel32.net>
Cc: linux-mips@linux-mips.org
Cc: Fuxin Zhang <zhangfx@lemote.com>
Cc: Zhangjin Wu <wuzhangjin@gmail.com>
Patchwork: https://patchwork.linux-mips.org/patch/7184/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
arch/mips/include/asm/cpu-info.h
arch/mips/include/asm/smp.h
arch/mips/kernel/proc.c
arch/mips/kernel/smp.c