linux/arch
Michael Holzheu 1592a8e456 s390/kdump: fix nosmt kernel parameter
It turned out that SIGP set-multi-threading can only be done once.
Therefore switching to a different MT level after switching to
sclp.mtid_prev in the dump case fails.

As a symptom specifying the "nosmt" parameter currently fails for
the kdump kernel and the kernel starts with multi-threading enabled.

So fix this and issue diag 308 subcode 1 call after collecting the
CPU states for the dump. Also enhance the diag308_reset() function to
be usable also with enabled lowcore protection and prefix register != 0.
After the reset it is possible to switch the MT level again. We have
to do the reset very early in order not to kill the already initialized
console. Therefore instead of kmalloc() the corresponding memblock
functions have to be used. To avoid copying the sclp cpu code into
sclp_early, we now use the simple sigp loop method for CPU detection.

Signed-off-by: Michael Holzheu <holzheu@linux.vnet.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
2015-06-25 09:39:26 +02:00
..
alpha mm: new mm hook framework 2015-06-24 17:49:41 -07:00
arc mm: new mm hook framework 2015-06-24 17:49:41 -07:00
arm Merge branch 'akpm' (patches from Andrew) 2015-06-24 20:47:21 -07:00
arm64 Merge branch 'akpm' (patches from Andrew) 2015-06-24 20:47:21 -07:00
avr32 mm: new mm hook framework 2015-06-24 17:49:41 -07:00
blackfin mm: new mm hook framework 2015-06-24 17:49:41 -07:00
c6x mm: new mm hook framework 2015-06-24 17:49:41 -07:00
cris mm: new mm hook framework 2015-06-24 17:49:41 -07:00
frv mm: new mm hook framework 2015-06-24 17:49:41 -07:00
hexagon mm: new mm hook framework 2015-06-24 17:49:41 -07:00
ia64 mm/hugetlb: reduce arch dependent code about hugetlb_prefault_arch_hook 2015-06-24 17:49:41 -07:00
m32r mm: new mm hook framework 2015-06-24 17:49:41 -07:00
m68k mm: new mm hook framework 2015-06-24 17:49:41 -07:00
metag mm/hugetlb: reduce arch dependent code about hugetlb_prefault_arch_hook 2015-06-24 17:49:41 -07:00
microblaze mm: new mm hook framework 2015-06-24 17:49:41 -07:00
mips Merge branch 'akpm' (patches from Andrew) 2015-06-24 20:47:21 -07:00
mn10300 mm: new mm hook framework 2015-06-24 17:49:41 -07:00
nios2 mm: new mm hook framework 2015-06-24 17:49:41 -07:00
openrisc mm: new mm hook framework 2015-06-24 17:49:41 -07:00
parisc mm: new mm hook framework 2015-06-24 17:49:41 -07:00
powerpc Merge branch 'akpm' (patches from Andrew) 2015-06-24 20:47:21 -07:00
s390 s390/kdump: fix nosmt kernel parameter 2015-06-25 09:39:26 +02:00
score mm: new mm hook framework 2015-06-24 17:49:41 -07:00
sh mm/hugetlb: reduce arch dependent code about hugetlb_prefault_arch_hook 2015-06-24 17:49:41 -07:00
sparc mm/memblock: add extra "flags" to memblock to allow selection of memory based on attribute 2015-06-24 17:49:44 -07:00
tile Merge branch 'akpm' (patches from Andrew) 2015-06-24 20:47:21 -07:00
um mm: new mm hook framework 2015-06-24 17:49:41 -07:00
unicore32 mm: new mm hook framework 2015-06-24 17:49:41 -07:00
x86 Merge branch 'akpm' (patches from Andrew) 2015-06-24 20:47:21 -07:00
xtensa mm: new mm hook framework 2015-06-24 17:49:41 -07:00
.gitignore
Kconfig powerpc updates for 4.1 2015-04-16 13:53:32 -05:00