• Ashok Raj's avatar
    [IA64] cpu hotplug: return offlined cpus to SAL · b8d8b883
    Ashok Raj authored
    This patch is required to support cpu removal for IPF systems. Existing code
    just fakes the real offline by keeping it run the idle thread, and polling
    for the bit to re-appear in the cpu_state to get out of the idle loop.
    
    For the cpu-offline to work correctly, we need to pass control of this CPU 
    back to SAL so it can continue in the boot-rendez mode. This gives the
    SAL control to not pick this cpu as the monarch processor for global MCA
    events, and addition does not wait for this cpu to checkin with SAL
    for global MCA events as well. The handoff is implemented as documented in 
    SAL specification section 3.2.5.1 "OS_BOOT_RENDEZ to SAL return State"
    Signed-off-by: default avatarAshok Raj <ashok.raj@intel.com>
    Signed-off-by: default avatarTony Luck <tony.luck@intel.com>
    b8d8b883
head.S 29.3 KB