linux_dsm_epyc7002/arch/s390
Heiko Carstens 307b3114ef s390/numa: always use logical cpu and core ids
The toptree algorithm uses the physical core ids to create a mapping
between cores and nodes (to_node_id array within emu_cores structure).
The core ids are used as an index into an array which size depends on
CONFIG_NR_CPUS. If the physical core ids are larger, this will result
in out-of-bounds write accesses.

Generate logical core ids instead to avoid this.

Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
2016-12-07 07:22:41 +01:00
..
appldata s390: Remove deprecated create_singlethread_workqueue 2016-09-06 10:59:57 +02:00
boot s390/thread_info: get rid of THREAD_ORDER define 2016-11-23 16:02:21 +01:00
configs s390: update defconfig 2016-11-23 16:02:24 +01:00
crypto s390/crypto: avoid returning garbage value 2016-09-06 11:00:00 +02:00
hypfs s390: hypfs: make inode explicitly non-modular 2016-10-31 17:55:40 +01:00
include s390/numa: always use logical cpu and core ids 2016-12-07 07:22:41 +01:00
kernel s390: fix machine check panic stack switch 2016-12-07 07:22:13 +01:00
kvm KVM: s390: reject invalid modes for runtime instrumentation 2016-10-20 20:06:12 +02:00
lib Merge branch 'kbuild' of git://git.kernel.org/pub/scm/linux/kernel/git/mmarek/kbuild 2016-10-14 14:26:58 -07:00
mm s390: convert remaining bootmem allocations to memblock 2016-11-29 07:52:55 +01:00
net
numa s390/numa: always use logical cpu and core ids 2016-12-07 07:22:41 +01:00
oprofile s390/dumpstack: restore reliable indicator for call traces 2016-10-17 14:44:30 +02:00
pci s390/pci: use unique UIDs for domain enumeration 2016-11-23 16:02:26 +01:00
tools s390: remove unneeded dependency for gen_facilities 2016-11-08 10:30:28 +01:00
defconfig mm/usercopy: get rid of CONFIG_DEBUG_STRICT_USER_COPY_CHECKS 2016-08-30 10:10:21 -07:00
Kbuild
Kconfig s390: add cma support 2016-11-23 16:02:23 +01:00
Kconfig.debug
Makefile s390: add assembler include path for vx-insn.h 2016-09-06 11:00:04 +02:00