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
  • microcode_core.c
Find file BlameHistoryPermalink
  • Borislav Petkov's avatar
    x86, microcode: Drop uci->mc check on resume path · bb9d3e47
    Borislav Petkov authored Aug 03, 2012
    
    
    Remove the uci->mc check on the cpu resume path because the low-level
    drivers do that anyway.
    
    More importantly, though, this fixes a contrived and obscure but still
    important case. Imagine the following:
    
    * boot machine, no new microcode in /lib/firmware
    
    * a subset of the CPUs is offlined
    
    * in the meantime, user puts new fresh microcode container into
    /lib/firmware and reloads it by doing
    $ echo 1 > /sys/devices/system/cpu/microcode/reload
    
    * offlined cores come back online and they don't get the newer microcode
    applied due to this check.
    
    Later patches take care of the issue on AMD.
    
    While at it, cleanup code around it.
    
    Signed-off-by: default avatarBorislav Petkov <borislav.petkov@amd.com>
    Link: http://lkml.kernel.org/r/1344361461-10076-4-git-send-email-bp@amd64.org
    
    
    Signed-off-by: default avatarH. Peter Anvin <hpa@linux.intel.com>
    bb9d3e47
GitLab Nexedi Edition | About GitLab | About Nexedi | 沪ICP备2021021310号-2 | 沪ICP备2021021310号-7