1
linux/arch/s390/kernel
Heiko Carstens 6668022c7b s390/cache: add cpu cache information to /proc/cpuinfo
Add a line for each cpu cache to /proc/cpuinfo.
Since we only have information of private cpu caches in sysfs we
add a line for each cpu cache in /proc/cpuinfo which will also
contain information about shared caches.

For a z196 machine /proc/cpuinfo now looks like:

vendor_id       : IBM/S390
bogomips per cpu: 14367.00
features        : esan3 zarch stfle msa ldisp eimm dfp etf3eh highgprs
cache0          : level=1 type=Data scope=Private size=64K line_size=256 associativity=4
cache1          : level=1 type=Instruction scope=Private size=128K line_size=256 associativity=8
cache2          : level=2 type=Unified scope=Private size=1536K line_size=256 associativity=12
cache3          : level=3 type=Unified scope=Shared size=24576K line_size=256 associativity=12
cache4          : level=4 type=Unified scope=Shared size=196608K line_size=256 associativity=24
processor 0: version = FF,  identification = 000123,  machine = 2817
processor 1: version = FF,  identification = 100123,  machine = 2817
processor 2: version = FF,  identification = 200123,  machine = 2817
processor 3: version = FF,  identification = 200123,  machine = 2817

Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
2012-09-26 15:45:03 +02:00
..
vdso32 s390: add various .gitignore files. 2012-05-16 14:42:41 +02:00
vdso64 s390: add various .gitignore files. 2012-05-16 14:42:41 +02:00
.gitignore s390: add various .gitignore files. 2012-05-16 14:42:41 +02:00
asm-offsets.c s390: add support for transactional memory 2012-09-26 15:45:02 +02:00
audit.c
audit.h
base.S s390/comments: unify copyright messages and remove file names 2012-07-20 11:15:04 +02:00
bitmap.c s390/comments: unify copyright messages and remove file names 2012-07-20 11:15:04 +02:00
cache.c s390/cache: add cpu cache information to /proc/cpuinfo 2012-09-26 15:45:03 +02:00
compat_audit.c
compat_exec_domain.c s390/comments: unify copyright messages and remove file names 2012-07-20 11:15:04 +02:00
compat_linux.c s390/compat: fix mmap compat system calls 2012-08-08 07:32:57 -07:00
compat_linux.h
compat_ptrace.h
compat_signal.c s390/comments: unify copyright messages and remove file names 2012-07-20 11:15:04 +02:00
compat_wrapper.S s390: add support for runtime instrumentation 2012-09-26 15:45:02 +02:00
cpcmd.c s390/comments: unify copyright messages and remove file names 2012-07-20 11:15:04 +02:00
crash_dump.c [S390] kernel: Add OS info memory interface 2012-03-11 11:59:29 -04:00
debug.c s390/debug: remove module_exit function / move EXPORT_SYMBOLs 2012-07-26 10:07:25 +02:00
diag.c [S390] replace diag10() with diag10_range() function 2011-05-10 17:13:43 +02:00
dis.c s390: add support for transactional memory 2012-09-26 15:45:02 +02:00
early.c s390: add support for transactional memory 2012-09-26 15:45:02 +02:00
ebcdic.c s390/comments: unify copyright messages and remove file names 2012-07-20 11:15:04 +02:00
entry64.S s390: add support for transactional memory 2012-09-26 15:45:02 +02:00
entry.h s390/vtimer: rework virtual timer interface 2012-07-20 11:15:08 +02:00
entry.S s390/vtimer: rework virtual timer interface 2012-07-20 11:15:08 +02:00
ftrace.c
head31.S s390/comments: unify copyright messages and remove file names 2012-07-20 11:15:04 +02:00
head64.S s390/comments: unify copyright messages and remove file names 2012-07-20 11:15:04 +02:00
head_kdump.S s390/sigp: use sigp order code defines in assembly code 2012-06-05 13:23:36 +02:00
head.S s390/comments: unify copyright messages and remove file names 2012-07-20 11:15:04 +02:00
ipl.c s390/ipl: Use diagnose 8 command separation 2012-07-26 10:07:26 +02:00
irq.c s390: add support for runtime instrumentation 2012-09-26 15:45:02 +02:00
jump_label.c s390/jump-label: add arch_jump_label_transform_static() 2011-10-25 11:54:37 -07:00
kprobes.c s390/comments: unify copyright messages and remove file names 2012-07-20 11:15:04 +02:00
lgr.c s390/lgr: Add init check to lgr_info_log() 2012-07-20 11:15:01 +02:00
machine_kexec.c s390/kexec: move machine_crash_shutdown() to machine_kexec.c 2012-09-26 15:44:54 +02:00
Makefile s390: add support for runtime instrumentation 2012-09-26 15:45:02 +02:00
mcount64.S s390/comments: unify copyright messages and remove file names 2012-07-20 11:15:04 +02:00
mcount.S s390/comments: unify copyright messages and remove file names 2012-07-20 11:15:04 +02:00
mem_detect.c [S390] Rework create_mem_hole() function 2011-12-27 11:27:09 +01:00
module.c s390/comments: unify copyright messages and remove file names 2012-07-20 11:15:04 +02:00
nmi.c s390/comments: unify copyright messages and remove file names 2012-07-20 11:15:04 +02:00
os_info.c s390/smp: make absolute lowcore / cpu restart parameter accesses more robust 2012-06-14 09:09:02 +02:00
perf_cpum_cf.c s390/irq: split irq stats for cpu-measurement alert facilities 2012-05-23 17:06:52 +02:00
perf_event.c [S390] Fix build errors (fallout from system.h disintegration) 2012-03-30 09:41:12 +02:00
process.c s390: add support for runtime instrumentation 2012-09-26 15:45:02 +02:00
processor.c s390/cache: add cpu cache information to /proc/cpuinfo 2012-09-26 15:45:03 +02:00
ptrace.c s390: add support for transactional memory 2012-09-26 15:45:02 +02:00
reipl64.S s390/comments: unify copyright messages and remove file names 2012-07-20 11:15:04 +02:00
reipl.S s390/comments: unify copyright messages and remove file names 2012-07-20 11:15:04 +02:00
relocate_kernel64.S s390/comments: unify copyright messages and remove file names 2012-07-20 11:15:04 +02:00
relocate_kernel.S s390/comments: unify copyright messages and remove file names 2012-07-20 11:15:04 +02:00
runtime_instr.c s390: add support for runtime instrumentation 2012-09-26 15:45:02 +02:00
s390_ksyms.c s390/string: provide asm lib functions for memcpy and memcmp 2012-09-26 15:44:50 +02:00
sclp.S s390/comments: unify copyright messages and remove file names 2012-07-20 11:15:04 +02:00
setup.c s390: add support for transactional memory 2012-09-26 15:45:02 +02:00
signal.c s390/comments: unify copyright messages and remove file names 2012-07-20 11:15:04 +02:00
smp.c s390/cpu hotplug: mask out CPU_TASKS_FROZEN in cu hotplug notifiers 2012-09-26 15:44:53 +02:00
stacktrace.c s390/comments: unify copyright messages and remove file names 2012-07-20 11:15:04 +02:00
suspend.c Disintegrate asm/system.h for S390 2012-03-28 18:30:02 +01:00
swsusp_asm64.S s390/sigp: use sigp order code defines in assembly code 2012-06-05 13:23:36 +02:00
sys_s390.c s390: do not clobber personality flags in sys_32_personality() 2012-08-08 07:32:56 -07:00
syscalls.S s390: add support for runtime instrumentation 2012-09-26 15:45:02 +02:00
sysinfo.c s390/cpu: remove cpu "capabilities" sysfs attribute 2012-05-30 09:07:30 +02:00
time.c s390/vtimer: rework virtual timer interface 2012-07-20 11:15:08 +02:00
topology.c s390/comments: unify copyright messages and remove file names 2012-07-20 11:15:04 +02:00
traps.c s390: add support for transactional memory 2012-09-26 15:45:02 +02:00
vdso.c s390/mm: rename user_mode variable to addressing_mode 2012-07-30 11:03:11 +02:00
vmlinux.lds.S s390/linker script: use RO_DATA_SECTION 2012-07-26 10:07:25 +02:00
vtime.c s390/cpu hotplug: mask out CPU_TASKS_FROZEN in cu hotplug notifiers 2012-09-26 15:44:53 +02:00