• M
    s390/kernel: Fix smp_call_ipl_cpu() for offline CPUs · 061da3df
    Michael Holzheu 提交于
    If the IPL CPU is offline, currently the pcpu_delegate() function
    used by smp_call_ipl_cpu() does not work because pcpu_delegate()
    modifies the lowcore of the target CPU. In case of an offline
    IPL CPU currently the prefix register is zero but pcpu->lowcore
    still points to the old prefix page. Therefore the lowcore changes
    done by pcpu_delegate() have no effect.
    
    With this fix pcpu_delegate() now uses memcpy_absolute() and therefore
    also prepares the absolute zero lowcore if the target CPU has prefix
    register zero.
    Signed-off-by: NMichael Holzheu <holzheu@linux.vnet.ibm.com>
    Signed-off-by: NMartin Schwidefsky <schwidefsky@de.ibm.com>
    061da3df
smp.c 26.6 KB