diff options
author | Jithu Joseph <jithu.joseph@intel.com> | 2022-05-06 15:53:59 -0700 |
---|---|---|
committer | Hans de Goede <hdegoede@redhat.com> | 2022-05-12 15:35:29 +0200 |
commit | d3287fb0d3c8afdfd4870a6cd4a852abc9008b3b (patch) | |
tree | 473713fa942687c2d2126f0b1035f59e5509b559 /arch/openrisc/lib | |
parent | 33e21e56243eb56d06530b07bcadc24ad02001f1 (diff) | |
download | linux-d3287fb0d3c8afdfd4870a6cd4a852abc9008b3b.tar.gz linux-d3287fb0d3c8afdfd4870a6cd4a852abc9008b3b.tar.bz2 linux-d3287fb0d3c8afdfd4870a6cd4a852abc9008b3b.zip |
x86/microcode/intel: Expose collect_cpu_info_early() for IFS
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: Dan Williams <dan.j.williams@intel.com>
Signed-off-by: Jithu Joseph <jithu.joseph@intel.com>
Co-developed-by: Tony Luck <tony.luck@intel.com>
Signed-off-by: Tony Luck <tony.luck@intel.com>
Reviewed-by: Thomas Gleixner <tglx@linutronix.de>
Acked-by: Borislav Petkov <bp@suse.de>
Reviewed-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Link: https://lore.kernel.org/r/20220506225410.1652287-2-tony.luck@intel.com
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Diffstat (limited to 'arch/openrisc/lib')
0 files changed, 0 insertions, 0 deletions