android_kernel_xiaomi_sm8350/arch/s390/kernel
Heiko Carstens b3dcf3de8e [S390] smp: fix sigp sense handling
sigp sense only returns the status of a cpu if it is non zero. If the
status of the sensed cpu is all zeros condition code 0 (accpeted) is
set and no status bits are returned.
The current code however assumes that a status was returned and tests
bits in it. This means uninitalized data is accessed with random
results.
Worst case is that the code that checks if cpu is offline on cpu
hotplug assumes that the target cpu is offline while it is still
running. This leads potentially to memory corruption since resources
that are still needed by the target cpu will be freed and could be
resused while still in use.

Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
2009-10-29 15:05:13 +01:00
..
vdso32 Use macros for .data.page_aligned section. 2009-09-21 06:27:08 +02:00
vdso64 Use macros for .data.page_aligned section. 2009-09-21 06:27:08 +02:00
asm-offsets.c [S390] hibernate: Do real CPU swap at resume time 2009-09-22 22:58:46 +02:00
audit.c
audit.h
base.S
bitmap.c
compat_audit.c
compat_exec_domain.c
compat_linux.c headers: utsname.h redux 2009-09-23 18:13:10 -07:00
compat_linux.h [S390] Convert sys_execve to function with parameters. 2009-09-22 22:58:43 +02:00
compat_ptrace.h
compat_signal.c [S390] 64-bit register support for 31-bit processes 2009-10-06 10:35:10 +02:00
compat_wrapper.S [S390] compat: fix truncate system call wrapper 2009-10-06 10:35:08 +02:00
cpcmd.c
crash.c
debug.c sysctl: remove "struct file *" argument of ->proc_handler 2009-09-24 07:21:04 -07:00
diag.c
dis.c headers: smp_lock.h redux 2009-07-12 12:22:34 -07:00
early.c [S390] kernel: Print an error message if kernel NSS cannot be defined 2009-09-11 10:29:51 +02:00
ebcdic.c
entry64.S Merge branch 'tracing-core-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/linux-2.6-tip 2009-09-11 13:24:03 -07:00
entry.h [S390] Convert sys_execve to function with parameters. 2009-09-22 22:58:43 +02:00
entry.S Merge branch 'tracing-core-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/linux-2.6-tip 2009-09-11 13:24:03 -07:00
ftrace.c [S390] ftrace: drop nmi protection 2009-10-06 10:35:08 +02:00
head31.S [S390] Initialize __LC_THREAD_INFO early. 2009-09-11 10:29:53 +02:00
head64.S [S390] Limit cpu detection to 256 physical cpus. 2009-09-11 10:29:55 +02:00
head.S [S390] Limit cpu detection to 256 physical cpus. 2009-09-11 10:29:55 +02:00
init_task.c Use new __init_task_data macro in arch init_task.c files. 2009-09-21 06:27:08 +02:00
ipl.c [S390] smp: fix sigp stop handling 2009-10-29 15:05:13 +01:00
irq.c
kprobes.c [S390] kprobes: defer setting of ctlblk state 2009-06-22 12:08:24 +02:00
machine_kexec.c
Makefile [S390] hibernation: merge files and move to kernel/ 2009-09-11 10:29:45 +02:00
mcount64.S [S390] improve mcount code 2009-09-11 10:29:43 +02:00
mcount.S [S390] improve mcount code 2009-09-11 10:29:43 +02:00
mem_detect.c [S390] s390: hibernation support for s390 2009-06-16 10:31:22 +02:00
module.c [S390] module: fix memory leak in s390 module loader 2009-10-06 10:35:06 +02:00
nmi.c [S390] merge cpu.h into cputime.h 2009-06-12 10:27:29 +02:00
process.c headers: utsname.h redux 2009-09-23 18:13:10 -07:00
processor.c [S390] Add highgprs facility to /proc/cpuinfo 2009-10-14 12:43:53 +02:00
ptrace.c [S390] 64-bit register support for 31-bit processes 2009-10-06 10:35:10 +02:00
reipl64.S
reipl.S
relocate_kernel64.S
relocate_kernel.S
s390_ext.c [S390] ftrace: add function graph tracer support 2009-06-12 10:27:39 +02:00
s390_ksyms.c
sclp.S [S390] hibernate: Do real CPU swap at resume time 2009-09-22 22:58:46 +02:00
setup.c [S390] 64-bit register support for 31-bit processes 2009-10-06 10:35:10 +02:00
signal.c KEYS: Add a keyctl to install a process's session keyring on its parent [try #6] 2009-09-02 21:29:22 +10:00
smp.c [S390] smp: fix sigp sense handling 2009-10-29 15:05:13 +01:00
stacktrace.c
suspend.c [S390] hibernate: make sure pfn_is_nosave handles lowcore pages 2009-09-22 22:58:45 +02:00
swsusp_asm64.S [S390] smp: fix sigp sense handling 2009-10-29 15:05:13 +01:00
sys_s390.c includecheck fix: s390, sys_s390.c 2009-09-20 15:02:14 +05:30
syscalls.S [S390] Get rid of init_module/delete_module compat functions. 2009-09-22 22:58:43 +02:00
sysinfo.c
time.c Merge branch 'timers-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/linux-2.6-tip 2009-09-18 09:15:24 -07:00
topology.c
traps.c
vdso.c [S390] perf_counter: fix vdso detection 2009-10-06 10:35:09 +02:00
vmlinux.lds.S [S390] Enable kmemleak on s390. 2009-10-06 10:35:06 +02:00
vtime.c [S390] lockless idle time accounting 2009-06-22 12:08:23 +02:00