platform/x86/intel/ifs: Remove image loading during init
mainline inclusion from mainline-v6.2-rc1 commit a4c30fa4 category: feature feature: Backport Intel In Field Scan(IFS) multi-blob images support bugzilla: https://gitee.com/openeuler/intel-kernel/issues/I6L337 CVE: N/A Reference: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/ commit/?id=a4c30fa4 Intel-SIG: commit a4c30fa4 ("platform/x86/intel/ifs: Remove image loading during init") ------------------------------------- platform/x86/intel/ifs: Remove image loading during init IFS test image is unnecessarily loaded during driver initialization. Drop image loading during ifs_init() and improve module load time. With this change, user has to load one when starting the tests. As a consequence, make ifs_sem static as it is only used within sysfs.c Suggested-by:Hans de Goede <hdegoede@redhat.com> Signed-off-by:
Jithu Joseph <jithu.joseph@intel.com> Signed-off-by:
Borislav Petkov <bp@suse.de> Reviewed-by:
Tony Luck <tony.luck@intel.com> Reviewed-by:
Sohil Mehta <sohil.mehta@intel.com> Reviewed-by:
Hans de Goede <hdegoede@redhat.com> Link: https://lore.kernel.org/r/20221117035935.4136738-4-jithu.joseph@intel.com Signed-off-by:
Aichun Shi <aichun.shi@intel.com>
Loading
Please sign in to comment