On Thu, Apr 28 2022 at 08:38, Tony Luck wrote: > From: Jithu Joseph <jithu.joseph@xxxxxxxxx> > > 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@xxxxxxxxx> > Signed-off-by: Jithu Joseph <jithu.joseph@xxxxxxxxx> > Co-developed-by: Tony Luck <tony.luck@xxxxxxxxx> > Signed-off-by: Tony Luck <tony.luck@xxxxxxxxx> Reviewed-by: Thomas Gleixner <tglx@xxxxxxxxxxxxx>