stop_machine: Add stop_core_cpuslocked() for per-core operations
mainline inclusion from mainline-v5.19-rc1 commit 2760f5a4 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=2760f5a4 Intel-SIG: commit 2760f5a4 ("stop_machine: Add stop_core_cpuslocked() for per-core operations") ------------------------------------- stop_machine: Add stop_core_cpuslocked() for per-core operations Hardware core level testing features require near simultaneous execution of WRMSR instructions on all threads of a core to initiate a test. Provide a customized cut down version of stop_machine_cpuslocked() that just operates on the threads of a single core. Suggested-by:Thomas Gleixner <tglx@linutronix.de> Signed-off-by:
Peter Zijlstra (Intel) <peterz@infradead.org> Signed-off-by:
Tony Luck <tony.luck@intel.com> Reviewed-by:
Thomas Gleixner <tglx@linutronix.de> Link: https://lore.kernel.org/r/20220506225410.1652287-4-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