• Vivek Goyal's avatar
    [PATCH] x86-64: 64bit ACPI wakeup trampoline · d8e1baf1
    Vivek Goyal authored
    o Moved wakeup_level4_pgt into the wakeup routine so we can
      run the kernel above 4G.
    
    o Now we first go to 64bit mode and continue to run from trampoline and
      then then start accessing kernel symbols and restore processor context.
      This enables us to resume even in relocatable kernel context when
      kernel might not be loaded at physical addr it has been compiled for.
    
    o Removed the need for modifying any existing kernel page table.
    
    o Increased the size of the wakeup routine to 8K. This is required as
      wake page tables are on trampoline itself and they got to be at 4K
      boundary, hence one page is not sufficient.
    Signed-off-by: default avatarEric W. Biederman <ebiederm@xmission.com>
    Signed-off-by: default avatarVivek Goyal <vgoyal@in.ibm.com>
    Signed-off-by: default avatarAndi Kleen <ak@suse.de>
    d8e1baf1
sleep.c 3.46 KB