platform/x86/intel/ifs: Read IFS firmware image
Driver probe routine allocates structure to communicate status and parameters between functions in the driver. Also call load_ifs_binary() to load the scan image file. There is a separate scan image file for each processor family, model, stepping combination. This is read from the static path: /lib/firmware/intel/ifs/{ff-mm-ss}.scan Step 1 in loading is to generate the correct path and use request_firmware_direct() to load into memory. Subsequent patches will use the IFS MSR interfaces to copy the image to BIOS reserved memory and validate the SHA256 checksums. 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> Acked-by:
Hans de Goede <hdegoede@redhat.com> Reviewed-by:
Greg Kroah-Hartman <gregkh@linuxfoundation.org> Reviewed-by:
Thomas Gleixner <tglx@linutronix.de> Link: https://lore.kernel.org/r/20220506225410.1652287-6-tony.luck@intel.comSigned-off-by:
Hans de Goede <hdegoede@redhat.com>
Showing
Please register or sign in to comment