Skip to content
GitLab
Projects Groups Topics Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
  • Register
  • Sign in
  • L linux
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributor statistics
    • Graph
    • Compare revisions
  • Issues 0
    • Issues 0
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 0
    • Merge requests 0
  • Deployments
    • Deployments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Commits
  • Issue Boards
Collapse sidebar
  • Kirill Smelkov
  • linux
  • Repository
  • linux
  • arch
  • x86
  • kernel
  • cpu
  • microcode
  • core.c
Find file BlameHistoryPermalink
  • Borislav Petkov's avatar
    x86/microcode: Look for the initrd at the correct address on 32-bit · a3d98c93
    Borislav Petkov authored Jun 14, 2017
    
    
    Early during boot, the BSP finds the ramdisk's position from boot_params
    but by the time the APs get to boot, the BSP has continued in the mean
    time and has potentially managed to relocate that ramdisk.
    
    And in that case, the APs need to find the ramdisk at its new position,
    in *physical* memory as they're running before paging has been enabled.
    
    Thus, get the updated physical location of the ramdisk which is in the
    relocated_ramdisk variable.
    
    Signed-off-by: default avatarBorislav Petkov <bp@suse.de>
    Cc: Linus Torvalds <torvalds@linux-foundation.org>
    Cc: Peter Zijlstra <peterz@infradead.org>
    Cc: Thomas Gleixner <tglx@linutronix.de>
    Link: http://lkml.kernel.org/r/20170614140626.4462-1-bp@alien8.de
    
    
    Signed-off-by: default avatarIngo Molnar <mingo@kernel.org>
    a3d98c93
GitLab Nexedi Edition | About GitLab | About Nexedi | 沪ICP备2021021310号-2 | 沪ICP备2021021310号-7