platform/x86/intel/ifs: Add scan test support
mainline inclusion from mainline-v5.19-rc1 commit 2b40e654 category: feature feature: Intel In Filed Scan(IFS) bugzilla: https://gitee.com/openeuler/intel-kernel/issues/I651S7 CVE: N/A Reference: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/ commit/?id=2b40e654 Intel-SIG: commit 2b40e654 ("platform/x86/intel/ifs: Add scan test support") ------------------------------------- platform/x86/intel/ifs: Add scan test support In a core, the scan engine is shared between sibling cpus. When a Scan test (for a particular core) is triggered by the user, the scan chunks are executed on all the threads on the core using stop_core_cpuslocked. Scan may be aborted by some reasons. Scan test will be aborted in certain circumstances such as when interrupt occurred or cpu does not have enough power budget for scan. In this case, the kernel restart scan from the chunk where it stopped. Scan will also be aborted when the test is failed. In this case, the test is immediately stopped without retry. 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-9-tony.luck@intel.com Signed-off-by:
Hans de Goede <hdegoede@redhat.com> Signed-off-by:
Aichun Shi <aichun.shi@intel.com>
Loading
Please sign in to comment