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
  • Jithu Joseph's avatar
    x86/microcode/intel: Expose collect_cpu_info_early() for IFS · d3287fb0
    Jithu Joseph authored May 06, 2022
    
    
    IFS is a CPU feature that allows a binary blob, similar to microcode,
    to be loaded and consumed to perform low level validation of CPU
    circuitry. In fact, it carries the same Processor Signature
    (family/model/stepping) details that are contained in Intel microcode
    blobs.
    
    In support of an IFS driver to trigger loading, validation, and running
    of these tests blobs, make the functionality of cpu_signatures_match()
    and collect_cpu_info_early() available outside of the microcode driver.
    
    Add an "intel_" prefix and drop the "_early" suffix from
    collect_cpu_info_early() and EXPORT_SYMBOL_GPL() it. Add
    declaration to x86 <asm/cpu.h>
    
    Make cpu_signatures_match() an inline function in x86 <asm/cpu.h>,
    and also give it an "intel_" prefix.
    
    No functional change intended.
    
    Reviewed-by: default avatarDan Williams <dan.j.williams@intel.com>
    Signed-off-by: default avatarJithu Joseph <jithu.joseph@intel.com>
    Co-developed-by: default avatarTony Luck <tony.luck@intel.com>
    Signed-off-by: default avatarTony Luck <tony.luck@intel.com>
    Reviewed-by: default avatarThomas Gleixner <tglx@linutronix.de>
    Acked-by: default avatarBorislav Petkov <bp@suse.de>
    Reviewed-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
    Link: https://lore.kernel.org/r/20220506225410.1652287-2-tony.luck@intel.com
    
    
    Signed-off-by: default avatarHans de Goede <hdegoede@redhat.com>
    d3287fb0
GitLab Nexedi Edition | About GitLab | About Nexedi | 沪ICP备2021021310号-2 | 沪ICP备2021021310号-7