summaryrefslogtreecommitdiff
path: root/kernel
diff options
context:
space:
mode:
authorSumanth Korikkar <sumanthk@linux.ibm.com>2020-11-08 07:55:51 +0300
committerHeiko Carstens <hca@linux.ibm.com>2020-11-18 14:16:02 +0300
commit08ab919d0dccc4ed6fb12231b20758cef112bd26 (patch)
tree3f987b8902bb7f210f847bb3b4d95e8c62a4b1c4 /kernel
parentda78693e6e496ccd5cb6b0e9025007803e8f93c2 (diff)
downloadlinux-08ab919d0dccc4ed6fb12231b20758cef112bd26.tar.xz
s390/sclp: use memblock for early read cpu info
sclp early read cpu info is used to detect the number of configured cpus, which is utilized by smp_detect_cpus() in early startup. * For read cpu info, the sccb block should be below 2gb. * smp_detect_cpus() utilizes read cpu info early, but after memblock initialization. Thus use memblock_allow_low() instead. * Avoid copy of sclp_core_info structure. * sclp_early_init_core_info(), sclp_early_core_info and sclp_early_core_info_valid initdata are no longer required. * smp_get_core_info() is called only once during early stage. Hence for early sclp_get_core_info(), directly call read cpu command. No need to maintain sclp_early_core_info_valid. Signed-off-by: Sumanth Korikkar <sumanthk@linux.ibm.com> Reviewed-by: Vasily Gorbik <gor@linux.ibm.com> Signed-off-by: Heiko Carstens <hca@linux.ibm.com>
Diffstat (limited to 'kernel')
0 files changed, 0 insertions, 0 deletions