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
You need to sign in or sign up before continuing.
  • linux
  • arch
  • x86
  • kernel
  • cpu
  • microcode
  • intel.c
Find file BlameHistoryPermalink
  • Borislav Petkov's avatar
    x86/microcode/intel: Fix initrd loading with CONFIG_RANDOMIZE_MEMORY=y · efaad554
    Borislav Petkov authored Jul 26, 2016
    
    
    CONFIG_RANDOMIZE_MEMORY=y randomizes the physical memmap and thus the
    address where the initrd is located. Therefore, we need to add the
    offset KASLR put us to in order to find the initrd again on the AP path.
    
    In the future, we will get rid of the initrd address caching and query
    the address on both the BSP and AP paths but that would need more work.
    
    Thanks to Nicolai Stange for the good bisection and debugging work.
    
    Reported-and-tested-by: default avatarNicolai Stange <nicstange@gmail.com>
    Signed-off-by: default avatarBorislav Petkov <bp@suse.de>
    Cc: Kees Cook <keescook@chromium.org>
    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/20160726095138.3470-1-bp@alien8.de
    
    
    Signed-off-by: default avatarIngo Molnar <mingo@kernel.org>
    efaad554
GitLab Nexedi Edition | About GitLab | About Nexedi | 沪ICP备2021021310号-2 | 沪ICP备2021021310号-7